You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
handle LABEL MAXLENGTH 0 or -1 (RFC 40 functionality) #7160
with MapServer 8+, the former functionality of special results for LABEL (WRAP) MAXLENGTH 0 or -1 (see RFC 40) returns an error getInteger(): Symbol definition error. Parsing error near (-1)
due to new checks placed in MapServer 8, to force values of MAXLENGTH to be greater than zero
likely the check for MAXLENGTH should be removed, to re-enable the full RFC 40 functionality
(for fast local testing with MapServer 8, use the related msautotest labels-wrap.map)
Activity
jratike80 commentedon Sep 17, 2024
Could it be
MAXLENGTH >= -1?jmckenna commentedon Sep 17, 2024
@jratike80 yes that would make sense
lkrumov commentedon Oct 31, 2024
Could you please update the "MapServer Migration Guide" for the change that MAXLENGTH > 0?
jmckenna commentedon Dec 14, 2024
I've tried to document this in the
MAXLENGTHsection of the website, see: https://mapserver.org/mapfile/label.htmlI also added an example (and output label image) to that section.
Hope it helps others.
jmckenna commentedon Dec 14, 2024
@lkrumov I also added a note about this in the Migration Guide, thanks for that nudge.