Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 2.17 KB

A.37.IR42.inspire.default.style.md

File metadata and controls

39 lines (26 loc) · 2.17 KB

A.37.IR42.inspire.default.style

Purpose: To make combining of layers from different INSPIRE data providers, the layers portraying harmonized particular INSPIRE datasets must be made available with the same harmonized INSPIRE rendering styles as specified in the Data Specification documents for each theme.

Prerequisites

Test method

For each Layer qualified as presenting an INSPIRE harmonized dataset during the previously run test A.35.IR39.harmonized.layer.name:

  • For each Style element within the Layer:
    • Check if the Style Name equals the name of the default style name for this layer as defined by the Portrayal section of the INSPIRE Data Specification of the INSPIRE theme in which this harmonized layer name is introduced.
  • If none of the Style Name elements match for a Layer qualified as presenting an INSPIRE harmonized dataset, repeat the test recursively for any Parent Layers until a match is found or there is no parent layer (1). If no match was found, fail the test for the original layer.
  • All layers not qualified as presenting INSPIRE harmonized datasets must be ignored in running this test.

Reference(s):

  • TG VS, chapter 4.2.3.3.4.8 Styles

Test type: Automated

Notes

  1. Note that the parent layers not not have to be qualified as INSPIRE harmonised layers to be included in the recursive style name matching.

Contextual XPath references

The namespace prefixes used as described in README.md.

Abbreviation XPath expression
Layer /wms:WMS_Capabilities/wms:Capability//wms:Layer
Style element ./wms:Style
Style Name ./wms:Style/wms:Name
Parent Layer ../../wms:Layer