-
Notifications
You must be signed in to change notification settings - Fork 30
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 Request builds wrong URI for Legend #15
Comments
hi.. i can say that you're using wrong request in your js.
it should be like this based on documentation given.
or please don't put '?' at the end of your url. thanks. |
I'm trying to use the Geoserver with WMS 1.3.0 of the german weather service "DWD".
Getting the layer itself with
works.
But when I try to get the legend with
I only get the "broken graphic" symbol. When I inspect the source of the page I see that the wrong URI gets built:
The right URI according to the "getCapabilities" document is
Or short:
Worngly built:
https://maps.dwd.de/geoserver/ows?/wms?REQUEST=GetLegendGraphic&VERSION=1.1.0&FORMAT=image/png&LAYER=dwd:Warnungen_Gemeinden&style=stylefile
Correct according to GeoServer;
https://maps.dwd.de/geoserver/ows?service=WMS&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=dwd%3AWarnungen_Gemeinden
The text was updated successfully, but these errors were encountered: