Hi Tamas,

Having gone through the projection code recently I doubt this format is 
supported. Could you use PROJECTION "epsg:4326 END on the layer and then hard 
code the projection string?

CONNECTIONTYPE WMS
CONNECTION 
"https://demo.org/cgi-bin/wms?VERSION=1.1.0&LAYERS=bm&FORMAT=image/png&SRS=CRS:84";

Seth

--
web:https://geographika.net & https://mapserverstudio.net
mastodon: @[email protected]

On Mon, May 11, 2026, at 10:36 AM, Tamas Szekeres via MapServer-dev wrote:
> Hi Devs,
> 
> How can I set up a WMS client layer to send CRS:84 to the WMS server?
> I've tried "wms_srs" "CRS:84" in the LAYER metadata, but I'm getting the 
> following error:
> 
> msBuildWMSLayerURL(): WMS connection error. Layer must have an EPSG or AUTO 
> projection code (in its PROJECTION object or wms_srs metadata)
> 
> Best regards,
> 
> Tamas
>  
> _______________________________________________
> MapServer-dev mailing list
> [email protected]
> https://lists.osgeo.org/mailman/listinfo/mapserver-dev
> 
_______________________________________________
MapServer-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-dev

Reply via email to