[Mapserver-users] Is it possible to display WMS layers as part of a GIF legend
Daniel Morissette
dmorissette at dmsolutions.ca
Thu Apr 1 07:42:32 PST 2004
Stephen Clark wrote:
> For example I have the following layer an I want to add to a raster (png)
> legend as per the attached image
>
> How can I get the color of the raster WMS layer to display in the legend
> correctly?
>
You could try setting KEYIMAGE in your layer to point to a small legend
icon that would be used for that layer. I'm not sure when that was
added (4.0 or 4.1?) and didn't try it myself, but that should do the trick.
Daniel
--
------------------------------------------------------------
Daniel Morissette dmorissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list