Rueben Schulz a écrit :
I not done any geotools development over the last few months, but will try to at least create a set of test points to compare to esri's implementation. This will at least get me into the development mood (and force me to learn eclipse).
Note that there is also a new, cool way to try coordinate transformations (not suitable for creating a test suite, but convenient for work):
- Download and install OpenOffice 2.0 (http://www.openoffice.org). - Download and install Maven 2.0 (http://maven.apache.org). - Checkout or update yours local copy of Geotools trunk: svn checkout http://svn.geotools.org/geotools/trunk/gt/ - Chdir to gt/ext/openoffice and enter on the command line: mvn clean mvn package - The first execution may be slow because Maven will download a lot of dependencies, but future executions should be much faster. Once finished, you should get a geotools.uno.pkg file in the 'target' directory. - Start OpenOffice Calc. Make sure a Java virtual machine is selected in menu 'Options', 'Setting', 'General', 'Java'. - Select menu 'Options', 'Packages manager'. Press 'Add'. Select the geotools.uno.pkg file. You may need to restart OpenOffice Calc. - In cells A1:B1, enter -21.585717 168.106417. - Select cells A2:B2 and enter: =TRANSFORM.COORD(A1:B1,"EPSG:4326","EPSG:2984") Press [Ctrl]-[Enter] (because this formula is a matrix). - You should get 618118.07 288978.04 - There is some other formulas available. See all formulas starting with "CRS." for example (you can get a list of formulas by clicking on the f(x)= button). Martin. ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
