element name=TemporalObservation type=om:ObservationType substitutionGroup=om:Observation annotation
appinfo sch:pattern name=result must contain a gml:_TimeObject and nothing else
sch:rule context=omx:TemporalObservation sch:assert test=om:resultgml:_TimeObjectgml:_TimeObject must be present as child of
om:resultsch:assert sch:assert test=countom:result = 1only one child may be presentsch:assert
sch:rule sch:pattern
appinfo documentationSpecialized Observation, in which the result is a temporal objectdocumentation
annotation element
-- ====================================================================== -- -- ===== Observation with constant complex result ====== --
-- ====================================================================== -- element name=ComplexObservation type=om:ObservationType substitutionGroup=om:Observation
annotation appinfo
sch:pattern name=result must contain a swe:Record and nothing else sch:rule context=omx:ComplexObservation
sch:assert test=om:resultswe:DataRecordswe:DataRecord must be present as child of om:resultsch:assert
sch:assert test=countom:result = 1only one child may be presentsch:assert sch:rule
sch:pattern appinfo
documentationSpecialized Observation, in which the result is a record representing a multi-component phenomenondocumentation
annotation element
-- ====================================================================== -- schema
3.4 Coverage observation types
Listing 7. and Listing 8. implement the specialized observation types with coverage results described in 6.3.3.3 and Figure 3. The Observation result is constrained to be from
the Discrete Coverages schema OGC 06-188r1.
Listing 7. observationCoverage.xsd
?xml version=1.0 encoding=UTF-8? schema
xmlns=http:www.w3.org2001XMLSchema xmlns:sch=http:purl.oclc.orgdsdlschematron xmlns:xlink=http:www.w3.org1999xlink
xmlns:om=http:www.opengis.netom1.0 xmlns:omx=http:www.opengis.netomx1.0 xmlns:cv=http:www.opengis.netcv0.2.1
targetNamespace=http:www.opengis.netomx1.0 elementFormDefault=qualified attributeFormDefault=unqualified version=1.0.0
annotation appinfo source=urn:ogc:specification:om:doc-is07-022r3:1.0.0
sch:titleSchematron validationsch:title sch:ns prefix=omx uri=http:www.opengis.netomx1.0
sch:ns prefix=om uri=http:www.opengis.netom1.0 sch:ns prefix=cv uri=http:www.opengis.netcv0.2.1
appinfo documentationobservationCoverage.xsd
An implementation of the OandM model for SWE This document contains specializations of the basic observation pattern, fixing the type of the result to be various discrete
coverage types. Copyright c 2008 Open Geospatial Consortium - see http:www.opengeospatial.orgogcsoftwaredocumentation
annotation -- ====================================================================== --
18
Copyright © 2008 OGC – All rights reserved
-- bring in other schemas -- import namespace=http:www.opengis.netcv0.2.1 schemaLocation=http:bp.schemas.opengis.net06-
188r1cv0.2.1cv.xsd import namespace=http:www.opengis.netom1.0 schemaLocation=http:schemas.opengis.netom1.0.0om.xsd
-- ====================================================================== -- -- ====================================================================== --
-- ===== Coverage Observations = sampling a phenomenon that varies on the feature of interest ====== -- -- ====================================================================== --
-- ====================================================================== -- element name=DiscreteCoverageObservation type=om:ObservationType substitutionGroup=om:Observation
annotation appinfo
sch:pattern name=result must contain a cv:CV_DiscreteCoverage and nothing else sch:rule context=omx:DiscreteCoverageObservation
sch:assert test=om:resultcv:CV_DiscreteCoveragecv:CV_DiscreteCoverage must be present as child of om:resultsch:assert
sch:assert test=countom:result = 1only one child may be presentsch:assert sch:rule
sch:pattern appinfo
documentationSpecialized Observation, in which the result is a generalized discrete coveragedocumentation annotation
element -- ====================================================================== --
element name=PointCoverageObservation type=om:ObservationType substitutionGroup=om:Observation annotation
appinfo sch:pattern name=result must contain a cv:CV_DiscretePointCoverage and nothing else
sch:rule context=omx:PointCoverageObservation sch:assert test=om:resultcv:CV_DiscretePointCoveragecv:CV_DiscretePointCoverage must be
present as child of om:resultsch:assert sch:assert test=countom:result = 1only one child may be presentsch:assert
sch:rule sch:pattern
appinfo documentationSpecialized Observation, in which the result is a point coverage which samples a property at
points in the feature of interestdocumentation annotation
element -- ====================================================================== --
element name=TimeSeriesObservation type=om:ObservationType substitutionGroup=om:Observation annotation
appinfo sch:pattern name=result must contain a cv:CV_DiscreteTimeInstantCoverage and nothing else
sch:rule context=omx:TimeSeriesObservation sch:assert test=om:resultcv:CV_DiscreteTimeInstantCoveragecv:CV_DiscreteTimeInstantCoverage
must be present as child of om:resultsch:assert sch:assert test=countom:result = 1only one child may be presentsch:assert
sch:rule sch:pattern
appinfo documentationSpecialized Observation, in which the result is a time-instant coverage which samples a property
of the feature of interest at different timesdocumentation annotation
element -- ====================================================================== --
element name=ElementCoverageObservation type=om:ObservationType substitutionGroup=om:Observation
annotation appinfo
sch:pattern name=result must contain a cv:CV_DiscreteElementCoverage and nothing else sch:rule context=omx:ElementCoverageObservation
sch:assert test=om:resultcv:CV_DiscreteElementCoveragecv:CV_DiscreteElementCoverage must be present as child of om:resultsch:assert
sch:assert test=countom:result = 1only one child may be presentsch:assert sch:rule
sch:pattern appinfo
documentationSpecialized Observation, in which the result is a coverage whose domain elements contain references to objects encoded elsewhere, which provide the sampling geometry of the feature of
interestdocumentation annotation
element
Copyright © 2007 OGC – All rights reserved
19
-- ====================================================================== -- schema
Listing 8. observationCoverageCompact.xsd
?xml version=1.0 encoding=UTF-8? schema
xmlns=http:www.w3.org2001XMLSchema xmlns:sch=http:purl.oclc.orgdsdlschematron
xmlns:om=http:www.opengis.netom1.0 xmlns:omx=http:www.opengis.netomx1.0
xmlns:cv=http:www.opengis.netcv0.2.1 targetNamespace=http:www.opengis.netomx1.0
elementFormDefault=qualified attributeFormDefault=unqualified version=1.0.0 annotation
appinfo source=urn:ogc:specification:om:doc-is07-022r3:1.0.0 sch:titleSchematron validationsch:title
sch:ns prefix=omx uri=http:www.opengis.netomx1.0 sch:ns prefix=om uri=http:www.opengis.netom1.0
sch:ns prefix=cv uri=http:www.opengis.netcv0.2.1 appinfo
documentationobservationCoverageCompact.xsd
An implementation of the OandM model for SWE This document contains specializations of the basic observation pattern, fixing the type of the result to be various discrete
coverage types compact version. Copyright c 2007 Open Geospatial Consortium - see http:www.opengeospatial.orgogcsoftwaredocumentation
annotation -- ====================================================================== --
-- bring in other schemas -- import namespace=http:www.opengis.netcv0.2.1 schemaLocation=http:bp.schemas.opengis.net06-
188r1cv0.2.1cv.xsd import namespace=http:www.opengis.netom1.0 schemaLocation=http:schemas.opengis.netom1.0.0om.xsd
-- ====================================================================== -- -- ====================================================================== --
-- === Compact coverage observations = implement the geometry element in the result in compact form === -- -- ====================================================================== --
element name=DiscreteCoverageObs type=om:ObservationType substitutionGroup=om:Observation annotation
appinfo sch:pattern name=result must contain a cv:CompactDiscreteCoverage and nothing else
sch:rule context=omx:DiscreteCoverageObs sch:assert test=om:resultcv:CompactDiscreteCoveragecv:CompactDiscreteCoverage must be
present as child of om:resultsch:assert sch:assert test=countom:result = 1only one child may be presentsch:assert
sch:rule sch:pattern
appinfo documentationSpecialized Observation, in which the result is a compact representation of a generalized
discrete coveragedocumentation annotation
element -- ====================================================================== --
element name=PointCoverageObs type=om:ObservationType substitutionGroup=om:Observation annotation
appinfo sch:pattern name=result must contain a cv:CompactDiscretePointCoverage and nothing else
sch:rule context=omx:PointCoverageObs sch:assert test=om:resultcv:CompactDiscretePointCoveragecv:CompactDiscretePointCoverage must
be present as child of om:resultsch:assert sch:assert test=countom:result = 1only one child may be presentsch:assert
sch:rule sch:pattern
appinfo documentationObservation eventdocumentation
annotation element
-- ====================================================================== -- element name=TimeSeriesObs type=om:ObservationType substitutionGroup=om:Observation
20
Copyright © 2008 OGC – All rights reserved
annotation appinfo
sch:pattern name=result must contain a cv:CompactDiscreteTimeCoverage and nothing else sch:rule context=omx:TimeSeriesObs
sch:assert test=om:resultcv:CompactDiscreteTimeCoveragecv:CompactDiscreteTimeCoverage must be present as child of om:resultsch:assert
sch:assert test=countom:result = 1only one child may be presentsch:assert sch:rule
sch:pattern appinfo
documentationSpecialized Observation, in which the result is a compact representation of a time-instant coverage which samples a property of the feature of interest at different timesdocumentation
annotation element
-- ====================================================================== -- schema
3.5 Observation processes