[mapserver-users] Label problem
Shaz N
geo.engineer123 at gmail.com
Fri Dec 11 03:54:21 PST 2009
Hi all...
I want to have the street name labels placed within the width of road, in
the proper direction (angle etc) just like how it appears in Google Maps. I
am new to MapServer and I am not sure how I could achieve this.
This is what I tried:
CLASS
NAME 'AP Road'
MAXSCALE 10000
MINSCALE 5000
STYLE
COLOR 85 85 85
SYMBOL 'circle'
SIZE 4
ANTIALIAS TRUE
END
STYLE
COLOR 255 255 255
SYMBOL 'circle'
SIZE 2
ANTIALIAS TRUE
END
LABEL
ANGLE follow
COLOR 0 0 0
OUTLINECOLOR 255 255 255
FONT arial
TYPE TRUETYPE
SIZE 8
POSITION auto
BUFFER 10
END
END
This did not help. I have 19 classes of roads in my road layer. The labels
are the same in almost all in the classes. Styles vary according to the
scale. What changes do I make..I am very confused. Please kindly advise me
on how to proceed.
Thank you very much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20091211/bd73f058/attachment.htm>
More information about the MapServer-users
mailing list