From: <tzu...@da...> - 2007-02-26 10:43:09
|
Bonjour Martin Once more thank you. So I tested your changes. I checkout the revision 24581 and compiled gt2-epsg-hsql-xxx.jar and gt2-referencing-xxx.jar with maven. Now I get a new exception (UnsupportedImplementationException) at line 33. I don't know why because EPSG:21781 is a official EPSG code for CH1903/LV03. Again my JUnit test http://www.nabble.com/file/6781/GeoToolsTest.java GeoToolsTest.java . The axis order of CH1903/LV03 is y, x (east, north). In this reference system is y=x and x=y. This can be a little confused. I try to find out if there an invalid calculation in the gt classes or if there a invalid wkt string. But my knowledge in this field is poor. I hope you can help me? Thank you. Regards, Thomas Martin Desruisseaux-2 wrote: > > Hello Thomas > > I added a "Scale factor on initial line" alias on trunk as of revision > 24563. Do > you have a chance to checkout the source with SVN, compile with Maven and > test > again the EPSG:21781 CRS please? Make sure to use epsg-hsql (not epsg-wkt) > and > that the axis order is the one your data expect: > > http://docs.codehaus.org/display/GEOTOOLS/The+axis+order+issue > > In order to check, just invokes the following: > > System.out.println(crs); > > and look in which order appear the "AXIS[...]" elements. If the CRS come > from > "epsg-hsql", you should also see a "TOWGS84" element (this element should > not be > there if your CRS come from "epsg-wkt"). > > Martin > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Geotools-gt2-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > -- View this message in context: http://www.nabble.com/Transformation-between-CH1903-LV03-and-WGS84-tf3273159.html#a9156683 Sent from the geotools-gt2-users mailing list archive at Nabble.com. |