@mangosystem/ogc-schemas
Version:
Jsonix XML-JSON mappings for OGC Schemas.
36 lines (35 loc) • 1.53 kB
text/xml
<wml2:MeasurementTimeseries gml:id="xsd-encoding-rules.example"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml/3.2"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:wml2="http://www.opengis.net/waterml/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-encoding-rules</gml:description>
<wml2:metadata>
<wml2:MeasurementTimeseriesMetadata>
<wml2:temporalExtent>
<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>
</wml2:temporalExtent>
</wml2:MeasurementTimeseriesMetadata>
</wml2:metadata>
<wml2:defaultPointMetadata>
<wml2:DefaultTVPMeasurementMetadata>
<wml2:uom code="m"/>
</wml2:DefaultTVPMeasurementMetadata>
</wml2:defaultPointMetadata>
<wml2:point>
<wml2:MeasurementTVP>
<wml2:time>2011-11-21T12:27:00+10:00</wml2:time>
<wml2:value>3.45</wml2:value>
<wml2:metadata>
<wml2:TVPMeasurementMetadata>
<wml2:interpolationType
xlink:href="http://www.opengis.net/def/waterml/2.0/interpolationType/Continuous"
xlink:title="Instantaneous"/>
</wml2:TVPMeasurementMetadata>
</wml2:metadata>
</wml2:MeasurementTVP>
</wml2:point>
</wml2:MeasurementTimeseries>