Skip to content
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

Legend URL missing version information from Capabilities document in GeoServer 2.20.0 #10

Closed
kalxas opened this issue Oct 27, 2021 · 11 comments
Assignees
Labels
bug Something isn't working upstream Issue reported upstream

Comments

@kalxas
Copy link
Member

kalxas commented Oct 27, 2021

image

@kalxas
Copy link
Member Author

kalxas commented Oct 27, 2021

Linked to #7

@kalxas
Copy link
Member Author

kalxas commented Oct 27, 2021

Error from Validator:

image

@kalxas kalxas added the bug Something isn't working label Oct 27, 2021
@kalxas kalxas self-assigned this Nov 9, 2021
@kalxas
Copy link
Member Author

kalxas commented Nov 9, 2021

@kalxas
Copy link
Member Author

kalxas commented Nov 9, 2021

Upstream issue: https://osgeo-org.atlassian.net/browse/GEOS-5472

@kalxas
Copy link
Member Author

kalxas commented Nov 9, 2021

@kalxas
Copy link
Member Author

kalxas commented Nov 9, 2021

@kalxas
Copy link
Member Author

kalxas commented Nov 9, 2021

We can add a custom Legend URL through the Styles UI:

image

@kalxas
Copy link
Member Author

kalxas commented Nov 11, 2021

@grigoriouelena shall we add a custom URL so we can test the validator?

@kalxas
Copy link
Member Author

kalxas commented Dec 14, 2021

Reported upstream here: https://osgeo-org.atlassian.net/browse/GEOS-10336

@kalxas kalxas added the upstream Issue reported upstream label Dec 14, 2021
@grigoriouelena
Copy link
Collaborator

grigoriouelena commented Dec 22, 2021

After various tries I come to the conclusion that the provision of an image URL in the Styles GUI is independent of the LegendURL that geoserver forms for the legend graphic in the getcapabilities response.

By that I mean that whatever legend the user defines in the Styles GUI, geoserver will still provide a GetLegendGraphic request to the WMS, omitting the version parameter.

Relevant issue in the INSPIRE validation helpdesk here: INSPIRE-MIF/helpdesk-validator#680

@kalxas I guess that we should try to find the template that geoserver uses to form the capabilities response and add the version parameter. How feasible is this?

@kalxas
Copy link
Member Author

kalxas commented Apr 6, 2022

I guess this one is also to be closed @grigoriouelena ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream Issue reported upstream
Projects
None yet
Development

No branches or pull requests

2 participants