OGC Engineering Report OGC 13-053r1
19
4.3.4 SOS operations 4.3.4.1 Introduction
This clause discusses the features of the NRCan profile by using example SOS requests, encoded using both KVP and XML.
4.3.4.2 GetCapabilities
The following request causes a compliant SOS to generate service metadata in the form of an OGC capabilities document:
http:ngwd-bdnes.cits.nrcan.gc.ca:8080proxyGinServicesosgw?REQUEST=GetCapabilitiesSERVICE=SOSVERSION=2.0.0
The salient portion of the response is presented here and illustrates the profile directives that a SOS compliant with the NRCan profile would include in its capabilities document:
ows:Profilehttp:www.opengis.netspecSOS2.0confgfoiows:Profile -- TODO: add KVP BBOX profile when implemented --
-- Observation can be queries using spatial geometry expressed in param --pre ows:Profilehttp:www.opengis.netspecSOS2.0confspatialFilteringProfileows:Profil
e -- sampling feature must have a point geometry --
ows:Profilehttp:www.opengis.netspecOMXML2.0confsamplingPointows:Profile -- Observation encoded with GML 3.2 XML--
ows:Profilehttp:www.opengis.netspecOMXML2.0confobservationows:Profile -- this service implement WaterML 2.0 --
ows:Profilehttp:www.opengis.netspecwaterml2.0confxsd-measurement-timeseries-tvp- observationows:Profile
4.3.4.3 DescribeSensor
The following two examples encode the same DescribeSensor request -- one using the KVP encoding and the other using the XML encoding.
KVP-encoded example: http:198.103.103.7GinServicesos?REQUEST=DescribeSensorVERSION=2.0.0SE
RVICE=SOSprocedure=urn:ogc:object:Sensor::EC_WaterFlowProcessprocedurDesc riptionFormat=http:www.opengis.netsensorML1.0.1
XML-encoded example:
swes:DescribeSensor service=SOS
version=2.0.0 xmlns=http:www.opengis.netswes2.0
xmlns:sos=http:www.opengis.netsos2.0 xmlns:fes=http:www.opengis.netfes2.0
xmlns:gml=http:www.opengis.netgml3.2 xmlns:swe=http:www.opengis.netswe2.0
OGC Engineering Report OGC 13-053r1
20
xmlns:swes=http:www.opengis.netswes2.0 xmlns:xlink=http:www.w3.org1999xlink
procedureurn:ogc:object:Sensor::EC_WaterLevelProcessprocedure procedureDescriptionFormathttp:www.opengis.netsensorML1.0.1proc
edureDescriptionFormat swes:DescribeSensor
4.3.4.4 GetFeatureOfInterest