[mapserver-users] bad legend graphic from keyimage in Mapserv 5.6.0

Martin Kofahl M.Kofahl at gmx.net
Mon Dec 14 04:14:39 EST 2009


Hi,
I encountered a problem with WMS GetLegendGraphic requests when configured with KEYIMAGE + KEYSIZE. The image size is ok but the 'content' is scaled to ~50%, thus huge white border. MapServ 5.2.1 worked fine, 5.6.0 doesn’t.

Shortened configuration:

MAP
        RESOLUTION 96
        DEFRESOLUTION 96

        LEGEND
                KEYSIZE 330 1018
        END

        LAYER
                CLASS
                        KEYIMAGE '/…/legend.gif' # size 330x1018
                END
        END
END

Do I miss some new configurations directives?
Martin


More information about the mapserver-users mailing list