Are there any examples, tutorials or links that explain how to use a Styled Layer Descriptor (SLD) to return a per-defined legend
graphic (png, gif) in a WMS service?
Thanks!
Are there any examples, tutorials or links that explain how to use a Styled Layer Descriptor (SLD) to return a per-defined legend
graphic (png, gif) in a WMS service?
Thanks!
Hi,
The WMS Service help in ArcGIS Server Help has a sample GetLegendGraphic request
http://help.arcgis.com/en/arcgisserv...0000059000000/
Basically you are calling GetLegendGraphic with SLD/SLD_BODY parameter, e.g.
http://myserver/arcgis/services/OGC/...R53077/sld.xml
In request above you can adjust the size and format of the legend.
Thanks
Bookmarks