Point Examples:
  • Minimal
  • Local Dictionary
<wml2:point 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"
    >
    <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/quality/suspect" 
                    xlink:title="suspect"/>
                <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:localDictionary  >
    <gml:Dictionary gml:id="censorCode">
        <!--8.6.4 Data quality. Mapping needed-->
        <gml:identifier codeSpace="http://www.cuahsi.org/waterml2/dictionaries/">censorCode</gml:identifier>
        <gml:dictionaryEntry>
            <gml:Definition gml:id="censorCode-lt">
                <gml:identifier codeSpace="http://hiscentral.cuahsi.org/wml/censored">lt</gml:identifier>
                <gml:name codeSpace="http://hiscentral.cuahsi.org/wml/censored">less than</gml:name>
            </gml:Definition>
        </gml:dictionaryEntry>
        <gml:dictionaryEntry>
            <gml:Definition gml:id="censorCode-nc">
                <gml:identifier codeSpace="http://hiscentral.cuahsi.org/wml/censored">nc</gml:identifier>
                <gml:name codeSpace="http://hiscentral.cuahsi.org/wml/censored">not censored</gml:name>
            </gml:Definition>
        </gml:dictionaryEntry>
    </gml:Dictionary>
</wml2:localDictionary>
<wml2:localDictionary>
    <gml:Dictionary gml:id="method">
        <gml:identifier codeSpace="http://www.cuahsi.org/waterml2/dictionaries/">method</gml:identifier>
        <gml:dictionaryEntry>
            <gml:Definition gml:id="methodCode-LittleBearRiver-25">
                <gml:identifier codeSpace="http://hiscentral.cuahsi.org/wml/method">LittleBearRiver-25</gml:identifier>
                <gml:name codeSpace="http://hiscentral.cuahsi.org/wml/method">Water chemistry grab sample collected by technicians in the field.</gml:name>
            </gml:Definition>
        </gml:dictionaryEntry>
    </gml:Dictionary>
</wml2:localDictionary>

<!-- nip -->

<wml2:defaultPointMetadata>
    <wml2:DefaultTVPMeasurementMetadata>
        <wml2:qualifier>
            <swe:Text definition="#methodCode-LittleBearRiver-25">
                <swe:value>Water chemistry grab sample collected by technicians in the field.</swe:value>
            </swe:Text>
        </wml2:qualifier>
        <wml2:uom uom="mg/L" />
        <!--8.6.5 Data type mapping to
                                            InterpolationType-->
        <wml2:interpolationType xlink:href="http://www.opengis.net/def/timeseriesType/WaterML/2.0/Discontinuous" xlink:title=" Discontinuous " />
    </wml2:DefaultTVPMeasurementMetadata>
</wml2:defaultPointMetadata>

<wml2:point>
    <wml2:MeasurementTVP>
        <wml2:time>2005-10-27T21:30:00-07:00</wml2:time>
        <wml2:value>0.02</wml2:value>
        <wml2:metadata>
            <wml2:TVPMeasurementMetadata>
                
                 
                <!--link not functional.
                                                  relatedObservation for sample CEAP102805-PAR-F-->
                <wml2:relatedObservation>
                    <om:ObservationContext>
                        <om:role xlink:href="http://www.opengis.net/def/relatedObservation/WaterML/2.0/analyticalSample" xlink:title="Analytical Sample Observation" />
                        <om:relatedObservation xlink:href="http://example.com/wqx/CEAP102805-PAR-F" xlink:title="LabCode:CEAP102805-PAR-F" />
                    </om:ObservationContext>
                </wml2:relatedObservation>
                
                <wml2:censoredReason xlink:href="#censorCode-lt" />
                
            </wml2:TVPMeasurementMetadata>
        </wml2:metadata>
    </wml2:MeasurementTVP>
</wml2:point>

-- DavidValentine - 26 Jun 2012
Topic revision: r1 - 26 Jun 2012, DavidValentine
This site is powered by FoswikiThe information you supply is used for OGC purposes only. We will never pass your contact details to any third party without your prior consent.
If you enter content here you are agreeing to the OGC privacy policy.

Copyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding OGC Public Wiki? Send feedback