env.getLength(1)/500,
env);*/
(new GridCoverageFactory()).create("Intepoalted Coverage", interpolation.get2DGrid(),
env).show();
AbstractInterpolation interp = new TPSInterpolation(generatePositionsWithValues(env,
15, 5));
Color[] colors = new Color[] {Color.BLUE, Color.CYAN, Color.WHITE, Color.YELLOW, Color.RED};
GridCoverage2D c= (new GridCoverageFactory()).create("Intepolated Coverage", interpolation.getRaster (), interpolation.getEnv(),
null, null, null, new Color[][] {colors}, null);