Skip to content

R_GE_R_COLLAPSED_TO_LINE#

Requirement#

ID R_GE_R_COLLAPSED_TO_LINE
Description A special case of self-intersection (GE_R_SELF_INTERSECTION): The ring is a line. If the ring represents a point, then the requirements GE_R_TOO_FEW_POINTS / GE_R_CONSECUTIVE_POINTS_SAME check whether this is an error.
Error code GE_R_SELF_INTERSECTION, GE_R_COLLAPSED_TO_LINE, GE_R_TOO_FEW_POINTS, GE_R_CONSECUTIVE_POINTS_SAME

Check#

ID C_GE_R_COLLAPSED_TO_LINE
Requirement ID R_GE_R_COLLAPSED_TO_LINE
Preconditions R_SC_SCHEMA_VALIDATION, R_GE_R_TOO_FEW_POINTS, R_GE_R_CONSECUTIVE_POINTS_SAME, R_GE_R_NOT_CLOSED
Description Ring as a point cannot happen, due to the preconditions.
Error code GE_R_COLLAPSED_TO_LINE

The requirement is fulfilled by R_GE_R_TOO_FEW_POINTS, R_GE_R_CONSECUTIVE_POINTS_SAME, R_GE_R_NOT_CLOSED and R_GE_R_SELF_INTERSECTION and therefore requires no separate implementation.

Test cases#

Test case ID CityGML model Expected result
GE-gml:LR-0005-T0001 GE-gml:LR-0005-T0001.gml GE_R_SELF_INTERSECTION