-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
View Service WMS validator too strict: harmonized layer names should not be mandatory #39
Comments
Related: https://github.com/inspire-eu-validation/view-service/blob/review-ats-tg_3.11/iso-19128/at39-getcapabilities-layer-name.md |
Dear @thijsbrentjens, Thanks for reporting the issue. We are going to discuss the solution in the next subgroup meeting and see if the test could be relaxed. Best regards. |
I agree that this test is too strict. |
I also agree that this test is too strict. In the german GDI-DE Testsuite we implement an exception for this kind of test (for both WMS Version): Every layer at "/wms:Capability/wms:Layer", except for the root layer, musthave a wms:Name element, specifying a name for the layer.
|
I think the issue is not with the test but with the requirement in the TG for View Services. The NS IRs simply require a Name (Description: Harmonised name of the layer) parameter as part of the layer metadata response parameters in a Get View Service Metadata response. The TGs say in TG requirement 39: Name shall be mapped with the wms:Name element. The However, this requirement does not originate in the NS IRs, but in the IR-ISDSS, even if the only way to check this requirement, is through the view service. I just noted that the data ATSs actually already include a specific part on portrayal requirements, where the conformance target is the view service, e.g. https://github.com/inspire-eu-validation/data-au/tree/3.1/au-portrayal But I think these tests have not been implemented in the ETS. I think adding these tests as a conformance class to the ETS for view services would be the cleanest way (similar to the way that this is being done for the metadata requirements for interoperability (based on requirements in the IR-ISDSS). |
@michellutz what I meant: there may be other layers in a WMS, that are not harmonized. For example a WMS offering all mandatory harmonised layers and some other layers of the same dataset (e.g. grouped layers). Is such a mixture of Layers not allowed per the TG or the IR? In other words: do you mean that a WMS is allowd to exclusively offer harmonised layers (following all requirements from the IR etc)? The latter could have quite some consequences and may require some extra explanation to dataproviders I think. |
We use group layers to provide the harmonised layer with other names for layers inside. https://themes.jrc.ec.europa.eu/discussion/view/13952/layer-naming |
2017.4 meeting 2019-05-22 Following @michellutz's comment, it is agreed to have 2 conformance classes, in order to:
|
Hi, Reproduction steps:
The WMS contains a vector layer named LU.SpatialPlan and a raster layer which contains associated data (a georeferenced PDF of the plan). Given the scenario, what layer name would be acceptable for the raster layer? |
Dear @Kate-Lyndegaard @thijsbrentjens, Thank you for your message. We are modifying the test to add an assertion on it. This assertion will check if a manual review is required when a non-harmonised layer is reported. We will come back to you when the solution is deployed on the staging instance. Thank you and best regards. |
Dears @Kate-Lyndegaard @thijsbrentjens Thank you. |
Dear @carlospzurita, Thank you very much! I can confirm that the issue is solved for my service. |
Dear all, the status of the issue is the following (many thanks to @hogredan for the explanation):
In addition, the test had already been relaxed in the staging instance, but the change was not included in production due to the change required to the TG. |
Dear all, the changes to the WMS TG have been released in the 2022.2 TG release. The related changes have been introduced in the ATSs (see Abstract Test Suite: INSPIRE View Services Technical Guidance) and they will be implemented in the next release of the Validator. |
Dear @thijsbrentjens, The solution is available in staging instance. Could you check that it is correct? Regards PS: @fabiovinci Could you also check that it is correct? |
The solution is correct. |
The View Service WMS validator seems to be too strict when testing layer names. It tests on harmonized layer names, but this is not mandatory for each layer. For example: if the WMS is offering as-is data only (which is still allowed). Or if the WMS offers harmonized data in some layers and as-is data in other layers (the TG does not require a View Service to offer harmonized data exclusively as far as I can see).
Take for example this WMS:
https://geodata.nationaalgeoregister.nl/cbsprovincies/wms?&request=GetCapabilities&service=WMS
To help us investigate the issue, you may want to include:
the name of the Test that failed or better: change the
Level of Detail
in the Report by clicking on
All Details
, then scroll down to the failed testand copy the Link on the right-hand side of the
Assertion URI
http://staging-inspire-validator.eu-west-1.elasticbeanstalk.com/etf-webapp/v2/TestRuns/EID7257bed0-09e6-447a-88c1-f72b4003fba4.html?lang=nl#EID53c10ea9-016a-1000-297b-3d4837ad3225
TestStep ID: EID738051b8-6344-42be-8315-6fbc69f52575
the URL of your service / the file you have uploaded or referenced (as
an attachment).
https://geodata.nationaalgeoregister.nl/cbsprovincies/wms?&request=GetCapabilities&service=WMS
The text was updated successfully, but these errors were encountered: