[mapserver-users] Characters breaks variable substitution in TEXT parameter
Nicol Hermann
mapserver at geoworld.de
Sat Mar 28 03:25:17 PDT 2020
Hello,
I want to use the TEXT parameter within a CLASS LABEL block to label
features with multiple fields.
CLASS
LABEL
TEXT "[frist] [second] [third]"
COLOR 0 0 0
FONT "arial"
...
END
END
I found that any character in between the specified fields of the TEXT
keyword breaks the substitution of the fields.
This works
TEXT "[frist] [second] [third]"
Does not work (the output is: '2 - [second] - [third]')
TEXT "[frist] - [second] - [third]"
Does not work either (same out like above just with line breaks)
TEXT "[frist] - [second] - [third]"
WRAP '-'
Any idea how to concatenate text with substitutes from multiple field?
In the ideal case in combination with the WRAP parameter.
Thanks
Nicol
More information about the MapServer-users
mailing list