[mapserver-users] How to disable repeated labels

Stephen Woodbridge woodbri at swoodbridge.com
Tue Apr 3 10:59:11 EDT 2012


On 4/3/2012 10:57 AM, Jason Jackson wrote:
> I would like to disable the repeating of labels along roads in a
> mapserver 5.6 based map. However, whether or not I use the
> REPEATDISTANCE setting for the LABEL and irregardless of its setting,
> I get too many repeated labels. Is there anything I can do to prevent
> it repeating the labels?


REPEATDISTANCE is to force labels to repeat. You want to set MINDISTANCE 
to a value greate than you image width or height.

-Steve W


More information about the mapserver-users mailing list