[mapserver-users] (no subject)

bartvde at osgis.nl bartvde at osgis.nl
Fri Feb 26 04:30:58 EST 2010


Hi,

which client are you using to display the legend?

The code below only changes the LegendURL advertized in the WMS
GetCapabilities response. It will not change things for mode=legend etc.

Best regards,
Bart

> Dear list,
> recently, I found an article that describes how to integrate an image file
> as a legend for the mapserver [1]. This exactly what I was searching for,
> therefore, I pasted the following lines into my mapfile (with some
> modifications for legendurl_href, of course). However, the map still shows
> the "normal" mapserver legend and not the desired image. The extra lines
> that are mentioned in the article mentioned before are:
>
> Metadata
> ...
> wms_style "default"
> wms_style_default_legendurl_height "174"
> wms_style_default_legendurl_width "270"
> wms_style_default_legendurl_href
> "http://yourwebserver/Suriname_legend.jpg"
> wms_style_default_legendurl_format "image/jpeg"
> END
>
> I would be very happy to receive some comments or ideas on this issue.
>
> Best regards,
> Wolfgang
>
> [1]
> http://www.onegeology.com/docs/technical/Onegeology_CookBookV1.0_Guidebook.pdf
> --
> Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
> jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>




More information about the mapserver-users mailing list