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

Stephen Clark stephen.clark at focus.ca
Thu Apr 1 11:51:25 EST 2004


OK that works.

But is it possible to get a legend object (raster or vector) from the WMS
server directly?

stephen

----- Original Message ----- 
From: "Daniel Morissette" <dmorissette at dmsolutions.ca>
To: "Stephen Clark" <stephen.clark at focus.ca>
Cc: <mapserver-users at lists.gis.umn.edu>
Sent: Thursday, April 01, 2004 7:42 AM
Subject: Re: [Mapserver-users] Is it possible to display WMS layers as part
of a GIF legend


> 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