Purpose: Pre-defined Stored Queries must be provided to make pre-defined datasets available. Any possible (i.e. available) combinations of CRS/DataSetIdCode/DataSetIdNamespace/language must be made available through pre-defined stored queries. Pre-defined Stored Queries must use the parameter names 'CRS', 'DataSetIdCode', 'DataSetIdNamespace' and 'Language' to identify the CRS, dataset ID code, dataset ID namespace and language components of a query.
Prerequisites
Test method
- Perform a DescribeStoredQueries-request. Test that the DescribeStoredQueriesResponse contains at least one StoredQueryDescription with the Parameters: 'CRS', 'DataSetIdCode', 'DataSetIdNamespace' and 'Language'.
- Perform a GetCapabilities request and collect all combinations of: supported CRS, supported language, SpatialDataSetIdentifier ID code and SpatialDataSetIdentifier Namespace
- For each combination of supported CRS, supported language, SpatialDataSetIdentifier ID code and SpatialDataSetIdentifier Namespace: perform a GetFeature request with the Stored Query ID from the DescribeStoredQueriesResponse as defined in the first step. The parameter values in this request are defined as: CRS is supported CRS, Language is supported language, DataSetIdCode is SpatialDataSetIdentifier ID code and DataSetIdNamespace is SpatialDataSetIdentifier Namespace. The response of the GetFeature request with the Stored Query ID must contain a wfs:FeatureCollection in the requested CRS.
Reference(s):
- TG DL, Requirements 49, 50, 51
Test type:
Automated
Notes
TG Requirements 49, 50 and 51 together specify the use of Stored Queries to make pre-defined datasets available.
The namespace prefixes used as described in README.md.