[mapserver-users] Force labels uppercase
Anton Bakker
anton.bakker at geocat.net
Thu Oct 12 04:59:04 PDT 2017
Hi list,
I am trying to set a label to uppercase in my mapfile (example https://i.imgur.com/ExRZhia.png). Seems it is already implemented (https://github.com/mapserver/mapserver/issues/4255), but I cannot figure out how use it.
The comments in the issue seem to hint at an expression element in the label element:
LABEL
TYPE TRUETYPE
ALIGN LEFT
ANGLE AUTO
ANTIALIAS TRUE
BUFFER 2
COLOR 107 107 108
FONT arial
MINDISTANCE 200
MINFEATURESIZE AUTO
PARTIALS FALSE
POSITION AUTO
PRIORITY 10
SIZE 14
EXPRESSION (upper("[NAME]")
END
But this did not work for me. Anybody knows how to force labels to appear in uppercase?
Thanks!
Kind regards,
Anton
More information about the MapServer-users
mailing list