PHP/MapScript projection string

Robert Albrecht robert.albrecht at TKK.FI
Wed Mar 15 04:45:12 PST 2006


Found the solution.

The PHP/MapScript documentation says the projection parameters should be 
comma-delimited, but apparently the projection can be specified in the 
standard PROJ.4 format:
$projIn = ms_newProjectionObj("+proj=tmerc +lat_0=0 +lon_0=27 +k=1 
+x_0=3500000 +y_0=0 +towgs84=-75,-230,-89 +ellps=intl");

Now the coordinate transformation works as intended.

Robert



More information about the MapServer-users mailing list