[mapserver-users] WMS Server and Custom ESPG code

Brent Wood pcreso at pcreso.com
Fri Nov 1 12:30:00 PDT 2013


The client will also need to know the projection parameters for the map to be displayed.

A local call to shpimage should be able to generate the image to test that mapserver can draw the image in that projection, as an image, but to have it used with other data (layers) both client & server need to "know" the projection used.


Brent Wood


________________________________
 From: Brian Fischer <bfischer at houstoneng.com>
To: "mapserver-users at lists.osgeo.org" <mapserver-users at lists.osgeo.org> 
Sent: Saturday, November 2, 2013 7:41 AM
Subject: [mapserver-users] WMS Server and Custom ESPG code
 


 
I am trying to use MapServer 6.2.1 as a WMS server with a custom projection and espg code, but I keep getting this error message.  msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be valid for all requested layers.
 
Is this supported?  I have followed these steps.
1)      Defined the custom projection with a new espg code in \ms4w\proj\nad\epsg
2)      In the mapfile, I added the reference to the Proj (CONFIG "PROJ_LIB" "E:/ms4w/proj/nad")
3)      Defined the new espg in the Web, Projection, Layer objects of the mapfile.
4)      Verified the mapfile works using the shp2img utility
 
Has anyone else go this to work?  
Thanks!
Brian
 
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20131101/8c4ce0f2/attachment.htm>


More information about the MapServer-users mailing list