[mapserver-users] Force labels uppercase
Seth G
sethg at geographika.co.uk
Thu Oct 12 05:54:26 PDT 2017
Hi,
Are you missing a bracket at the end of your expression?
EXPRESSION (upper("[NAME]"))
Also maybe check that the following hard coded string works?
EXPRESSION (upper("test"))
Regards,
Seth
--
web:http://geographika.co.uk
twitter: @geographika
On Thu, Oct 12, 2017, at 01:59 PM, Anton Bakker wrote:
> 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
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list