|
From: Christopher H. <har...@gm...> - 2013-05-16 21:50:57
|
Hi,
I'm trying to resample a GridCoverage2D that is originally in WGS84 to a
known UTM zone using the following code:
*CoordinateReferenceSystem crs = CRS.decode("EPSG:32618");
*
*GridCoverage2D reprojectedCoverage =
(GridCoverage2D)Operations.DEFAULT.resample(coverage, crs);*
After this resampling completes, though, the reprojected raster has the
same dimensions as the original coverage and has a value of 0 at every
coordinate. I've verified that the original coverage is, in fact, in WGS84,
and I'm able to use this method to reproject to other coordinate reference
systems. I only seem to have a problem with UTM. I'm running this under
GeoTools 8 built with Maven in a 64-bit Windows 7 environment.
Does anybody know why this might be?
Thanks,
Chris Harrill
|