2011-02-05 04:21:22 +01:00
|
|
|
<Map background-color="white" srs="+init=epsg:32630" minimum-version="0.7.2">
|
2010-10-31 23:04:10 +01:00
|
|
|
|
2011-02-05 04:21:22 +01:00
|
|
|
<Style name="two-value">
|
2010-03-12 15:49:34 +01:00
|
|
|
<Rule>
|
2011-02-05 04:21:22 +01:00
|
|
|
<RasterSymbolizer opacity="1">
|
2010-03-12 15:49:34 +01:00
|
|
|
<RasterColorizer>
|
2011-02-05 04:21:22 +01:00
|
|
|
<ColorBand value="0" color="yellow" label="<0"/>
|
|
|
|
<ColorBand value="26" color="purple" midpoints="1"/>
|
2010-11-01 19:57:44 +01:00
|
|
|
</RasterColorizer>
|
|
|
|
</RasterSymbolizer>
|
|
|
|
</Rule>
|
|
|
|
</Style>
|
2010-10-31 23:04:10 +01:00
|
|
|
|
2011-01-31 19:30:14 +01:00
|
|
|
<Style name="ramped">
|
2010-11-01 19:57:44 +01:00
|
|
|
<Rule>
|
|
|
|
<RasterSymbolizer>
|
|
|
|
<RasterColorizer>
|
2011-02-05 04:21:22 +01:00
|
|
|
<ColorBand value="0" color="red" label="<0"/>
|
|
|
|
<ColorBand value="26" color="green" midpoints="100"/>
|
2010-11-01 19:57:44 +01:00
|
|
|
</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>
|