Class GlobalValidation

java.lang.Object
org.opengis.cite.citygml30part2.CommonFixture
org.opengis.cite.citygml30part2.global.GlobalValidation

public class GlobalValidation extends CommonFixture
  • Field Details

  • Constructor Details

    • GlobalValidation

      public GlobalValidation()
  • Method Details

    • VerifyCityGMLInstanceDoc

      public void VerifyCityGMLInstanceDoc() throws Exception
      Verify that XML instance documents claiming conformance to this specification validate against the XML schema files.
      Throws:
      Exception
    • VerifyGlobalReferencingGeometries1

      public void VerifyGlobalReferencingGeometries1() throws Exception
      Verify that XLinks are not used to reference geometries, except for geometries of ImplicitGeometry elements, from another top-level feature.
      Throws:
      Exception
    • VerifyGlobalReferencingGeometries2

      public void VerifyGlobalReferencingGeometries2() throws XPathExpressionException
      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.