WMS GetLegendGraphic - Raster, Annotation AND GROUP

Bart van den Eijnden bartvde at XS4ALL.NL
Tue Nov 23 12:19:47 EST 2004


Hi,

there was a discussion about the GROUP layers and GetLegendGraphic in bug
653, comments 9-12:

http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=653

I can't remember what happened to my setup with GROUP layers, but it
shouldn't give back a red cross :), I will check with version 4.4 to see
if I can reproduce your problem.

Best regards,
Bart

On Tue, 23 Nov 2004 18:15:14 +0100, Till Adams <adams at TERRESTRIS.DE> wrote:

> Dear list,
>
> we've just implemented the "getlegendgraphic" URL in order to get an WMS
> based legend. Works fine for "normal" layers from umn v4.25. Good work
> to all who we're involved!!
>
> We don't receive a graphic for grouped layers (except the group has only
> one layer, but that makes no sense at all) and annotations.
>
> For pure raster layers there is no problem, because mapserver sends an
> empty image, but normaly rasters are often grouped layers for
> performance reasons, and then we get the "red cross" instead of an image
> :-(.
>
> Has anyone out there experinece with WMS and getlegendgraphic or is it
> just a bug and should we wait for umn v 4.4? I didn't try v4.4, maybe
> its done with that.
>
> Some examples on that:
>
> Works fine
> http://www.terrestris.de/cgi-bin/mapserv425?map=/var/www/html/webapps/recklinghausen/info.map&&format=image/png&REQUEST=getlegendgraphic&VERSION=1.1.1&SERVICE=WMS&layer=Info_und_Service
>
> Group does not work:
> http://www.terrestris.de/cgi-bin/mapserv425?map=/var/www/html/webapps/recklinghausen/hgk.map&&format=image/png&REQUEST=getlegendgraphic&VERSION=1.1.1&SERVICE=WMS&layer=Schienennetz
>
> Group and ANNOTATION does not work:
> http://www.terrestris.de/cgi-bin/mapserv425?map=/var/www/html/webapps/recklinghausen/hgk.map&&format=image/png&REQUEST=getlegendgraphic&VERSION=1.1.1&SERVICE=WMS&layer=Kreisgrenze
>
> sorry for the german ;-) and thanks in advance for any comment -
>
> Cheers, Till
>



--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/



More information about the mapserver-users mailing list