Re: [mapserver-users] Projection values of mapfile
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@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Projection values of mapfile
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/ ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Projection values of mapfile
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@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users