[Mapserver-users] WMS GetLegendGraphic and KEYIMAGE
Kralidis,Tom [Burlington]
Tom.Kralidis at ec.gc.ca
Wed Jul 7 09:41:58 PDT 2004
Right, but doesn't the legend object define a legend for the *entire*
WMS? This is a specific layer level legend KEYIMAGE -- i.e. I don't
want all my legend image dimensions to be the size of the KEYIMAGE in
the one layer.
..Tom
> -----Original Message-----
> From: Yewondwossen Assefa [mailto:assefa at dmsolutions.ca]
> Sent: Wednesday, July 07, 2004 10:21 AM
> To: Kralidis,Tom [Burlington]
> Cc: mapserver-users at lists.gis.umn.edu
> Subject: Re: [Mapserver-users] WMS GetLegendGraphic and KEYIMAGE
>
>
> 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