Skip to content

Instantly share code, notes, and snippets.

@d3netxer
Last active May 19, 2016 19:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save d3netxer/49879ccb43c8bfe328bbbc5771eb8df9 to your computer and use it in GitHub Desktop.
Save d3netxer/49879ccb43c8bfe328bbbc5771eb8df9 to your computer and use it in GitHub Desktop.
geonode-slds
- Log into GeoNode as Admin
- In the menu, click on GeoServer and open a new tab
- In the GeoServer data menu, click on 'styles'
<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd"
xmlns="http://www.opengis.net/sld"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<NamedLayer>
<Name>pancolormap</Name>
<UserStyle>
<Title>pancolormap</Title>
<FeatureTypeStyle>
<Rule>
<RasterSymbolizer>
<ColorMap>
<ColorMapEntry color="#323232" quantity="000" label="low" opacity="1"/>
<ColorMapEntry color="#e3e3e3" quantity="300" label="high" opacity="1"/>
</ColorMap>
</RasterSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment