Specifies the time period(s) for which observations are requested. This allows a client to request observations from a specific instant, multiple instances or periods of time in the past, present and future. The supported range is listed in the selected offering capabilities. The objects of these classes are used in the GetObservation (paramter in GetObservation).
A typical example in a POST request:
<eventTime>
<ogc:TM_During>
<ogc:PropertyName>om:samplingTime</ogc:PropertyName>
<gml:TimePeriod>
<gml:beginPosition>2006-11-05T17:18:58.000-06:00</gml:beginPosition>
<gml:endPosition>2006-11-05T21:18:59.000-06:00</gml:endPosition>
</gml:TimePeriod>
</ogc:TM_During>
</eventTime>
In GET binding (SosBindings
) the eventTime is simply omitted for getting the latest observation.
It is recommended to use the creation functions as shown in the examples.