INSPIRE Thematic Clusters

Spatial Features and ISO19136 Geometry Requirements

38 Views

Hi,

we've been getting some interesting error messages on the eENVplus Validator - "The property value "http://www.opengis.net/gml/3.2":AbstractGeometry cannot substitute for "http://www.opengis.net/gml/3.2":AbstractGeometry in {http://www.opengis.net/samplingSpatial/2.0}shapeType. "

Pertains to the AQD schema hosted at the EEA:

http://dd.eionet.europa.eu/schemas/id2011850eu-1.0/AirQualityReporting.xsd

Stefania has analysed it and found the reason:

Reason is that, according to ISO19136, “a geometry type must be declared as a global element that can substitute for gml:AbstractGeometry”. So the validator tests that” the value of a geometry property is an element substitutable for gml:AbstractGeometry. Geometry properties may be defined explicitly (based on a pre-defined GML geometry property type) or implicitly by mimicking the property type content model”.

Sources

  • ISO 19136:2007, A.1.1.10: Spatial geometry properties
  • ISO 19136:2007, cl. 9.5: Geometry Properties
  • ISO 19136:2007, cl. 21.4.2.2: User-defined Geometry Property Types

That said, the http://schemas.opengis.net/samplingSpatial/2.0/spatialSamplingFeature.xsd validates successfully, so the issue is related to the way the http://schemas.opengis.net/samplingSpatial/2.0/spatialSamplingFeature.xsd is used not to the original xsd.

Question is what do we do about this?

:?

Kathi

Environmental Monitoring and Observations Cluster

Environmental Monitoring and Observations Cluster

Environmental Monitoring Facilities, Observations and Measurements