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

Daniel Morissette dmorissette@dmsolutions.ca
Thu, 01 Apr 2004 11:15:34 -0500


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/
------------------------------------------------------------

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