Hi All,

I am trying to use a RasterSymbolizer to render a geotiff, but it
seems like whatever ColorMap I set in the rastersymbolizer will not
apply to the geotiff, only opacity applies to it. The image is still
being rendered as by default. How can I make it render image as
specified in RasterSymbolizer's colorMap.

StyleFactory factory = CommonFactoryFinder.getStyleFactory(null);
RasterSymbolizer rasterSymbolizer = factory.createRasterSymbolizer();

renderer.paint( destination, gc, rasterSymbolizer );

Thanks,
Yingqi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to