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

cesium/3d mode forces wms requests to version 1.1.1 #10592

Open
1 task done
landryb opened this issue Oct 3, 2024 · 0 comments
Open
1 task done

cesium/3d mode forces wms requests to version 1.1.1 #10592

landryb opened this issue Oct 3, 2024 · 0 comments
Labels

Comments

@landryb
Copy link
Collaborator

landryb commented Oct 3, 2024

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:

<ServiceExceptionReport xmlns="http://www.opengis.net/ogc">
<ServiceException code="InvalidParameterValue" >
  Valeur du parametre VERSION invalide (1.3.0 disponible seulement))
</ServiceException>
</ServiceExceptionReport>

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

  • Not browser related
Browser info (use this site: https://www.whatsmybrowser.org/ for non expert users)
Browser Affected Version
Internet Explorer
Edge
Chrome
Firefox
Safari

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

@landryb landryb added the bug label Oct 3, 2024
@landryb 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant