Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
<?xml version="1.0" ?>
<sos:GetObservation version="2.0.0" service="SOS"
    maxFeatures="3"
    xmlns:sos="http://schemas.opengis.net/sos/2.0.0/"
    xmlns:wfs="http://www.opengis.net/wfs"
    xmlns:ogc="http://www.opengis.net/ogc"
    xmlns:gml="http://www.opengis.net/gml/3.2"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:om="http://www.opengis.net/om/2.0"
    xmlns:fes="http://www.opengis.net/fes/2.0"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xsi:schemaLocation="http://www.opengis.net/sos/2.0 http://schemas.opengis.net/sos/2.0.0/sos.xsd">
    <sos:featureOfInterest>01446500</sos:featureOfInterest>
    <sos:observedProperty>Discharge</sos:observedProperty>
    <!-- OPTIONALRepresents the location id to return -->   >
     <om<sos:procedure>ContinuousfeatureOfInterest>01446500</Instantaneous</omsos:procedure>featureOfInterest>
     <!-- OPTIONAL Represents the parameter id to return -->
        <om<sos:offering>UNIT<observedProperty>Discharge</omsos:offering>observedProperty>
    <sos:temporalFilter>
        <fes:
	<!-- phenomenonTime defines the period for which to retrieve timeseries values -->	 
	<sos:temporalFilter>
        <fes:During>
            <fes:ValueReference>phenomenonTime</fes:ValueReference>
                   <gml:TimeInstantTimePeriod gml:id='beginPosition'"tp_1">
            <gml:timePosition>2012-06-29</gml:timePosition>
        </gml:TimeInstant>
                       <gml:beginPosition>2013-02-15T01:00:00.000+01:00</gml:beginPosition>
                <gml:endPosition>2013-03-01T01:00:00.000+01:00</gml:endPosition>
            </gml:TimePeriod>
        </fes:During>
    </sos:temporalFilter>
	
    <!-- Optional: analysisTime can be used to return forecast timeseries for a specific forecast T0 value. -->
    <sos:temporalFilter>
        <fes:TEquals>
            <fes:ValueReference>analysisTime</fes:ValueReference>
            <gml:TimeInstant gml:id='endPosition'>
           "ti_2">
                <gml:timePosition>2012timePosition>2013-07-06<03-02T00:00:00.000+01:00</gml:timePosition>
                   </gml:TimeInstant>
   
        </fes:TEquals>
    </sos:temporalFilter>
</sos:GetObservation>                                                          

...