From: Martin D. <mar...@ge...> - 2008-12-16 21:18:23
|
Hello Davis Maybe you are using JAI 1.1.4 which is in development stage? WarpTransform2D target the latest stable JAI version, which is JAI 1.1.3. The JAI version matter a lot, because JAI 1.1.3 has a bug that may make the Warp Transform completly wrong. JAI 1.1.4 fixed that bug. However WarpTransform2D contains a workaround for JAI 1.1.3 bug. The problem is that the workaround become totally wrong when using the bug-free JAI 1.1.4. If you are using JAI 1.1.4, then look at that file: http://svn.geotools.org/trunk/modules/library/referencing/src/main/java/org/geotools/referencing/operation/transform/WarpTransform2D.java Scroll down to the comment begining with the following line: Workaround for a bug in WarpPolynomial.create(...) If you are using JAI 1.1.4, delete all the workaround exactly as the comment said. If you were using JAI 1.1.3, then the issue is elsewhere; please let me known. Martin |