@mangosystem/ogc-schemas
Version:
Jsonix XML-JSON mappings for OGC Schemas.
67 lines (63 loc) • 2.63 kB
text/xml
<wml2:MeasurementTimeseries xmlns:wml2="http://www.opengis.net/waterml/2.0"
xmlns:gml="http://www.opengis.net/gml/3.2"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:swe="http://www.opengis.net/swe/2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/waterml/2.0
http://schemas.opengis.net/waterml/2.0/waterml2.xsd" gml:id="ts_id33">
<gml:description>This is an example showing a measure time series in waterml2.0.
The series uses the measure-specific metadata types. </gml:description>
<wml2:metadata>
<wml2:MeasurementTimeseriesMetadata>
<wml2:temporalExtent>
<gml:TimePeriod gml:id="tp_1">
<gml:beginPosition>2011-11-16T00:00:00+11:00</gml:beginPosition>
<gml:endPosition>2011-04-08T00:00:00+11:00</gml:endPosition>
</gml:TimePeriod>
</wml2:temporalExtent>
<wml2:cumulative>false</wml2:cumulative>
</wml2:MeasurementTimeseriesMetadata>
</wml2:metadata>
<wml2:defaultPointMetadata>
<wml2:DefaultTVPMeasurementMetadata>
<wml2:quality xlink:href="http://www.opengis.net/def/waterml/2.0/quality/suspect"
xlink:title="suspect"/>
<wml2:uom code="m"/>
<wml2:interpolationType xlink:href="http://www.opengis.net/def/waterml/2.0/interpolationType/Continuous"
xlink:title="continuous"/>
</wml2:DefaultTVPMeasurementMetadata>
</wml2:defaultPointMetadata>
<wml2:point>
<wml2:MeasurementTVP>
<wml2:time>2011-11-16T00:00:00+11:00</wml2:time>
<wml2:value>2.0</wml2:value>
<wml2:metadata>
<wml2:TVPMeasurementMetadata>
<wml2:quality xlink:href="http://www.opengis.net/def/waterml/2.0/quality/suspect"
xlink:title="suspect"/>
<wml2:interpolationType/>
<wml2:accuracy>
<swe:Quantity definition="http://sweet.jpl.nasa.gov/2.0/sciUncertainty.owl#Accuracy">
<swe:label>Relative Accuracy</swe:label>
<swe:uom code="%"/>
<swe:value>2</swe:value>
</swe:Quantity>
</wml2:accuracy>
</wml2:TVPMeasurementMetadata>
</wml2:metadata>
</wml2:MeasurementTVP>
</wml2:point>
<wml2:point>
<wml2:MeasurementTVP>
<wml2:time>2011-11-17T00:00:00+11:00</wml2:time>
<wml2:value>2.0</wml2:value>
</wml2:MeasurementTVP>
</wml2:point>
<wml2:point>
<wml2:MeasurementTVP>
<wml2:time>2011-11-18T00:00:00+11:00</wml2:time>
<wml2:value>3.0</wml2:value>
</wml2:MeasurementTVP>
</wml2:point>
</wml2:MeasurementTimeseries>