Hello Jody
Jody Garnett a écrit :
> ScriptTest.testObliqueMercator is failing; but the exception is rather
> unhelpful:
I would suggest to chdir into the directory that contains ObliqueMercator.txt
(should be src/test/resources/org/geotools/referencing/test-data/scripts/), open
the file in an editor, and invoke the following from the command line (assuming
that the classpath contains the referencing/target/classes and
referencing/target/test-classes directories):
java -ea org.geotools.referencing.TestScript ObliqueMercator.txt
I believe that you should get on stdout the line numbers where the error occurs.
Go to that line numbers in the editor and add the following lines after the
"target pt" statement:
print pts
(you could also add "print crs" if you want to inspect the CRS, but "print pts"
is probably what we want for now).
Actually you can add "print pts" or "print crs" everywhere in the script file
where you suspect something strange. It should print the source points, the
target points, the transformed source points and the transformed target points,
so you can compare the values.
Please let me known if you have any issue,
Martin
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel