Removing MAXLENGTH altogether did the trick!
Yeah, updating the docs seems appropriate.
Thanks for the quick response Jeff!
On 9/16/24 13:57, Jeff McKenna via MapServer-users wrote:
Hi Scott!
This might be from our more strict checks in MapServer >= 8. I tried
the msautotest for wrap (
https://github.com/MapServer/MapServer/blob/main/msautotest/renderers/labels-wrap.map ), and if I set "MAXLENGTH 0" I get your error (I do see in the docs a hidden line of "must be greater than zero", which is odd because above that in the docs it explains the case for "maxlength = 0").
If I comment out the MAXLENGTH parameter completely, it wraps at the "|"
character as expected (please also try that for your mapfile - does that
solve it?).
In other words, maybe I just need to update the docs, to not set
maxlength, if you want to wrap at the wrap character.
Thoughts?
thanks,
-jeff
_______________________________________________
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users