-
Notifications
You must be signed in to change notification settings - Fork 394
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 legend from mapserver not available in 3d mode because of wrong empty scale parameter #9006
Closed
1 of 6 tasks
Labels
Milestone
Comments
allyoucanmap
added a commit
to allyoucanmap/MapStore2
that referenced
this issue
Mar 16, 2023
…de because of wrong empty scale parameter
5 tasks
5 tasks
i've locally tested #9024 by checking out
|
allyoucanmap
added a commit
that referenced
this issue
Mar 21, 2023
…rong empty scale parameter (#9024)
allyoucanmap
added a commit
to allyoucanmap/MapStore2
that referenced
this issue
Mar 29, 2023
…de because of wrong empty scale parameter (geosolutions-it#9024)
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Description
loading a layer coming from mapserver, in 2d mode this request is made and show a proper image
https://wms.dev.craig.fr/ign?service=WMS&request=GetLegendGraphic&format=image%2Fpng&height=12&width=12&layer=bdforet_v2&style=&version=1.3.0&SLD_VERSION=1.1.0&LEGEND_OPTIONS=forceLabels%3Aon&SCALE=18056
in 3d mode, this request is made:
https://wms.dev.craig.fr/ign?service=WMS&request=GetLegendGraphic&format=image/png&height=12&width=12&layer=bdforet_v2&style=&version=1.3.0&SLD_VERSION=1.1.0&LEGEND_OPTIONS=forceLabels:on&SCALE=
and the server replies with an XML exception with
msCalculateScale(): General error message. Invalid image extent, minx=-0.000000, miny=-0.000000, maxx=0.000000, maxy=0.000000.
, imo because mapstore sends an emptySCALE
parameter.can reproduce at will with this url which is freely available (wms.dev isnt, and ign service is password-protected):
https://wms.craig.fr/ortho?service=WMS&request=GetLegendGraphic&format=image/png&height=12&width=12&layer=dallage-auvergne-2009&style=&version=1.3.0&SLD_VERSION=1.1.0&LEGEND_OPTIONS=forceLabels:on&SCALE=18056 -> if one removes 18056 then the server barfs.
What kind of improvement you want to add? (check one with "x", remove the others)
Other useful information
Issue coming from georchestra/mapstore2-georchestra#444
The text was updated successfully, but these errors were encountered: