Hello all,
I'm new to GeoServer and when going through the basic SLD Raster tutorials I
noticed that the opacity element is not functioning when I use the provided
code.
<FeatureTypeStyle>
<Rule>
<RasterSymbolizer>
<Opacity>0.3</Opacity>
<ColorMap>
<ColorMapEntry color="#008000" quantity="70" />
<ColorMapEntry color="#663333" quantity="256" />
</ColorMap>
</RasterSymbolizer>
</Rule>
</FeatureTypeStyle>
The code is validated and all of the other elements function appropriately,
it is just the opacity that is having this problem.
When I alter the code to
<FeatureTypeStyle>
<Rule>
<RasterSymbolizer>
<ColorMap>
<ColorMapEntry color="#008000" quantity="70" opacity="0.3" />
<ColorMapEntry color="#663333" quantity="256" opacity="0.3" />
</ColorMap>
</RasterSymbolizer>
</Rule>
</FeatureTypeStyle>
the publishing preview does display the opacity, but when I go to the layer
preview or view the layer through QGIS it does not display the opacity. Can
someone provide the appropriate code for raster opacity, and is there any
chance the tutorial can be changed accordingly?
Thanks,
AC
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/Problem-with-SLD-transparent-gradient-tutorial-tp4622726p4622726.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users