Providing geoscience data globally Navigation
Main content
Bottom links


Home > How to serve a OneGeology WMS > How to create a Styled Layer Descriptor (SLD) using Arc2Earth

Appendix J: How to create a Styled Layer Descriptor (SLD) using Arc2Earth

Arc2Earth is a plugin for ArcGIS that is available in several different editions. The Community edition is free and provides access to the SLD generator. Arc2Earth is available at

  1. Install the Arc2Earth plugin
  2. Open ArcMap
  3. Open the ArcMap project containing the layer or layers to export as SLDs
  4. Select the desired layer in the catalog tree
  5. In the Arc2Earth toolbar, click Export > Export Layer Style to SLD
  6. Navigate to the appropriate location
  7. Click Export

After your SLD has been exported, open the .sld in any XML or text editor. Note that the Arc2Earth plug-in adds an outline (stroke) to polygon layers. If you are working with polygon layers, the stroke may need to be tailored or removed manually. Also, it may be necessary to customize the heading for your SLD, or change the schema location.

Note: though .sld files, like any XML document, may be edited by a generic text editor, such as the Notepad or Wordpad text editors included with Windows operating systems, some text editors are better suited to working with XML documents than others. One example of a free-and-open-source text editor designed with XML support is Notepad++ (be sure to get the XML tools plugin).

Section last modified: 15 February 2013