2010-03-12 15:49:34 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2010-11-01 19:57:44 +01:00
|
|
|
<Map background-color="white" srs="+init=epsg:32630">
|
2010-10-31 23:04:10 +01:00
|
|
|
|
2010-11-01 19:57:44 +01:00
|
|
|
<Style name="two-value" >
|
2010-03-12 15:49:34 +01:00
|
|
|
<Rule>
|
2010-11-01 19:57:44 +01:00
|
|
|
<RasterSymbolizer opacity="1" >
|
2010-03-12 15:49:34 +01:00
|
|
|
<RasterColorizer>
|
2010-11-01 19:57:44 +01:00
|
|
|
<ColorBand value="0" color="yellow" label="<0"></ColorBand>
|
|
|
|
<ColorBand value="26" color="purple" midpoints="1"></ColorBand>
|
|
|
|
</RasterColorizer>
|
|
|
|
</RasterSymbolizer>
|
|
|
|
</Rule>
|
|
|
|
</Style>
|
2010-10-31 23:04:10 +01:00
|
|
|
|
2010-11-01 19:57:44 +01:00
|
|
|
<Style name="ramped" opacity=".7">
|
|
|
|
<Rule>
|
|
|
|
<RasterSymbolizer>
|
|
|
|
<RasterColorizer>
|
|
|
|
<ColorBand value="0" color="red" label="<0"></ColorBand>
|
|
|
|
<ColorBand value="26" color="green" midpoints="100"></ColorBand>
|
|
|
|
</RasterColorizer>
|
2010-03-12 15:49:34 +01:00
|
|
|
</RasterSymbolizer>
|
|
|
|
</Rule>
|
|
|
|
</Style>
|
2010-10-31 23:04:10 +01:00
|
|
|
|
|
|
|
<Layer name="dataraster" srs="+init=epsg:32630">
|
2010-11-01 19:57:44 +01:00
|
|
|
<StyleName>ramped</StyleName>
|
2010-10-31 23:04:10 +01:00
|
|
|
<Datasource>
|
2010-11-01 19:57:44 +01:00
|
|
|
<!-- get stats on this file with gdalinfo ../raster/dataraster.tif -stats -->
|
|
|
|
<Parameter name="file">../raster/dataraster.tif</Parameter>
|
2010-10-31 23:04:10 +01:00
|
|
|
<Parameter name="type">gdal</Parameter>
|
|
|
|
<Parameter name="band">1</Parameter>
|
|
|
|
</Datasource>
|
|
|
|
</Layer>
|
|
|
|
|
2010-11-01 19:57:44 +01:00
|
|
|
</Map>
|