[mapserver-users] Legend difference in 5.6.1 and 6.4.1

mapserver mapserver at markus-spring.de
Thu Apr 23 00:45:53 PDT 2015


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



More information about the MapServer-users mailing list