pietro.dorio ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5fbcdb924a09640069187b05
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZGVjZTkwNGJjZjg4NGYxNzg2ZGZmYjhjZWQ2NWMxODQiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10336?atlOrigin=eyJpIjoiZGVjZTkwNGJjZjg4NGYxNzg2ZGZmYjhjZWQ2NWMxODQiLCJwIjoiaiJ9
 ) GEOS-10336 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10336?atlOrigin=eyJpIjoiZGVjZTkwNGJjZjg4NGYxNzg2ZGZmYjhjZWQ2NWMxODQiLCJwIjoiaiJ9
 ) INSPIRE failure: version not propagated in GetCapabilities LegendURL ( 
https://osgeo-org.atlassian.net/browse/GEOS-10336?atlOrigin=eyJpIjoiZGVjZTkwNGJjZjg4NGYxNzg2ZGZmYjhjZWQ2NWMxODQiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.20.1 Assignee: Unassigned Components: 
INSPIRE Created: 14/Dec/21 2:22 PM Priority: High Reporter: pietro.dorio ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5fbcdb924a09640069187b05
 )

We are trying to pass INSPIRE validation for our WMS, exposed by *GeoServer 
version 2.20.1* with INSPIRE plugin and " Strict CITE compliance " active.

This is the getcapabilities:
https://demo-geoservices8.civis.bz.it/geoserver/p_bz-Inspire/ows?service=wms&version=1.3.0&request=GetCapabilities

The INSPIRE validator fails this test:

https://github.com/inspire-eu-validation/view-service/blob/review-ats-tg_3.11/iso-19128/at47-getcapabilities-layer-style-legend-url.md

If you take any of the urls for any style, e.g:

https://demo-geoservices8.civis.bz.it/geoserver/p_bz-Inspire/ows?service=WMS&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=AD.Address

The error is returned:

*"Could not determine version".*

The error from my point of view is that the LegendURL link does not propagate 
the version, even if it is declared in the getcapabilities.

The correct LegendURL should be

https://demo-geoservices8.civis.bz.it/geoserver/p_bz-Inspire/ows?service=WMS&version=1.3.0&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=AD.Address

( 
https://osgeo-org.atlassian.net/browse/GEOS-10336#add-comment?atlOrigin=eyJpIjoiZGVjZTkwNGJjZjg4NGYxNzg2ZGZmYjhjZWQ2NWMxODQiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10336#add-comment?atlOrigin=eyJpIjoiZGVjZTkwNGJjZjg4NGYxNzg2ZGZmYjhjZWQ2NWMxODQiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100186- 
sha1:84fa40f )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to