labeling streetlines
Bob Basques
bob.basques at CI.STPAUL.MN.US
Wed Dec 29 12:01:59 PST 2004
Paul Smith wrote:
>Hello All
>
>I have an application that utilizes public domain tiger streetlines. When I
>add labels, there are multiple labels for street segments. How can I have
>the redundant labels removed sort of like I have merged by street names.
>
>Paul
>
>
>
This should get you close (pay particular attention to the MINDISTANCE
and MINFEATURESIZE values in the LAYER definition), you'll need to
experiment with the settings to use :
LAYER
NAME 'names'
DATA '../../data/tlg01/tlg_roads_l'
STATUS DEFAULT
TYPE ANNOTATION
LABELITEM 'STREETALL'
CLASS
LABEL
ANGLE AUTO
TYPE TRUETYPE
FONT bluehigh
ANTIALIAS FALSE
COLOR 255 255 0
OUTLINECOLOR 0 0 0
SIZE 14
POSITION CC
MINDISTANCE 300
MINFEATURESIZE 20
PARTIALS FALSE
##WRAP ' '
END
END
MINSCALE 501 ## 4 feet per pixel
MAXSCALE 16000 ## 32 feet per pixel
END
More information about the MapServer-users
mailing list