and keyword is never quoted... I should remember.  Work great thk you<div><br></div><div><br><br><div class="gmail_quote">2010/2/24 thomas bonfort <span dir="ltr">&lt;<a href="mailto:thomas.bonfort@gmail.com">thomas.bonfort@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">the label block in<br>
<a href="http://code.google.com/p/mapserver-utils/source/browse/trunk/places.map" target="_blank">http://code.google.com/p/mapserver-utils/source/browse/trunk/places.map</a><br>
is how the wrapping is done on city names on the map shown on the<br>
mapserver front page.<br>
as for your label block:<br>
* center must not be quoted, it&#39;s a keyword<br>
* maxlength 12 will not wrap many labels, unless you have very long<br>
ones (the wrapping length is in characters, not pixels)<br>
<br>
regards,<br>
thomas<br>
<div><div></div><div class="h5"><br>
On Wed, Feb 24, 2010 at 17:28, Simon Mercier &lt;<a href="mailto:mercier.simon@gmail.com">mercier.simon@gmail.com</a>&gt; wrote:<br>
&gt; Hi, Does anybody have success with the ALIGN parameter assumed to be<br>
&gt; implement since 5.4?<br>
&gt; (<a href="http://mapserver.org/development/rfc/ms-rfc-40.html#rfc40" target="_blank">http://mapserver.org/development/rfc/ms-rfc-40.html#rfc40</a>) I try with<br>
&gt; mapserver 5.6.1 on linux and via MS4W-beta10. This is my mapfile and still<br>
&gt; no success?  I have found no example I do not see where I fail on this one?<br>
&gt; getSymbol(): Symbol definition error. Parsing error near (center):(line 55)<br>
&gt;             LABEL<br>
&gt;                 OUTLINECOLOR 255 255 255<br>
&gt;                 COLOR 0 0 0<br>
&gt;                 FONT &quot;vera&quot;<br>
&gt;                 TYPE truetype<br>
&gt;                 POSITION AUTO<br>
&gt;                 BUFFER 5<br>
&gt;                 SIZE 8<br>
&gt;                 OFFSET 1 1<br>
&gt;                 MAXLENGTH 12<br>
&gt;                 WRAP &quot; &quot;<br>
&gt;                 ALIGN &quot;center&quot;<br>
&gt;             END<br>
</div></div>&gt; _______________________________________________<br>
&gt; mapserver-users mailing list<br>
&gt; <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br></div>