Hey, 
thanks for your help.
I created a color map like this:

ColorMap cm =
    sb.createColorMap(
        new double[] { 1000, 1200, 1400, 1600, 2000 },
        new Color[] {
            new Color(0, 255, 0),
            new Color(255, 255, 0),
            new Color(255, 127, 0),
            new Color(191, 127, 63),
            new Color(255, 255, 255)},
        ColorMap.TYPE_RAMP);

unfortunately I think I need to define intervals for the cells because the
values range for example from -2,6 till -5,6. is there an example how to do
this? I want to automize this process because I do not want to use a fixed
method.  
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Problems-displaying-gridCoverage2D-everything-is-green-tp5057223p5064298.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------

_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to