WMS version 1.3.0

1. A concise explanation of the problem you’re experiencing.

Issues with WMS version 1.3.0.
2 publically available WMS show geometry shifts, the wrong one seems to be ‘simple3dprovider’.
Reverting to WMS version 1.1.1 solves the problem.
I’m pretty new to WMS so not sure if it’s a cesium problem.

2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.

var viewer = new Cesium.Viewer(‘cesiumContainer’);

var grbprovider = new Cesium.WebMapServiceImageryProvider({
    url : 'http://geoservices.informatievlaanderen.be/raadpleegdiensten/GRB-basiskaart/wms',
    layers: 'GRB_BSK',
    parameters: {
        transparent: true,
        version: '1.3.0',
        format : 'image/png' //default is image/jpeg, won't work with transparent
    },      
    rectangle: new Cesium.Rectangle.fromDegrees(2,50,6,53)      
});
viewer.imageryLayers.addImageryProvider(grbprovider);

var simple3dprovider = new Cesium.WebMapServiceImageryProvider({
    url : 'http://geoservices.informatievlaanderen.be/raadpleegdiensten/3DGRB/wms',
    layers: 'GRBGEBL1D2',
    parameters: {
        transparent: true,
        version: '1.3.0',
        format : 'image/png' //default is image/jpeg, won't work with transparent
    },      
    rectangle: new Cesium.Rectangle.fromDegrees(2,50,6,53)      
});
viewer.imageryLayers.addImageryProvider(simple3dprovider);

var center = Cesium.Cartesian3.fromDegrees(4.9470117,51.3231045);
viewer.camera.lookAt(center, new Cesium.Cartesian3(0.0, 0.0, 500.0));

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

I just want to avoid constraining myself to a certain version.

4. The Cesium version you’re using, your operating system and browser.

Cesium 1.43, window 10, firefox.

Hi Wouter,

I’m not aware of a difference between WMS 1.1.1 and 1.3.0 that would be causing this in Cesium. Could it be an issue with the imagery provider itself?

(Also the maps mis-align for me only when I change grbprovider to version 1.1.1)

Thanks,

Gabby