[mapserver-users] Projection values of mapfile
Christy Nieman
cnieman at dmsolutions.ca
Tue Nov 6 04:06:44 PST 2012
Hello,
If you are using a recent version of PROJ.4, you should be able to use
epsg:3857 for Web Mercator. MapServer can reproject your data
on-the-fly if you also have projection blocks in your layer definitions
to say what projection the data are (i.e. epsg:4326). This will slow
down the map draws somewhat, so if you are planning to always display
this map in Web Mercator, it's a good idea to reproject your shapefiles.
... oh, it looks like Jeff beat me to it :)
Christy
On 11/05/2012 11:06 PM, 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!
>
>
>
> _______________________________________________
> 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/20121106/3a0d4eb4/attachment.htm>
More information about the MapServer-users
mailing list