[mapserver-users] Weird multi-line label
Jackey Cheung
cheung.jackey at gmail.com
Thu Apr 15 02:45:37 PDT 2010
I've tried to disable the layer, and all such labels gone away, so I think
they are from the same layer. And there is only one class is that layer, so
I don't think they've got messed up.
On Wed, Apr 14, 2010 at 5:47 PM, thomas bonfort <thomas.bonfort at gmail.com>wrote:
> 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
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100415/5ee17bc6/attachment.htm>
More information about the MapServer-users
mailing list