You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
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: