Copyright © 2012 Open Geospatial Consortium. 53
10.4.1 InsertObservation Operation
The InsertObservation operation allows clients to insert new observations for a registered sensor system.
The conceptual model of the InsertObservation operation is shown in the following UML diagram.
Figure 15: Data types of InsertObservation operation
The
InsertionCapabilities
section lists the types of observations and features of interest which can be used by the client when inserting observations at the SOS server.
10.4.1.1 Request
The SOS
InsertObservation
data type derives from the SWES
ExtensibleRequest
data type defined in OGC 09-001 and inherits its properties.
Requirement http:www.opengis.netspecSOS2.0reqobsInsertionrequest-structure
Requirement 66 In addition to the properties inherited from SWES
ExtensibleRequest
, the SOS
InsertObservation
operation request shall include the properties according to Table 34.
Requirement
54 Copyright © 2012 Open Geospatial Consortium.
NOTE If this requirement was missing a client could, for example, insert observations of type OM
_ TruthObservation
today and of type OM
_ Measurement
tomorrow for the same procedure
, observedProperty
, ObservationOffering
constellation. In subsequent calls of GetObservation to request data for today and tomorrow it would be unclear how to encode the response.
Table 34: Properties of InsertObservation data type Name
Definition Data type and values
Multiplicity and use
offering Pointer to an ObservationOffering
to which the observations shall be added.
ObservationOffering
id
see Subclause 8.1.2.2 One or many
mandatory observation
Observation to insert OM_Observation
see [OGC 10- 004r3ISO 19156]
One or many mandatory
id
NOTE
: the primary use of this property is to provide a pointeridentifier – see Annex
15
and OGC 09-001 clause 16.3.1 for further details on identifier handling.
10.4.1.2 Response
The SOS
InsertObservationResponse
data type derives from the SWES
ExtensibleResponse
data type defined in OGC 09-001 and inherits its properties.
http:www.opengis.netspecSOS2.0reqobsInsertionsupported-types Requirement 67
The type of the inserted observation with unique result type shall be supported by the SOS server and hence listed in the
InsertionCapabilities
section AND shall be one of the types defined for each of the
ObservationOffering
s to which the observation is added.
Requirement http:www.opengis.netspecSOS2.0reqobsInsertionproperty-constellation
Requirement 68 For a particular constellation of
procedure
,
observedProperty
and
ObservationOffering
, observations shall always be encoded in the same
observationType
. The InsertObservation operation shall check whether a differing
observationType
is inserted for the same constellation of
procedure
,
observedProperty
and
ObservationOffering
that was inserted before.
Requirement http:www.opengis.netspecSOS2.0reqobsInsertionmultiple-offerings
Requirement 69 If multiple offerings are specified for the sensor of the observations which should be
inserted, all specified observations shall be added to all specified offerings.
Requirement http:www.opengis.netspecSOS2.0reqobsInsertionresponse-structure
Copyright © 2012 Open Geospatial Consortium. 55
10.4.1.3 Exceptions