From: Martin D. <mar...@no...> - 2004-11-30 00:32:01
|
Jody Garnett a =E9crit : > svn switch --relocate http://svn.geotools.org/ http://gtsvn.refractions= .net/ Many thanks for the tip; it worked for me :) Concequently, I have been able to commit a first working version of=20 CoordinateOperationFactory. It may have some bug, since I didn't=20 finished to port the test suite. Now, the full legacy CTS package is now ported to the new CRS framework=20 except: - EPSG authority factory - Some planar projections (especially Stereographic I think). The new CRS framework is slightly more capable than the old one. WKT=20 parser is a little bit better, CoordinateOperationFactory is cleaner=20 (but not yet fully tested), and EPSG factory will be more capable too=20 when it will be ported. Peoples can do some test rigtht now with: java org.geotools.referencing.Console Then enter on the standard input stream (for example): set WGS84 =3D GEOGCS["WGS84", DATUM["WGS84", SPHEROID["WGS84", 6378137.0,= =20 298.257223563]], PRIMEM["Greenwich", 0.0],=20 UNIT["degree",0.017453292519943295], AXIS["Longitude",EAST],=20 AXIS["Latitude",NORTH]] set Mercator2 =3D PROJCS["Mercator_1SP", GEOGCS["WGS84", DATUM["WGS84",=20 SPHEROID["WGS84", 6378137.0, 298.257223563]], PRIMEM["Greenwich", 0.0],=20 UNIT["degree",0.017453292519943295], AXIS["Longitude",EAST],=20 AXIS["Latitude",NORTH]], PROJECTION["Mercator_1SP"],=20 PARAMETER["central_meridian", -150.0], PARAMETER["scale_factor", 1.0],=20 PARAMETER["false_easting", 0.0], PARAMETER["false_northing", 5001.0],=20 UNIT["metre",1.0], AXIS["x",EAST], AXIS["y",NORTH]] source crs =3D WGS84 target crs =3D Mercator2 status source pt =3D (2.33656753, 43.96499314) [Ctrl-Z] to finish Note that this console is for test only, and we are at the very first=20 stage of testing. Don't expect too much correct results right now... Martin. |