-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create at39bis-getcapabilities-harmonised-layer-name.md
Add a new test related to the new requirement 39 bis (see TG release changelog: https://github.com/INSPIRE-MIF/technical-guidelines/releases/tag/2022.2).
- Loading branch information
1 parent
834d546
commit 8a171ad
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
iso-19128/at39bis-getcapabilities-harmonised-layer-name.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Harmonised Layer Name | ||
|
||
**Purpose**: Test that at least a harmonised layer according to [IR IOP](./README.md#ref_IR_IOP) is present, which layer name shall comply with the harmonised layer name defined in Article 14 of [IR IOP](./README.md#ref_IR_IOP). | ||
|
||
**Prerequisites**: The WMS is related to a harmonized dataset (to be manually checked). | ||
|
||
**Test method** | ||
|
||
* Send a getCapabilities request to the service endpoint. Into the response: | ||
|
||
* Check that at least a [Layer](#layer) element with the value of the [Layer Name](#layerName) element that matches one of the harmonised layer names given in [IR IOP](./README.md#ref_IR_IOP) or its amendments, is present. | ||
|
||
* If no layers are found, report a warning message indicating that if the WMS under test is related to a harmonized dataset at least a harmonised layer according to [IR IOP](./README.md#ref_IR_IOP) shall be present. | ||
|
||
**Reference(s)**: | ||
* [TG VS](./README.md#ref_TG_VS), Chapter 4.2.3.3.4.6, Requirement 39 bis | ||
* [IR IOP](./README.md#ref_IR_IOP), Article 14 | ||
|
||
**Test type**: Automated | ||
|
||
**Notes** | ||
|
||
A view service may contain one or more harmonised and/or one or more non-harmonised layers. | ||
|
||
The multiplicity of this element is 1 for each named Layer. | ||
|
||
A Layer that contains a Named child element is a 'named Layer'. | ||
|
||
**Contextual XPath references** | ||
|
||
The namespace prefixes used as described in [README.md](./README.md#namespaces). | ||
|
||
Abbreviation | XPath expression (relative to /wms:WMS_Capabilities) | ||
---------------------------------------------------------- | ------------------------------------------------------------------------- | ||
Layer <a name="layer"></a> | wms:Capability/*/wms:Layer | ||
Layer Name <a name="layerName"></a> | wms:Capability/*/wms:Layer/wms:Name |
8a171ad
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dperezBM, @arantzaetxebarria, new test added