Simone Giannecchini wrote: > There is also an Interpolator2D class available. A few fixes have been
Hi, I tried: GeoTiffReader reader = new GeoTiffReader(filenames.get(i)); cov = reader.read(null); GridCoverage2D interpolated = Interpolator2D.create(cov,Interpolation.getInstance(Interpolation.INTERP_BILINEAR)); // crs is my world reference syste, values an empty double array, // c is a Coordinate: DirectPosition dp = new DirectPosition2D(crs, c.x, c.y); interpolated.evaluate(dp, values); c.z = values[0]; It just returns integer values. What could be wrong? Cheers, Jan -- >From address is valid until 01.06.2010 ------------------------------------------------------------------------------ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
