[Mapserver-users] Is it possible to display WMS layers as part of a GIF legend

Daniel Morissette dmorissette@dmsolutions.ca
Thu, 01 Apr 2004 10:42:32 -0500


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@dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users