Class GlobalValidation
java.lang.Object
org.opengis.cite.citygml30part2.CommonFixture
org.opengis.cite.citygml30part2.global.GlobalValidation
-
Field Summary
FieldsFields inherited from class org.opengis.cite.citygml30part2.CommonFixture
client, request, response, ROOT_PKG_PATH, testSubject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Verify that XML instance documents claiming conformance to this specification validate against the XML schema files.void
For referencing features from alternative aggregations:: Each feature belongs to a natural aggregation hierarchy and SHALL be stored inline this hierarchy.void
Verify that XLinks are not used to reference geometries, except for geometries of ImplicitGeometry elements, from another top-level feature.void
When referencing geometries of spaces and space boundaries, verify that: Geometries stored inline a space boundary are not redundantly stored as geometry of a space.void
Verify that LoDs are self-contained: Geometries are not shared between different LoDs using XLinks.void
When referencing shared geometries between top-level features using CityObjectRelation elements, verify that: If two top-level features share a common geometry, the shared geometry is stored for each top-level feature separately.Methods inherited from class org.opengis.cite.citygml30part2.CommonFixture
clearMessages, getResponseEntityAsDocument, initCommonFixture, TransformXMLDocumentToXMLString
-
Field Details
-
GLOBAL_ENABLE
final boolean GLOBAL_ENABLE- See Also:
-
MODULE_NAME
String MODULE_NAME
-
-
Constructor Details
-
GlobalValidation
public GlobalValidation()
-
-
Method Details
-
VerifyCityGMLInstanceDoc
Verify that XML instance documents claiming conformance to this specification validate against the XML schema files.- Throws:
Exception
-
VerifyGlobalReferencingGeometries1
Verify that XLinks are not used to reference geometries, except for geometries of ImplicitGeometry elements, from another top-level feature.- Throws:
Exception
-
VerifyGlobalReferencingGeometries2
When referencing geometries of spaces and space boundaries, verify that:- Geometries stored inline a space boundary are not redundantly stored as geometry of a space. If the geometry is stored with the space in addition, it references the geometry from the space boundary using XLinks.
- Space boundaries do not reference geometries of a space using XLinks.
- This applies for all spaces and space boundaries that are children of the same top-level feature.
- Throws:
XPathExpressionException
-
VerifyGlobalReferencingGeometries3
public void VerifyGlobalReferencingGeometries3()Verify that LoDs are self-contained: Geometries are not shared between different LoDs using XLinks. -
VerifyGlobalReferencingGeometries4
public void VerifyGlobalReferencingGeometries4()When referencing shared geometries between top-level features using CityObjectRelation elements, verify that:- If two top-level features share a common geometry, the shared geometry is stored for each top-level feature separately.
- If CityObjectRelation elements are used to denote that a geometry is shared between two top-level features, then a CityObjectRelation element is stored for each feature (might be the top-level feature itself or one of its nested features), and each CityObjectRelation element is assigned the relation type “shared” and references the other feature using an XLink. Thus, the reference is bi-directional.
-
VerifyGlobalAlternativeAggregations
public void VerifyGlobalAlternativeAggregations()For referencing features from alternative aggregations::- Each feature belongs to a natural aggregation hierarchy and SHALL be stored inline this hierarchy.
- Alternative aggregations SHALL NOT contain the feature inline but SHALL use an XLink to reference the feature.
-