Rahkonen Jukka 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:2393PROJECTION "+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 int 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.
Excuse the stupid answer, you were asking about MapScript which I know nothing about. Basically it must be
about the same thing, though.

Your answer applies to MapScript as well. In the MapScript case you'd do:

$map->setProjection("+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"

Daniel
--
Daniel Morissette
http://www.mapgears.com/
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to