avoid label collision in scalebar

Steve Lime Steve.Lime at DNR.STATE.MN.US
Wed Dec 27 12:33:29 EST 2006


Bart: There is no mechanism in place at the moment to avoid this. There
would be a couple of strategies
to employ in the C code, which one would depend on the nature of the
overlap (e.g. too many places vs.
to many intervals):

  - allow definition of a format string for labels
  - define a unit of measure hierarchy (e.g. km -> m -> cm)
  - automatically reduce the number of intervals if overlap is
detected

Just some ideas...

Steve
  

>>> "Eijnden, Bart van den (AGI)" <b.vdeijnden at AGI.RWS.MINVENW.NL>
12/27/2006 9:47:12 AM >>>
Hi list,
 
is there a way to avoid label collision in the scalebar?
 
Currently, when I zoom in very far, the labels overlap which makes the
scalebar unreadable.
 
Is it possible to avoid this, if so does anybody have a set of SCALEBAR
settings to share?
 
Thanks in advance.
 
Best regards,
Bart



Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te
informeren. Wij adviseren u om bij twijfel over de juistheid of de
volledigheid van de mail contact met afzender op te nemen.

This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************



More information about the mapserver-users mailing list