Hello.

I am happily using GridCoverageRenderer to draw a color relief of my DEM files. 
It works fine.

Now, I want GridCoverageRenderer to draw the raw elevation values (negative 
since this is below sea level) instead of colors. Into a BufferedImage of type 
TYPE_USHORT_GRAY. Is that possible or should I use something else than 
GridCoverageRenderer?

I have tried to paint to a BufferedImage of type TYPE_USHORT_GRAY and with a 
null RasterSymbolizer, but all of the values in the image are 0.0. Not the 
(negative) values from the DEM.

This is all with GeoTools 14.1.

Regards,
Tore Halset.
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to