[MapServer-users] LABEL wrap, maxlength oddity

Scott public at postholer.com
Mon Sep 16 11:25:15 PDT 2024


Greetings!

So I've made the leap from 7.6 to 8.2.2. Other than wrangling with the 
new .conf file setup, it's been fairly painless. I have .map files going 
back 13 years.

Here's a LABEL snippet that worked pre 8:

LABEL
    MAXLENGTH 0
    WRAP "|"
    ...
END

Doc's say (paraphrase), if MAXLENGTH is 0 WRAP at (char). Which has 
always worked.

Now, I get the error:
getInteger(): Symbol definition error. Parsing error near (0):(line 268)

If I change MAXLENGTH 1, it works.

Thanks for all your hard work MapServer devs!

Scott





More information about the MapServer-users mailing list