[mapserver-users] Bobs Googlish road symbolization help
J.J. Schlafley
jjschlafley at yahoo.com
Fri Mar 27 09:05:56 PDT 2009
HI,
I am using Bob's Googlish road symbolization example, but cant get road shields to "line up" with road labels. GAP property for my symbol doesnt seem to work. Symbol and Layer def below. Mapserver version 5.2.
Thanks for the input
SYMBOL
NAME "highway"
TYPE ellipse
FILLED true
POINTS
1.5 1
END
GAP 10
END
LAYER
NAME 'road_sym'
GROUP 'interstate_poly'
DATA "Roads"
STATUS OFF
TYPE ANNOTATION
CLASSITEM 'FCC'
LABELITEM 'RDNUMBER'
TOLERANCE 1000
CLASS
EXPRESSION (("[FCC]" = "A11") OR ("[FCC]" = "A12")) # interstates
STYLE
SYMBOL 'highway'
SIZE 18
COLOR 115 113 206
OUTLINECOLOR 254 254 254
END
LABEL
TYPE TRUETYPE
FONT arial
SIZE 12
COLOR 254 254 254
MINDISTANCE 200
MINFEATURESIZE 10
OFFSET 0 0
PARTIALS FALSE
END
END
CLASS
EXPRESSION 'A21' # US Highway
STYLE
SYMBOL 'highway'
SIZE 18
COLOR 255 255 255
OUTLINECOLOR 0 0 0
END
LABEL
TYPE TRUETYPE
FONT arial
SIZE 11
COLOR 0 0 0
MINDISTANCE 250
MINFEATURESIZE 15
OFFSET 0 -1
PARTIALS FALSE
END
MAXSCALE 400000
END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090327/850e538e/attachment.htm>
More information about the MapServer-users
mailing list