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
The following KVP-encoded request illustrates a GetFeatureOfInterest request employing a BBOX spatial filter:
http:198.103.103.7GinServicesos?REQUEST=GetFeatureOfInterestVERSION=2.0. 0SERVICE=SOSspatialFilter=om:featureOfInterestsams:shape,-101.2,49,-
99.5,50.1namespaces=xmlnssams,http:www.opengis.netsamplingSpatial2.0,xmlns om,http:www.opengis.netom2.0
This following XML-encoded request similarly includes a spatial predicate on the GetFeatureOfInterest request:
sos:GetFeatureOfInterest service=SOS
version=2.0.0 xmlns:sos=http:www.opengis.netsos2.0
xmlns:fes=http:www.opengis.netfes2.0 xmlns:gml=http:www.opengis.netgml3.2
xmlns:sams=http:www.opengis.netspatialSampling2.0 sos:spatialFilter
fes:Intersects fes:ValueReferencesams:shapefes:ValueReference
gml:Envelope srsName=urn:ogc:def:crs:EPSG::4326 gml:lowerCorner49 -140gml:lowerCorner
gml:upperCorner60 -110gml:upperCorner gml:Envelope
fes:Intersects sos:spatialFilter
sos:GetFeatureOfInterest
Finally, the following KVP-encoded request illustrates a GetFeatureOfInterest request employing an identifier to retrieve a specific feature of interest:
http:198.103.103.7GinServicesos?REQUEST=GetFeatureOfInterestVERSION=2.0. 0SERVICE=SOSfeatureOfInterest=ca.gc.ec.station.11AA001
4.3.4.5 GetObservation
The following KVP and XML encoding examples encode the same request: KVP-encoded example:
http:198.103.103.7GinServicesos?REQUEST=GetObservationVERSION=2.0.0SE
OGC Engineering Report OGC 13-053r1
21 RVICE=SOSoffering=WATER_LEVELfeatureOfInterest=ca.gc.ec.station.05NG021
observedProperty=urn:ogc:def:phenomenon:OGC:1.0.30:waterlevel XML-encoded example:
sos:GetObservation service=SOS
version=2.0.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 xmlns:swes=http:www.opengis.netswes2.0
xmlns:xlink=http:www.w3.org1999xlink xmlns:xsi=http:www.w3.org2001XMLSchema-instance
xsi:schemaLocation=http:www.opengis.netsos2.0 http:schemas.opengis.netsos2.0sos.xsd
http:www.opengis.netgml3.2 http:schemas.opengis.netgml3.2.1gml.xsd
sos:offeringWATER_LEVELsos:offering sos:observedPropertyurn:ogc:def:phenomenon:OGC:1.0.30:waterlevelsos
:observedProperty sos:featureOfInterestca.gc.ec.station.05NG021sos:featureOfInterest
sos:GetObservation
4.3.4.6 GetDataAvailability profile 4.3.4.6.1 Introduction