OGC WaterML 2.0 OGC 10-126r4
Copyright © 2012-2014 Open Geospatial Consortium 79
An example vocabulary that defines a small set of observable properties in a hierarchical form is the SWEET ontology
2
.
10.4.2 resultQuality
It is recommended as per recxsd-timeseries-observationresultQuality that the resultQuality of type DQ_Element not be encoded directly in the XML document but through an xlink:href to the
encoded XML. This allows references to be made to the XML description of these tests if they are available. More granular quality descriptions and qualifiers are supported at the timeseries
level.
10.5 Requirements Class: Timeseries Time-Value Pair interleaved Observation
This requirements class captures the core type of timeseries observation – one with a result of an interleaved time-value pair timeseries. This restriction is defined in the ‘timeseries-tvp-
observation.sch’ Schematron file.
Requirements Class http:www.opengis.netspecwaterml2.0reqxsd-timeseries-tvp-observation
Target Type Data instance
Name Time-value pair interleaved timeseries observation
Dependency
http:www.opengis.netspecOMXML2.0reqobservation
Dependency
http:www.opengis.netspecwaterml2.0requml-timeseries-tvp- observation
Dependency
http:www.opengis.netspecwaterml2.0reqxsd-timeseries-observation
Requirement
reqxsd-timeseries-tvp-observationresult The xml element om:result shall have a value that matches the content model
defined by wml2:Timeseries.
2
http:sweet.jpl.nasa.gov2.2phenHydro.owl
Copyright © 2012-2014 Open Geospatial Consortium 80
10.6 Requirements Class: Measurement time-value pair Timeseries interleaved Observation
Requirements Class http:www.opengis.netspecwaterml2.0reqxsd-measurement-timeseries-tvp-
observation
Target Type Data instance
Name Measurement TVP interleaved timeseries observation
Dependency
http:www.opengis.netspecwaterml2.0requml-measurement-timeseries-tvp- observation
Dependency
http:www.opengis.netspecwaterml2.0reqxsd-timeseries-tvp-observation
Dependency
http:www.opengis.netspecwaterml2.0reqxsd-measurement-timeseries-tvp
Requirement
reqxsd-measurement-timeseries-tvp-observationresult The xml element om:result shall have a value that matches the content model
defined by wml2:MeasurementTimeseries.
The example below shows a measurement timeseries observation with appropriate metadata, phenomenon time, procedure and result elements. The result uses an interleaved timeseries time-value pair encoding which references the example in listing
XML Example 3 for brevity.
om:OM_Observation gml:id
= xsd-timeseries-observation.example
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.comobservationsexample
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:procedure
wml2:ObservationProcess gml:id
= observation-process.1
wml2:processType xlink:href
= http:www.opengis.netdefwaterml2.0processTypeManualMethod
xlink:title =
Manual Collection wml2:processReference
xlink:href =
http:www.example.commanual1.0 xlink:title
= Manual Sampling Regime 1.0
wml2:ObservationProcess om:procedure
... om:result
xlink:href =”xsd-measurement-timeseries-tvp.example”
om:OM_Observation