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.<div><br><br><div class="gmail_quote">
On Wed, Apr 14, 2010 at 5:47 PM, thomas bonfort <span dir="ltr"><<a href="mailto:thomas.bonfort@gmail.com">thomas.bonfort@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">are you sure they come from the same class/layer ?<br>
try changing the label color to make sure<br>
<br>
regards,<br>
thomas<br>
<br>
On Wed, Apr 14, 2010 at 11:02, Jackey Cheung <<a href="mailto:cheung.jackey@gmail.com">cheung.jackey@gmail.com</a>> wrote:<br>
</div><div><div></div><div class="h5">> Hi all,<br>
> I am playing around with labels and meet weird situations.<br>
> Here's the class I use to generate the attached image<br>
> PROJECTION<br>
> "init=epsg:4326"<br>
> END<br>
> LABELITEM "name"<br>
> CLASS<br>
> MINSCALEDENOM 10000<br>
> # STYLE<br>
> # COLOR 40 160 20<br>
> # END<br>
> LABEL<br>
> ANGLE [angle]<br>
> PRIORITY [priority]<br>
> ENCODING "UTF-8"<br>
> COLOR 0 0 0<br>
> OUTLINECOLOR 255 255 255<br>
> TYPE TRUETYPE<br>
> FONT "msyh"<br>
> SIZE 8<br>
> POSITION AUTO<br>
> PARTIALS FALSE<br>
> MINFEATURESIZE 20<br>
> ALIGN CENTER<br>
> MAXLENGTH -4<br>
> END<br>
> END<br>
><br>
> I was expecting every label to be wrapped at the 4th character. However only<br>
> those in green circles are wrapped, while others are not. Do I get something<br>
> wrong?<br>
><br>
> P.S. I've try using WRAP "" and WRAP " ", but got the same image.<br>
</div></div>> _______________________________________________<br>
> mapserver-users mailing list<br>
<div class="im">> <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
</div><div><div></div><div class="h5">> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
><br>
><br>
</div></div></blockquote></div><br></div>