[mapserver-users] Label problem
Shaz N
geo.engineer123 at gmail.com
Wed Dec 16 00:13:05 PST 2009
Hi..
Thank you for your reply Steve.
Thanks to Mr Worth, I've solved the major part of my labeling error. The map
file looks much more neater now and I am almost satisfied. But there is
something that is still puzzling me.
I have attached 3 pics with this email. Img 1, 2 and 3 all show the same
area but at different zoom scales. I have shown different classes of roads
in different contrasting colors so that we can easily differentiate them
during the study.
Here is the portion from my map file:
LABEL
ANGLE follow
COLOR 0 0 255
FONT arial
TYPE TRUETYPE
SIZE 7
POSITION auto
ANTIALIAS true
MINFEATURESIZE auto
MINDISTANCE 100
MAXSIZE 7
BUFFER 5
PARTIALS false
END
END # end class
These are for the 3 classes of roads in which the label does not lie within
the width of the road.
The other classes, in which the label is placed within the width of the road
and follows the road perfectly, have the following labels:
LABEL
ANGLE follow
COLOR 0 0 255
FONT arial
TYPE TRUETYPE
SIZE 8
POSITION auto
PARTIALS false
ANTIALIAS true
MINFEATURESIZE 50
MINDISTANCE 150
MAXSIZE 8
BUFFER 5
END
END # end class
I have tried changing the width of the road under 'style' of the class, and
also the size of the label, but I do not see any changes in the position of
these labels.
I use MapServer version 5.
Is there anything I can do to solve this?
Thanks.
Regards,
Shaz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20091216/ec0f4428/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Img 1.JPG
Type: image/jpeg
Size: 62137 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20091216/ec0f4428/attachment.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Img 2.JPG
Type: image/jpeg
Size: 26975 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20091216/ec0f4428/attachment-0001.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Img 3.JPG
Type: image/jpeg
Size: 15512 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20091216/ec0f4428/attachment-0002.jpe>
More information about the MapServer-users
mailing list