hello, I’m trying to to show an elevation raster with the following sld:
<?xml version="1.0" encoding="UTF-8"?>
CFuego:altura
raster
Alturas
Estilo para alturas (intento)
1.0
But the map always appears painted with the color of the first ColorMapEntry.
What am I doing wrong?
thanxs
Nicolás Badano ha scritto:
hello, I'm trying to to show an elevation raster with the following sld:
Which version of GeoServer are you using? The raster symbolizer
started to be supported at release 1.7.0.
The shaded relief is not supported, even today.
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Ciao Nicolas,
as andrea pointed out we need more info:
1> geoserver version
2> platform
3> type of data.
Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy
phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928
http://www.geo-solutions.it
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini
-------------------------------------------------------
On Mon, Jan 19, 2009 at 8:23 PM, Nicolás Badano
<nicolas.badano@anonymised.com> wrote:
hello, I'm trying to to show an elevation raster with the following sld:
<?xml version="1.0" encoding="UTF-8"?>
<StyledLayerDescriptor 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"
xsi:schemaLocation="http://www.opengis.net/sld
http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd"
version="1.0.0">
<UserLayer>
<Name>CFuego:altura</Name>
<LayerFeatureConstraints>
<FeatureTypeConstraint/>
</LayerFeatureConstraints>
<UserStyle>
<Name>raster</Name>
<Title>Alturas</Title>
<Abstract>Estilo para alturas (intento)</Abstract>
<FeatureTypeStyle>
<Rule>
<RasterSymbolizer>
<Opacity>1.0</Opacity>
<OverlapBehavior>
<AVERAGE/>
</OverlapBehavior>
<ColorMap>
<ColorMapEntry color="#00ff00" quantity="-500"/>
<ColorMapEntry color="#00fa00" quantity="-417"/>
<ColorMapEntry color="#14f500" quantity="-333"/>
<ColorMapEntry color="#28f502" quantity="-250"/>
<ColorMapEntry color="#3cf505" quantity="-167"/>
<ColorMapEntry color="#50f50a" quantity="-83"/>
<ColorMapEntry color="#64f014" quantity="-1"/>
<ColorMapEntry color="#7deb32" quantity="0"/>
<ColorMapEntry color="#78c818" quantity="30"/>
<ColorMapEntry color="#38840c" quantity="105"/>
<ColorMapEntry color="#2c4b04" quantity="300"/>
<ColorMapEntry color="#ffff00" quantity="400"/>
<ColorMapEntry color="#dcdc00" quantity="700"/>
<ColorMapEntry color="#b47800" quantity="1200"/>
<ColorMapEntry color="#c85000" quantity="1400"/>
<ColorMapEntry color="#be4100" quantity="1600"/>
<ColorMapEntry color="#963000" quantity="2000"/>
<ColorMapEntry color="#3c0200" quantity="3000"/>
<ColorMapEntry color="#ffffff" quantity="5000"/>
<ColorMapEntry color="#ffffff" quantity="13000"/> </ColorMap>
<ShadedRelief/>
</RasterSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</UserLayer>
</StyledLayerDescriptor>
But the map always appears painted with the color of the first
ColorMapEntry.
What am I doing wrong?
thanxs
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users