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

WMS GFI not handle correctly cases when using different style than default #261

Closed
kuosman opened this issue Dec 10, 2021 · 2 comments
Closed

Comments

@kuosman
Copy link
Contributor

kuosman commented Dec 10, 2021

When using different WMS style than default also hidden features (not visible in current style) can be seen on GFI.

Problem is in oskari-frontend (not send WMS styles to server) and oskari-server need also modifying so at GFI request include also selected WMS style.

For example in Suomen Väylät is Road bridges WMS map layer that normally shows all road bridges but map layer has also weight-restricted bridges style and when using this style we get also GFI responses for unvisible bridges (all bridges).

wms-gfi-error

@ZakarFin
Copy link
Member

Thanks for reporting this! So the frontend doesn't send the currently selected style per layer on GFI-requests and/or server doesn't pass the style in the request to the actual service.

@ZakarFin
Copy link
Member

Fixes merged in develop branch for Oskari 2.6 (due mid-January). Thanks @kuosman!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants