Re: [mapserver-users] scalebar - control units based on scale?

2008-09-24 Thread Steve Lime
Hi Mark: There's no easy way in MapServer. The way I'd do it would be
to intervene on the client side and change calls to MapServer to use
scalebar units in feet instead of miles once you cross a scale threshold. You
can do that by appending map.scalebar=units%20feet to the URLs.

Steve

>>> "Mark Volz" <[EMAIL PROTECTED]> 09/24/08 1:32 PM >>>
Hello,

 

Is there a way to use the current scale to control the units used on the
scalebar?

 

For example I would like the scalebar to display

*   100 feet instead of .019 miles when I am zoomed in
*   12 miles instead of 63000 feet when I am zoomed out

 

 

Mark Volz

GIS Specialist

Lyon County, MN

(507) 532-8218

 


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] scalebar - control units based on scale?

2008-09-24 Thread Mark Volz
Hello,

 

Is there a way to use the current scale to control the units used on the
scalebar?

 

For example I would like the scalebar to display

*   100 feet instead of .019 miles when I am zoomed in
*   12 miles instead of 63000 feet when I am zoomed out

 

 

Mark Volz

GIS Specialist

Lyon County, MN

(507) 532-8218

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users