[mapserver-users] Re: changing projection of a "polygon"

Sumit Sharma sumit321 at hotmail.com
Mon Jun 28 09:38:52 EDT 2010


if you want to do it on the fly you need to define projection parameter on
layer as well as on map objects in map file. You can treat projection
parameters on layer as your input parameters and on map as your output
parameters...
however if you want to convert your data from one projection to another,
safe approach would be to use OGR2OGR  utility. and still if you would like
to do it using mapscript (I would not recommend that) you can take reference
of source code of ogr2ogr.cpp.
 
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/changing-projection-of-a-polygon-tp5192083p5230807.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list