84 Copyright © 2012 Open Geospatial Consortium.
Example 29 URL encoded:
namespaces=xmlnsns12Chttp3A2F2Fwww.opengis.net2FsamplingSpatial2F2.02Cxmlnsns2 2Chttp3A2F2Fwww.opengis.net2Fom2F2.0
URL decode: namespaces=xmlnsns1,http:www.opengis.netsamplingSpatial2.0,xmlnsns2,http:www.opengis.netom
2.0
NOTE: The namespaces
parameter is not defined for XML encoded requests because XML has its own mechanism for asserting namespaces.
13.2.1 GetCapabilities KVP Binding
This KVP binding is a realization of the conceptual model of the GetCapabilities operation as defined in Subclause 8.1. In general, all requirements defined for the conceptual model of the
GetCapabilities operation apply for its realization as a KVP binding.
Example 30 To request a Capabilities document, a client can issue the following GetCapabilities operation
request encoded as KVP: http:hostname:portpath?service=SOSrequest=GetCapabilitiesAcceptVersions
=2.0.0
13.2.2 DescribeSensor KVP Binding
This KVP binding is a realization of the conceptual model of the DescribeSensor operation as defined in Subclause 8.2. In general, all requirements defined for the conceptual model of the
This parameter shall specify the mappings of the set of XML prefixes that occur in the valueReference
to their respective XML namespace URIs. The format shall be
xmlnsprefix,namespace_uri . Multiple namespaces shall be bound
by specifying a comma separated list of xmlns values. Note that the value of the
namespaces parameter is URL-encoded by default Requirement 107.
Requirement http:www.opengis.netspecSOS2.0reqkvp-coregc-request
Requirement 110 The KVP encoding of the GetCapabilities operation request shall be as specified in
Table 5 in Subclause 7.2.3 of [OGC 06-121r3]. The fixed value of the service parameter shall be “
SOS
”.
Requirement http:www.opengis.netspecSOS2.0reqkvp-coregc-response
Requirement 111 The response behaviour of the GetCapabilities operation shall be implemented as
defined in Subclause 8.1.2 of this document and encoded as defined in Subclause 13.1.
Copyright © 2012 Open Geospatial Consortium. 85
DescribeSensor operation apply for its realization as a KVP binding. However, due to the limitations of a KVP binding, the parameterization of the operation needs to be restricted and
further defined as described below.
Table 49: DescribeSensor request KVP encoding Name Definition
and format
Optionality
service Identifier of the OGC service.
Fixed value: “
SOS
”. Mandatory
version Request protocol
version. Fixed value “
2.0.0
”. Mandatory
request Request type name. Fixed value: “
DescribeSensor
”. Mandatory
procedure URL-encoded URI pointing to the procedure for which a
metadata description shall be retrieved. Mandatory
procedureDescriptionFormat URL-encoded URI pointing to the requested procedure
description format. Recommended by this standard is SensorML
SensorML version 1.0.1 [OGC 07-022r2] is identified by the value
“
http3A2F2Fwww.opengis.net2FsensorML2F 1.0.1
” the URL encoded namespace Mandatory
validTime Time instance or time interval encoded conformant to
[ISO 8601] for which the sensor description shall be retrieved.
If omitted the currently valid sensor description is returned.
If end time of time interval is in the future, all descriptions from start time to now - including the
current description - shall be returned Optional
Requirement http:www.opengis.netspecSOS2.0reqkvp-coreds-request
Requirement 112 The KVP encoding of a DescribeSensor request shall be as defined in Table 49.
Requirement http:www.opengis.netspecSOS2.0reqkvp-coreds-time-encoding
Requirement 113 The
validTime
request parameter shall be encoded compliant to [ISO 8601].
86 Copyright © 2012 Open Geospatial Consortium.
Example 31 The following KVP structure requests metadata about a procedure
15
: http:www.myserver.org:portpath
?service=SOS version=2.0.0
request=DescribeSensor procedure=urn:ogc:object:Sensor:MyOrg:thermometer1
procedureDescriptionFormat=http:www.opengis.netsensorML1.0.1 validTime=2010-01-01T18:31:42Z
13.2.3 GetObservation KVP Binding