+ Reply to Thread
Results 1 to 2 of 2

Thread: SLD - Legend - example

  1. #1
    ira graffman
    Join Date
    Jan 2011
    Posts
    2
    Points
    0
    Answers Provided
    0


    0

    Default SLD - Legend - example

    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!

  2. #2
    Yingqi Tang
    Join Date
    Nov 2009
    Posts
    28
    Points
    2
    Answers Provided
    0


    0

    Default Re: SLD - Legend - example

    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

    Quote Originally Posted by igraffman View Post
    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!

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts