[mapserver-users] STREET LABEL WON'T FOLLOW THE STREET
Rahkonen Jukka
Jukka.Rahkonen at mmmtike.fi
Fri Oct 17 08:50:58 PDT 2008
Hi,
What do you mean by "instead"? Really that texts do not follow the streets at all, or that they do follow the line, but just a few labels are shown on a map?
Label disappearing must be due to collision handling mechanism. See what happens if you add FORCE TRUE to label definitions, that should draw always all the labels and you can see if the labels are following the lines or not. If they do then you need just to play with label MINDISTANCE and MINFEATURESIZE parameters so that you'll get more labels which do not collide.
I have actually never played with labels myself, I was just reading the mapfile reference and tried to think what might be wrong with your map. I hope my suggestions are not misleading.
-Jukka Rahkonen-
-----Alkuperäinen viesti-----
Lähettäjä: mapserver-users-bounces at lists.osgeo.org puolesta: ntiamoah bernard
Lähetetty: pe 17.10.2008 18:29
Vastaanottaja: mapserver-users at lists.osgeo.org
Aihe: [mapserver-users] STREET LABEL WON'T FOLLOW THE STREET
Hi guys
I need help in making the street labels follow the street. Someone suggested this code below but it makes most of the labels disappear instead. Help please
CLASS
EXPRESSION '4'
COLOR 0 0 0 # dummy color
SYMBOL 0
LABEL
SIZE tiny
OUTLINECOLOR 255 255 255
ANGLE FOLLOW
POSITION AUTO
OFFSET 0 0
COLOR 0 0 0
BUFFER 2
MINDISTANCE 200
PARTIALS FALSE
MINFEATURESIZE 20
END
END
Berrnard
Indiana
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the MapServer-users
mailing list