RE [Polluriel potentiel] Re: [mapserver-users] Scalebar Object in PHP Mapscript
Steve.Toutant at inspq.qc.ca
Steve.Toutant at inspq.qc.ca
Fri Jun 17 10:08:33 PDT 2011
Here is my definition
$oMap->scalebar->set("units", MS_METERS);
$oMap->scalebar->outlinecolor->setRGB(0,0,0);
$oMap->scalebar->set("status", MS_EMBED);
Daniel Morissette <dmorissette at mapgears.com>@lists.osgeo.org
Envoyé par : mapserver-users-bounces at lists.osgeo.org
2011-06-17 12:58
A
mapserver-users at lists.osgeo.org
cc
Objet
[Polluriel potentiel] Re: [mapserver-users] Scalebar Object in PHP
Mapscript
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
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110617/751bd6b0/attachment.htm>
More information about the MapServer-users
mailing list