[mapserver-users] Projection values of mapfile

Jeff McKenna jmckenna at gatewaygeomatics.com
Tue Nov 6 04:05:48 PST 2012


On 12-11-06 12:06 AM, Forest wrote:
> Hello everyone,
>      I've been using shp2img tools to generate tile image by mapfile.
> And the project is by default,which is epsg:4326.Now I want to use Web
> Mercator Projection,Can you tell me how to write the mapfile's
> projection label?And Do I need to change my shpfile's projection?
>     Waiting for your answers,thanks very much!
> 

You should review the PROJECTION documentation
(http://www.mapserver.org/mapfile/projection.html), and especially the
"Important Notes" at the bottom of that page.  Use epsg:3857 as your
"output" projection.

-jeff



-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/





More information about the MapServer-users mailing list