Steve et. al.,
this legend issue is a major showstopper and makes GetLegendGraphic quite useless if you need utf-8 characters with truetype.

Is there any solution for this?

Best regards - Markus

Am 23.04.2015 um 09:45 schrieb mapserver:
I am migrating my mapserver application from 5.6.1 to 6.4.1 and have observed a
difference in the created legend images, i.e. truncating of class names - which
makes the legend image unusable in the end

The legend definition on both platforms is as such:

LEGEND
     KEYSIZE 22 12
     LABEL
       TYPE TRUETYPE
       FONT arial
       SIZE 8
       COLOR 0 0 0
       WRAP "@"
     END
     STATUS ON
END # legend

Mapfile: Umlauts in html-encoding like
    CLASS NAME "Öffentlicher Träger"

I have to use a truetype font, otherwise I can't render the German umlauts.

mapserver 5.6.1 gives this result:

http://maps.muenchen.de/wms-2/rgu/behindertenheime?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=l0&format=image/png&STYLE=default

and mapserver 6.4.1 gives this one:

http://kronos.muenchen.de/wms/rgu/behindertenheime?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=l0&format=image/png&STYLE=default

Have I missed something in the migration guide? Or are there parameter available
to increase the legend size?

Best regards - Markus
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to