[Mapserver-users] WMS GetLegendGraphic and KEYIMAGE

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Tue Jul 6 20:12:57 EDT 2004


Hi,

I've created a WMS, which has a layer, which defines KEYIMAGE in the
CLASS object.

>From what I understand, KEYIMAGE points to a static image file, so when
requesting a legend (either through OGC:WMS or classic mapserv
mode=legend), the static image is fed back.

When I request GetLegendGraphic from my WMS layer with KEYIMAGE, the
image comes back really small (i.e. 20 x 10).  My legend image is like
300 x 50 -- the output image looks like it scrunched into 20 x 10.

Suggestions?

Thanks

..Tom




More information about the mapserver-users mailing list