Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link

Description

@landryb
Issue body actions

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

Reactions are currently unavailable

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

Morty Proxy This is a proxified and sanitized view of the page, visit original site.