Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 2.09 KB

A.37.IR4.TGR42.openSearchUrlDescribeSpatialDataset.md

File metadata and controls

33 lines (20 loc) · 2.09 KB

OpenSearch Description provides URL for Describe Spatial Dataset operation

Purpose:

The OpenSearch description must contain a "Url" element that describes a template URL for the Describe Spatial Data Set operation. This template must accept the INSPIRE parameters "spatial_dataset_identifier_code", "spatial_dataset_identifier_namespace" and the OpenSearch "language" parameter. The "Url" element must have an attribute "type" with a value of "application/atom+xml" and an attribute "rel" with the value "describedby".

Test method

Reference(s):

Test type:

Automated

Notes

[1] The values for the parameters "spatial_dataset_identifier_code", "spatial_dataset_identifier_namespace" and "language" can be obtained from the OpenSearch description

Contextual XPath references

The namespace prefixes used as described in README.md.

Abbreviation XPath expression
url element /os:OpenSearchDescription/os:Url
Describe Spatial Dataset url /os:OpenSearchDescription/os:Url[@rel='describedby' and @type='application/atom+xml' and starts-with(@template,'http') and contains(@template,'spatial_dataset_identifier_code') and contains(@template,'spatial_dataset_identifier_namespace') and contains(@template,'language')]