[Mapserver-users] Is it possible to display WMS layers as part of a GIF legend
Daniel Morissette
dmorissette at dmsolutions.ca
Thu Apr 1 08:15:34 PST 2004
Stephen Clark wrote:
> OK that works.
>
> But is it possible to get a legend object (raster or vector) from the WMS
> server directly?
>
If the WMS server supports SLD then you may be able to use
GetLegendGraphic. This is supported in MapServer 4.1 (CVS), e.g.
http://www2.dmsolutions.ca/cgi-bin/mswms_gmap_dev?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&LAYER=prov_bound&WIDTH=30&HEIGHT=20&FORMAT=image/png
Daniel
--
------------------------------------------------------------
Daniel Morissette dmorissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list