Rob wrote:
Just looking at the API on the website, there is also a setWKTProjection method.

Does anybody know if this was around in Version 4.8.3 and if it is more perfomant than the ESPG lookup?


FYI, the following works for me with MapServer 4.8.4 (and 5.0), using PHP:


$map->setProjection('+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36 +units=m +no_defs');

echo $map->getProjection()."\n";


I suggest you double-check your code, you must have made some typos.

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