[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
[Mapserver-users] Is it possible to display WMS layers as partof a GIF legend
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@dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------