[Geoserver-devel] [JIRA] (GEOS-10336) INSPIRE failure: version not propagated in GetCapabilities LegendURL

pietro.dorio created an issue

GeoServer / BugGEOS-10336

INSPIRE failure: version not propagated in GetCapabilities LegendURL

Issue Type:

BugBug

Affects Versions:

2.20.1

Assignee:

Unassigned

Components:

INSPIRE

Created:

14/Dec/21 2:22 PM

Priority:

HighHigh

Reporter:

pietro.dorio

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

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100186-sha1:84fa40f)

Atlassian logo