[MapServer-dev] MapServer WMS client CRS:84 support

Seth G sethg at geographika.co.uk
Tue May 12 11:02:52 PDT 2026


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: @geographika at mastodon.social

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
> MapServer-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-dev
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20260512/3a6ffd78/attachment.htm>


More information about the MapServer-dev mailing list