[mapserver-users] MapServer 4.8.3: MapScript setProjection

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Wed Mar 12 09:44:50 EDT 2008


Rob wrote:
 
 > Excuse the stupid question, but what do you mean by native PROJ4
definition?  Do you mean applying the inline parameters directly?  
 
He means  giving the projections with the actual strings which are also
hidings behind the epsg codes, for example this means the same as
epsg:2393
 
PROJECTION "+proj=tmerc +lat_0=0 +lon_0=27 +k=1.000000 +x_0=3500000
+y_0=0 +ellps=intl +towgs84=-90.7,-106.1,-119.2,4.09,0.218,-1.05,1.37
+units=m +no_defs"
 
Projection strings are slower to write into mapfile but for Mapserver
they are faster to execute because these is no need to jump to
projection library file. If you have MS4W installation you can find the
strings to use from D:\ms4w\proj\nad directory, most of them from file
names epsg.
 
-Jukka Rahkonen-
 
 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080312/0e3f318f/attachment.html


More information about the mapserver-users mailing list