50 Copyright © 2012 Open Geospatial Consortium.
The
InsertionCapabilities
section in the Capabilities document of the service lists the types and formats
which can be used by the client when inserting a new sensor at the SOS server.
10.2.1.1 Request
The base structure of the InsertSensor operation is defined in Clause 13 of [OGC 09-001].
Table 33 Properties of SosInsertionMetadata data type Name
Definition Data type and values
Multiplicity and use
featureOfInterestType identifier of feature of interest type
associated with observation produced by the sensor
ValueCode see clause 8.4.1
One or many mandatory
observationType identifier of observation type with
unique result type which is produced by the sensor
ValueCode see clause 8.4.1
One or many mandatory
10.2.1.2 Response
10.2.1.3 Exceptions
Requirement http:www.opengis.netspecSOS2.0reqsensorInsertionrequest-structure
Requirement 58 For the SOS the InsertSensor operation shall be used as specified in Clause 13 of
[OGC 09-001]. Additionally, the SOS extends the abstract
InsertionMetadata
data type through the type
SosInsertionMetadata
, with properties as defined in Table 33. This type shall be included in
InsertSensor
requests sent to the SOS server. The
featureOfInterestType
s and
observationType
s with unique result type in the
SosInsertionMetadata
element of the request shall determine which are used by the sensor to encode observations.
The
service
attribute in the
InsertSensor
request that is sent to the SOS server shall have the value “SOS” and the
version
attribute shall have the value “2.0.0”.
Requirement http:www.opengis.netspecSOS2.0reqsensorInsertionresponse
Requirement 59 The InsertSensor operation shall return a response as defined in Subclause 13.2.3 of
[OGC 09-001].
Requirement http:www.opengis.netspecSOS2.0reqsensorInsertionexception
Requirement 60 When an SOS server encounters an error while performing an InsertSensor
operation, it shall return an exception message as specified in Subclause 13.3 of [OGC 09-001].
Copyright © 2012 Open Geospatial Consortium. 51
10.2.1.4 Examples
Example 18 An example of request and response of the XML implementation of the InsertSensor operation
can be found here: http:schemas.opengis.netsos2.0examplestransactionalInsertSensor1.xml
http:schemas.opengis.netsos2.0examplestransactionalInsertSensor1_response.xml
10.3 Requirements Class: Sensor Deletion