@mangosystem/ogc-schemas
Version:
Jsonix XML-JSON mappings for OGC Schemas.
161 lines (160 loc) • 6.69 kB
text/xml
<wml2:Collection gml:id="KI.Col.1" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:wml2="http://www.opengis.net/waterml/2.0" xmlns:om="http://www.opengis.net/om/2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sa="http://www.opengis.net/sampling/2.0" xmlns:sams="http://www.opengis.net/samplingSpatial/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" xmlns:gco="http://www.isotc211.org/2005/gco">
<gml:description>KISTERS WaterML2.0 demonstration based on GRDC data</gml:description>
<wml2:metadata>
<wml2:DocumentMetadata gml:id="Ki.DMD.1">
<wml2:generationDate>2011-10-19T00:00:00Z</wml2:generationDate>
<wml2:generationSystem>KISTERS KiWIS</wml2:generationSystem>
</wml2:DocumentMetadata>
</wml2:metadata>
<wml2:observationMember>
<om:OM_Observation gml:id="Ki.Obs.1">
<om:phenomenonTime>
<gml:TimePeriod gml:id="Ki.Wml2.pTime.1">
<gml:beginPosition>2000-01-01T00:00:00Z</gml:beginPosition>
<gml:endPosition>2000-01-10T00:00:00Z</gml:endPosition>
</gml:TimePeriod>
</om:phenomenonTime>
<om:resultTime>
<gml:TimeInstant gml:id="Ki.Wml2.rTime.1">
<gml:timePosition>2000-01-10T00:00:00Z</gml:timePosition>
</gml:TimeInstant>
</om:resultTime>
<om:procedure> <!-- This can also be a simple href/title procedure without detailled data -->
<wml2:ObservationProcess gml:id="Ki.Proc.1">
<wml2:processType xlink:href="http://www.opengis.net/def/waterml/2.0/processType/Algorithm" xlink:title="Algorithm"/>
<wml2:aggregationDuration>P1D</wml2:aggregationDuration>
</wml2:ObservationProcess>
</om:procedure>
<om:observedProperty xlink:href="http://kiwis.kisters.de/parameters/Q" xlink:title="Discharge"/>
<om:featureOfInterest>
<wml2:MonitoringPoint gml:id="Ki.Sta.6731310">
<gml:identifier codeSpace="http://kiwis.kisters.de/datasource/0/stations">6731310</gml:identifier>
<sa:sampledFeature xlink:href="http://kiwis.kisters.de/datasource/0/sampledFeatures/3670" xlink:title="Dramselva"/>
<sa:parameter>
<om:NamedValue>
<om:name xlink:href="http://kiwis.kisters.de/definitions/catchment" xlink:title="Catchment"/>
<om:value>
<gco:CharacterString>Dramselv</gco:CharacterString>
</om:value>
</om:NamedValue>
</sa:parameter>
<sa:parameter>
<om:NamedValue>
<om:name xlink:href="http://kiwis.kisters.de/definitions/site" xlink:title="Site"/>
<om:value>
<gco:CharacterString>Norway</gco:CharacterString>
</om:value>
</om:NamedValue>
</sa:parameter>
<sa:parameter>
<om:NamedValue>
<om:name xlink:href="http://kiwis.kisters.de/definitions/site_no" xlink:title="Site Number"/>
<om:value>
<gco:CharacterString>NO</gco:CharacterString>
</om:value>
</om:NamedValue>
</sa:parameter>
<sa:parameter>
<om:NamedValue>
<om:name xlink:href="http://kiwis.kisters.de/definitions/provider" xlink:title="Provider"/>
<om:value>
<gco:CharacterString>Norwegian Water Resources and Energy Directorate</gco:CharacterString>
</om:value>
</om:NamedValue>
</sa:parameter>
<sams:shape>
<gml:Point gml:id="Ki.Loc.6731310">
<gml:pos srsName="EPSG:4326">9.908 59.881</gml:pos>
</gml:Point>
</sams:shape>
<wml2:monitoringType xlink:href="http://kiwis.kisters.de/definitions/surfaceWater" xlink:title="Surface Water"/>
<wml2:descriptionReference xlink:href="http://kiwis.kisters.de/datasource/0/stations/6731310" xlink:title="DOVIKFOSS"/>
<wml2:timeZone>
<wml2:TimeZone>
<wml2:zoneOffset>+1</wml2:zoneOffset>
</wml2:TimeZone>
</wml2:timeZone>
</wml2:MonitoringPoint>
</om:featureOfInterest>
<om:result>
<wml2:MeasurementTimeseries gml:id="Ki.Ts.1">
<wml2:metadata>
<wml2:MeasurementTimeseriesMetadata>
<wml2:temporalExtent xlink:href="#Ki.Wml2.pTime.1"/>
<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/good" xlink:title="Good"/>
<wml2:uom code="m3/s"/>
<wml2:interpolationType xlink:href="http://www.opengis.net/def/waterml/2.0/interpolationType/AveragePrec" xlink:title="Average In Preceeding Interval"/>
<wml2:aggregationDuration>P1D</wml2:aggregationDuration>
</wml2:DefaultTVPMeasurementMetadata>
</wml2:defaultPointMetadata>
<wml2:point>
<wml2:MeasurementTVP>
<wml2:time>2000-01-01T00:00:00.000Z</wml2:time>
<wml2:value>266</wml2:value>
</wml2:MeasurementTVP>
</wml2:point>
<wml2:point>
<wml2:MeasurementTVP>
<wml2:time>2000-01-02T00:00:00.000Z</wml2:time>
<wml2:value>266</wml2:value>
</wml2:MeasurementTVP>
</wml2:point>
<wml2:point>
<wml2:MeasurementTVP>
<wml2:time>2000-01-03T00:00:00.000Z</wml2:time>
<wml2:value>255</wml2:value>
</wml2:MeasurementTVP>
</wml2:point>
<wml2:point>
<wml2:MeasurementTVP>
<wml2:time>2000-01-04T00:00:00.000Z</wml2:time>
<wml2:value>266</wml2:value>
</wml2:MeasurementTVP>
</wml2:point>
<wml2:point>
<wml2:MeasurementTVP>
<wml2:time>2000-01-05T00:00:00.000Z</wml2:time>
<wml2:value>258</wml2:value>
</wml2:MeasurementTVP>
</wml2:point>
<wml2:point>
<wml2:MeasurementTVP>
<wml2:time>2000-01-06T00:00:00.000Z</wml2:time>
<wml2:value>265</wml2:value>
</wml2:MeasurementTVP>
</wml2:point>
<wml2:point>
<wml2:MeasurementTVP>
<wml2:time>2000-01-07T00:00:00.000Z</wml2:time>
<wml2:value>268</wml2:value>
</wml2:MeasurementTVP>
</wml2:point>
<wml2:point>
<wml2:MeasurementTVP>
<wml2:time>2000-01-08T00:00:00.000Z</wml2:time>
<wml2:value>275</wml2:value>
</wml2:MeasurementTVP>
</wml2:point>
<wml2:point>
<wml2:MeasurementTVP>
<wml2:time>2000-01-09T00:00:00.000Z</wml2:time>
<wml2:value>275</wml2:value>
</wml2:MeasurementTVP>
</wml2:point>
<wml2:point>
<wml2:MeasurementTVP>
<wml2:time>2000-01-10T00:00:00.000Z</wml2:time>
<wml2:value>275</wml2:value>
</wml2:MeasurementTVP>
</wml2:point>
</wml2:MeasurementTimeseries>
</om:result>
</om:OM_Observation>
</wml2:observationMember>
</wml2:Collection>