35 lines
1.1 KiB
XML
35 lines
1.1 KiB
XML
<Map background-color="white" srs="+init=epsg:32630" minimum-version="0.7.2">
|
|
|
|
<Style name="two-value">
|
|
<Rule>
|
|
<RasterSymbolizer opacity="1">
|
|
<RasterColorizer default_mode="discrete" default_color="#000000">
|
|
<stop value="0" color="yellow"></stop>
|
|
<stop value="26" color="purple"></stop>
|
|
</RasterColorizer>
|
|
</RasterSymbolizer>
|
|
</Rule>
|
|
</Style>
|
|
|
|
<Style name="ramped">
|
|
<Rule>
|
|
<RasterSymbolizer>
|
|
<RasterColorizer default_mode="linear" default_color="#000000">
|
|
<stop value="0" color="red"></stop>
|
|
<stop value="26" color="green"></stop>
|
|
</RasterColorizer>
|
|
</RasterSymbolizer>
|
|
</Rule>
|
|
</Style>
|
|
|
|
<Layer name="dataraster" srs="+init=epsg:32630">
|
|
<StyleName>ramped</StyleName>
|
|
<Datasource>
|
|
<!-- get stats on this file with gdalinfo ../raster/dataraster.tif -stats -->
|
|
<Parameter name="file">../raster/dataraster.tif</Parameter>
|
|
<Parameter name="type">gdal</Parameter>
|
|
<Parameter name="band">1</Parameter>
|
|
</Datasource>
|
|
</Layer>
|
|
|
|
</Map>
|