[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[udig-devel] sld Colormap
|
Hi all,
is it possible to apply a colormap to a tif in uDig. I think yes, but
probably I have written the wrong code.
I have written this sld file:
<?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">
<UserLayer>
<Name>simple</Name>
<UserStyle>
<Title>Default Styler</Title>
<FeatureTypeStyle>
<Rule>
<RasterSymbolizer>
<Opacity>1</Opacity>
<ColorMap>
<ColorMapEntry color="#ffffff" quantity="25"/>
<ColorMapEntry color="#ffffff" quantity="50"/>
<ColorMapEntry color="#ffffff" quantity="75"/>
<ColorMapEntry color="#ffd7ff" quantity="0"/>
<ColorMapEntry color="#ffffff" quantity="125"/>
<ColorMapEntry color="#ffffff" quantity="150"/>
<ColorMapEntry color="#ffffff" quantity="175"/>
<ColorMapEntry color="#ffffff" quantity="200"/>
</ColorMap>
</RasterSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</UserLayer>
</StyledLayerDescriptor>
I have tried to import it in uDig, but I have no visual result.
Thank you,
Andrea
-----
Andrea Borruso
----------------------------------------------------
email: aborruso@xxxxxx
blog: http://blog.spaziogis.it
----------------------------------------------------
--
View this message in context: http://www.nabble.com/sld-Colormap-tp18404503p18404503.html
Sent from the udig-devel mailing list archive at Nabble.com.