-
Notifications
You must be signed in to change notification settings - Fork 409
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
cesium/3d mode forces wms requests to version 1.1.1 #10592
Labels
Milestone
Comments
landryb
changed the title
cesium forces wms requests to version 1.1.1
cesium/3d mode forces wms requests to version 1.1.1
Oct 3, 2024
digging a bit, it defaults to 1.1.1 because that's the default in cesium and i think that the |
landryb
added a commit
to landryb/MapStore2
that referenced
this issue
Dec 31, 2024
…-it#10592) data.geopf.fr only supports WMS 1.3.0. Cesium defaults to 1.1.1. Pass the version from the options, and default to 1.1.1 if unset.
5 tasks
5 tasks
landryb
added a commit
to landryb/MapStore2
that referenced
this issue
Jan 14, 2025
…-it#10592) data.geopf.fr only supports WMS 1.3.0. Cesium defaults to 1.1.1. Pass the version from the options, and default to 1.1.1 if unset.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
as found out by @jeanpommier, switching to cesium/3d mode forces the use of WMS version 1.1.1, while some services don't support that version. Such an important service is the french national raster service at https://data.geopf.fr/wms-r/wms which rejects WMS 1.1.1 with a 400 code and a service exception:
i've quickly looked at the ms2 code and haven't found where the switch was done, https://github.com/geosolutions-it/MapStore2/blame/master/web/client/utils/cesium/WMSUtils.js#L153 seems to be for singletile mode but thats wms 1.1.0.
it's confusing for the user, since a layer that works in 2d mode disappears in 3d mode.
How to reproduce
Expected Result
the WMS layer should be displayed
Current Result
network console fills with 400 codes because WMS 1.1.1 isnt supported, and the layer isnt displayed
Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)Other useful information
this might be loosely linked to #8599, since iirc the styles/style parameter was one of the differences between wms 1.1 and 1.3
The text was updated successfully, but these errors were encountered: