RE: [mapserver-users] Scalebar Object in PHP Mapscript

2011-06-17 Thread Steve . Toutant
I have this set as well $oMap->set("units", MS_METERS); But I still have the problem Steve "Lime, Steve D (DNR)" 2011-06-16 18:31 A "steve.tout...@inspq.qc.ca" , "mapserver-users@lists.osgeo.org" cc Objet RE: [mapserver-users] Scalebar Object i

RE [Polluriel potentiel] Re: [mapserver-users] Scalebar Object in PHP Mapscript

2011-06-17 Thread Steve . Toutant
o.org 2011-06-17 12:58 A mapserver-users@lists.osgeo.org cc Objet [Polluriel potentiel] Re: [mapserver-users] Scalebar Object in PHP Mapscript On 11-06-17 12:18 PM, steve.tout...@inspq.qc.ca wrote: > > $oMap->setProjection is set to 900913 in php mapscript, > The WMS called is i

Re: [mapserver-users] Scalebar Object in PHP Mapscript

2011-06-17 Thread Daniel Morissette
On 11-06-17 12:18 PM, steve.tout...@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. $

RE: [mapserver-users] Scalebar Object in PHP Mapscript

2011-06-17 Thread Steve . Toutant
out...@inspq.qc.ca" , "mapserver-users@lists.osgeo.org" cc Objet RE: [mapserver-users] Scalebar Object in PHP Mapscript What do you mean by ?the map is well scaled but the scalebar is not ?? Other common params would be SIZE, STYLE and INTERVALS. Does the map have units set? S

RE: [mapserver-users] Scalebar Object in PHP Mapscript

2011-06-16 Thread Lime, Steve D (DNR)
What do you mean by "the map is well scaled but the scalebar is not "? Other common params would be SIZE, STYLE and INTERVALS. Does the map have units set? Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of steve.tout...@inspq.qc.c