From: Jody G. <jod...@gm...> - 2008-08-18 04:24:32
|
Hi Jesse; Are you building 2.2.x with tests enabled? I am running into a failure; seems to be based on producing WKT for DefaultGeographicCRS. The toString() for the CRS shows up as the following: > LOCAL_CS["Generic cartesian 2D", > LOCAL_DATUM["Unknow", 0], > UNIT["m", 1.0], > AXIS["x", EAST], > AXIS["y", NORTH]] I assume the read/write test is failing when it tries to read this back in. Shows up as failure in the arcgrid module as show below: > org.geotools.data.DataSourceException: IOError writing > at > org.geotools.gce.arcgrid.ArcGridWriter.writeGridCoverage(ArcGridWriter.java:219) > at > org.geotools.gce.arcgrid.ArcGridWriter.write(ArcGridWriter.java:378) > at > org.geotools.gce.arcgrid.ArcGridReadWriteTest.test(ArcGridReadWriteTest.java:145) > at > org.geotools.gce.arcgrid.ArcGridReadWriteTest.testAll(ArcGridReadWriteTest.java:71) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at junit.framework.TestCase.runTest(TestCase.java:154) > at junit.framework.TestCase.runBare(TestCase.java:127) > at junit.framework.TestResult$1.protect(TestResult.java:106) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.framework.TestResult.run(TestResult.java:109) > at junit.framework.TestCase.run(TestCase.java:118) > at junit.framework.TestSuite.runTest(TestSuite.java:208) > at junit.framework.TestSuite.run(TestSuite.java:203) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery.java:242) > at > org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java:216) > at > org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215) > at org.apache.maven.surefire.Surefire.run(Surefire.java:163) > at org.apache.maven.surefire.Surefire.run(Surefire.java:87) > at org.apache.maven.surefire.Surefire.run(Surefire.java:63) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:785) > Caused by: org.geotools.referencing.wkt.UnformattableObjectException: > Invalid WKT format. > at > org.geotools.referencing.wkt.Formattable.toWKT(Formattable.java:186) > at > org.geotools.referencing.wkt.Formattable.toWKT(Formattable.java:149) > at > org.geotools.referencing.wkt.Formattable.toWKT(Formattable.java:128) > at > org.geotools.referencing.wkt.Formattable.toWKT(Formattable.java:110) > at > org.geotools.gce.arcgrid.ArcGridWriter.writeCRSInfo(ArcGridWriter.java:337) > at > org.geotools.gce.arcgrid.ArcGridWriter.writeGridCoverage(ArcGridWriter.java:200) > ... 30 more |