forked from kaktus40/Cesium-GeoserverTerrainProvider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmySLD.xml
25 lines (25 loc) · 975 Bytes
/
mySLD.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?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'>
<!-- a Named Layer is the basic building block of an SLD document -->
<NamedLayer>
<Name>SRTM2Color</Name>
<UserStyle>
<FeatureTypeStyle>
<Rule>
<RasterSymbolizer>
<Opacity>1.0</Opacity>
<ChannelSelection>
<GrayChannel>
<SourceChannelName>1</SourceChannelName>
</GrayChannel>
</ChannelSelection>
<ColorMap extended='true' type='ramp'>
<ColorMapEntry color='#000000' quantity='-32768'/>
<ColorMapEntry color='#BA9800' quantity='15000'/>
</ColorMap>
</RasterSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>