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