[Mapserver-users] WMS GetLegendGraphic and KEYIMAGE
Yewondwossen Assefa
assefa at dmsolutions.ca
Wed Jul 7 07:20:33 PDT 2004
Tom,
Here is how the size is determined :
- If Width and Height parameter are passed in the GetLegendGraphic
request , they will be used.
- If not, it will use the size oparameters in the legend object
- if none of the above is valid, the defaut size will be 20/20.
Later,
Kralidis,Tom [Burlington] wrote:
> 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
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
More information about the MapServer-users
mailing list