Skip to content

R_GE_R_NOT_CLOSED#

Requirement#

ID R_GE_R_NOT_CLOSED
Description In GML the first and last point must be the same.
Parameter minVertexDistance Points can be considered the same despite (small) distances, see Vertex Requirement
Error code GE_R_NOT_CLOSED

For example this ring is erroneous:

<gml:LinearRing>
<gml:pos>0.0 0.0 0.0</gml:pos>
<gml:pos>1.0 0.0 0.0</gml:pos>  
<gml:pos>1.0 1.0 0.0</gml:pos>
<gml:pos>0.0 1.0 0.0</gml:pos>
</gml:LinearRing>

OK with parameter minVertexDistance = 0.1:

<gml:LinearRing>
<gml:pos>0.0 0.0 0.0</gml:pos>
<gml:pos>1.0 0.0 0.0</gml:pos>  
<gml:pos>1.0 1.0 0.0</gml:pos>
<gml:pos>0.0 1.0 0.0</gml:pos>
<gml:pos>0.0 0.0 0.05</gml:pos>
</gml:LinearRing>

Check#

ID C_GE_R_NOT_CLOSED
Requirement ID R_GE_R_NOT_CLOSED
Preconditions R_SC_SCHEMA_VALIDATION
Description The first and last point within a ring should be the same.
Error code GE_R_NOT_CLOSED

Test cases#

Test case ID CityGML model Expected result
GE-gml:LR-0003-T0001 SimpleSolid_SrefBS.gml OK
GE-gml:LR-0003-T0002 SimpleSolid_SrefBS-GE-gml-LR-0003-T0001.gml GE_R_NOT_CLOSED
GE-gml:LR-0003-T0003 SimpleSolid_SrefBS-GE-gml-LR-0003-T0002.gml OK with parameter minVertexDistance = 0.1