WMS reprojection


I'm having problems displaying WMS layer in cesium:

Looks like the server doesn't support EPSG:4326, becuase I'm getting these responses:

<?xml version="1.0" encoding="utf-8"?>
<ServiceExceptionReport version="1.1.1">
    <ServiceException code="InvalidSRS">
        <![CDATA[Invalid SRS given (EPSG:4326).]]>

Is there a way to display WMS layer in cesium with different projection than epsg:4326 (maybe like in openlayers with proj4js)? It seems to be working when I reproject it using geoserver, but I would prefer some way to do it in the app without extra server.

Hi there,

You can pass additional parameters in the web request that may be specific the that server using the parameters option, like this:

imageryLayers.addImageryProvider(new Cesium.WebMapServiceImageryProvider({

url : ‘https://maps.zg.ch/basisplan_sw/service.svc/get’,

layers : ‘Basisplan_sw’,

paramters: {

projection: …



However, Cesium only supports two projections: EPSG:4326 or what we call Geographic Projection, and EPSG:3857 or Web Mercator. If you use another projection, it will appear distorted.