@mangosystem/ogc-schemas
Version:
Jsonix XML-JSON mappings for OGC Schemas.
82 lines (79 loc) • 3.42 kB
text/xml
<om:OM_Observation gml:id="xsd-timeseries-observation.example"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml/3.2"
xmlns:om="http://www.opengis.net/om/2.0" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:wml2="http://www.opengis.net/waterml/2.0" xmlns:gmd="http://www.isotc211.org/2005/gmd"
xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:swe="http://www.opengis.net/swe/2.0"
xsi:schemaLocation="http://www.opengis.net/waterml/2.0 http://schemas.opengis.net/waterml/2.0/waterml2.xsd">
<gml:description>Example timeseries for XML encoding http://www.opengis.net/spec/waterml/2.0/req/xsd-timeseries-observation</gml:description>
<om:metadata>
<wml2:ObservationMetadata>
<gmd:contact xlink:href="http://www.example.com" xlink:title="Example Pty Ltd"/>
<gmd:dateStamp>
<gco:DateTime>2011-11-21T12:30:00+10:00</gco:DateTime>
</gmd:dateStamp>
<gmd:identificationInfo xlink:href="http://www.example.com/observations/example"
xlink:title="Example Observation"/>
</wml2:ObservationMetadata>
</om:metadata>
<om:phenomenonTime>
<gml:TimePeriod gml:id="time-period.1">
<gml:beginPosition>2011-11-21T12:26:00+10:00</gml:beginPosition>
<gml:endPosition>2011-11-21T12:27:00+10:00</gml:endPosition>
</gml:TimePeriod>
</om:phenomenonTime>
<om:resultTime>
<gml:TimeInstant gml:id="time-instant.1">
<gml:timePosition>2011-11-21T12:27:00+10:00</gml:timePosition>
</gml:TimeInstant>
</om:resultTime>
<om:procedure>
<wml2:ObservationProcess gml:id="observation-process.1">
<wml2:processType
xlink:href="http://www.opengis.net/def/waterml/2.0/processType/Algorithm"
xlink:title="Algorithmic Process"/>
<wml2:processReference xlink:href="http://www.example.com/algorithms/sample_quality/1.5"
xlink:title="Sample Quality Evaluation 1.5"/>
</wml2:ObservationProcess>
</om:procedure>
<om:observedProperty xlink:href="http://sweet.jpl.nasa.gov/2.3/propOrdinal.owl#Quality"
xlink:title="Quality"/>
<om:featureOfInterest xlink:href="http://www.example.com/foi/E12" xlink:title="Extent 12"/>
<om:result>
<wml2:CategoricalTimeseries gml:id="timeseries.1">
<wml2:metadata>
<wml2:TimeseriesMetadata>
<wml2:temporalExtent>
<gml:TimePeriod gml:id="time-period.2">
<gml:beginPosition>2011-11-21T12:26:00+10:00</gml:beginPosition>
<gml:endPosition>2011-11-21T12:27:00+10:00</gml:endPosition>
</gml:TimePeriod>
</wml2:temporalExtent>
</wml2:TimeseriesMetadata>
</wml2:metadata>
<wml2:defaultPointMetadata>
<wml2:DefaultTVPCategoricalMetadata>
<wml2:quality
xlink:href="http://www.opengis.net/def/waterml/2.0/quality/good"
xlink:title="Good"/>
<wml2:codeSpace>http://www.example.com/terms/2.3</wml2:codeSpace>
</wml2:DefaultTVPCategoricalMetadata>
</wml2:defaultPointMetadata>
<wml2:point>
<wml2:CategoricalTVP>
<wml2:time>2011-11-21T12:27:00+10:00</wml2:time>
<wml2:value>
<swe:Category>
<swe:value>Biased</swe:value>
</swe:Category>
</wml2:value>
<wml2:metadata>
<wml2:TVPMetadata>
<wml2:comment>Sensor drift detected</wml2:comment>
</wml2:TVPMetadata>
</wml2:metadata>
</wml2:CategoricalTVP>
</wml2:point>
</wml2:CategoricalTimeseries>
</om:result>
</om:OM_Observation>