|
From: Martin D. <mar...@ge...> - 2008-04-03 14:32:00
|
Andrea Aime a écrit : > Hey, thanks a lot. Out of curiosity, how comes you had this class? > Already using it at work for some project? That is, can we expect > the class to be a little "field tested"? In this spirit, something that would be very usefull would be a test script similar to this one: http://svn.geotools.org/geotools/trunk/gt/modules/library/referencing/src/test/resources/org/geotools/referencing/test-data/scripts/Mercator.txt Line starting with // are comments - put whatever you like there, or remove them if you wish. Use "set <somename> =" in order to define whatever CRS you want to test. Use "source crs =" and "target crs =" for defining a pair of source and target CRS. Use "source pt =" for specfying a point to test, and use "target pt =" for giving the expected result. Use some external tools for computing the later (ArcGIS, etc.; whatever you like). Those scripts are executed everytime GeoTools is built with Maven. Martin |