[mapserver-users] Weird multi-line label

thomas bonfort thomas.bonfort at gmail.com
Wed Apr 14 05:47:32 EDT 2010


are you sure they come from the same class/layer ?
try changing the label color to make sure

regards,
thomas

On Wed, Apr 14, 2010 at 11:02, Jackey Cheung <cheung.jackey at gmail.com> wrote:
> Hi all,
> I am playing around with labels and meet weird situations.
> Here's the class I use to generate the attached image
> PROJECTION
> "init=epsg:4326"
> END
> LABELITEM "name"
> CLASS
> MINSCALEDENOM 10000
> # STYLE
> # COLOR 40 160 20
> # END
> LABEL
> ANGLE [angle]
> PRIORITY [priority]
> ENCODING "UTF-8"
> COLOR 0 0 0
> OUTLINECOLOR 255 255 255
> TYPE TRUETYPE
> FONT "msyh"
> SIZE 8
> POSITION AUTO
> PARTIALS FALSE
> MINFEATURESIZE 20
> ALIGN CENTER
> MAXLENGTH -4
> END
> END
>
> I was expecting every label to be wrapped at the 4th character. However only
> those in green circles are wrapped, while others are not. Do I get something
> wrong?
>
> P.S. I've try using WRAP "" and WRAP " ", but got the same image.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>


More information about the mapserver-users mailing list