Hi Jody,

Right now I am testing against a UMN Mapserver. But I can't see any
requests in our access log wrt GetLegendGraphic at all.

LegendURL is in the WMS GetCapabilities response. But UMN Mapserver by
default advertizes 18x12 pixels, whereas the generated legends can be much
larger than that (300 pixels eg). In the WMS 1.3 spec this has been fixed
by making width/height optional for LegendURL. So the best (most reliable)
thing a client can do is just inspect the image to determine the actual
size, but I don't know if uDIG could handle that.

So but basically the legend will only be displayed in the Layer view?
There is no way to get a larger legend in uDIG? What happens then to
layers like soil maps with 250 classes and big legends?

Best regards,
Bart

> Bart van den Eijnden (OSGIS) wrote:
>> Hi list,
>>
>> how can I get a legend to display for a WMS layer in uDIG?
>>
>> Does it work using LegendURL or using SLD WMS GetLegendGraphic?
>>
> GetLegendGraphics, it requests a 16x16 icon, and will attempt to
> "rescale" if the service provides
> a different size.
>
> Where is LegendURL? I can try that as well...
> Cheers,
> Jody
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>


_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to