[mapserver-users] Scalebar Object in PHP Mapscript

Daniel Morissette dmorissette at mapgears.com
Fri Jun 17 12:58:58 EDT 2011


On 11-06-17 12:18 PM, Steve.Toutant at inspq.qc.ca wrote:
>
> $oMap->setProjection is set to 900913 in php mapscript,
> The WMS called is in Projection EPSG:32198, but 900913 is in the list of
> available projections
>

Did you set the units at the map level? Setting the projection is not 
enough. i.e.

$oMap->set("units", MS_METERS);

-- 
Daniel Morissette
http://www.mapgears.com/
Provider of Professional MapServer Support since 2000



More information about the mapserver-users mailing list