Conformance Class: SOS Feature of Interest Retrieval

112 Copyright © 2012 Open Geospatial Consortium.

14.2 SOS Enhanced Operations Extension Tests

This section contains the conformance classes for the SOS Enhanced Operations Extension.

14.2.1 Conformance Class: SOS Feature of Interest Retrieval

This conformance class defines conformance tests for the retrieval of features of interest. http:www.opengis.netspecSOS2.0conffoiRetrieval Requirements http:www.opengis.netspecSOS2.0reqfoiRetrieval Dependency http:www.opengis.netspecSOS2.0confcore Test http:www.opengis.netspecSOS2.0conffoiRetrievalrequest-structure Requirement http:www.opengis.netspecSOS2.0reqfoiRetrievalrequest- structure Test purpose Check that the service accepts GetFeatureOfInterest requests as defined in Subclause 9.1.1.1 of this specification. Test method Send valid GetFeatureOfInterest request to service and verify that the server sends appropriate responses as defined in this specification. Test type Conformance Test http:www.opengis.netspecSOS2.0conffoiRetrievalparameters Requirement http:www.opengis.netspecSOS2.0reqfoiRetrievalparamet ers Requirement http:www.opengis.netspecSOS2.0reqfoiRetrievalomitting -parameters Test purpose Check that the features returned match the specified parameter values of the GetFeatureOfInterest request. Test method Send several GetFeatureOfInterest requests containing several valid parameters and verify that the features returned match the request parameters. Test type Conformance Copyright © 2012 Open Geospatial Consortium. 113 Test http:www.opengis.netspecSOS2.0conffoiRetrievalfilter-context Requirement http:www.opengis.netspecSOS2.0reqfoiRetrievalfilter- context Test purpose Check that the filter context of each request parameter is correct. Test method Send a GetFeatureOfInterest request for each filter parameter to the SOS and check that only those features are returned that match the filter context of the particular filter parameter. Test type Conformance Test http:www.opengis.netspecSOS2.0conffoiRetrievalresponse-structure Requirement http:www.opengis.netspecSOS2.0reqfoiRetrievalresponse -structure Test purpose Check that the structure of the response is conformant to the structure defined in Subclause 9.1.1.2 of this specification. Test method Send a GetFeatureOfInterest request to the service and check that the response is returned as defined in Subclause 9.1.1.2 of this specification. Test type Conformance Test http:www.opengis.netspecSOS2.0conffoiRetrievalempty-response Requirement http:www.opengis.netspecSOS2.0reqfoiRetrievalempty- response Test purpose Check that an instance of GetFeatureOfInterestResponse type is empty if none of the features associated with the SOS fulfill the GetFeatureOfInterest parameters specified by the client. Test method Send valid GetFeatureOfInterest requests to the server that contains parameters that none of the features associated with the SOS fulfil. Verify that the server returns an empty GetFeatureOfInterestResponse. Test type Conformance 114 Copyright © 2012 Open Geospatial Consortium. Test http:www.opengis.netspecSOS2.0conffoiRetrievalexception Requirement http:www.opengis.netspecSOS2.0reqfoiRetrievalexceptio n Test purpose Check that the server returns appropriate exception messages in case of an error while executing the GetFeatureOfInterest operation. Test method Send invalid GetFeatureOfInterest requests to the server and verify that the server returns appropriate exception messages according to section 9.1.1.3 of this specification. Test type Conformance

14.2.2 Conformance Class: SOS Observation Retrieval By ID