Jody took a cursory look at the WKText from Oracle's MDSYS.CS_SRS table
Here is what a query results SQL> select cs_name, wktext from cs_srs where srid = 82465; CS_NAME ------------------------------------------------------------------------------- WKTEXT ------------------------------------------------------------------------------- MGA94 Zone 52 PROJCS["MGA94 Zone 52", GEOGCS [ "Geodetic Datum of Australia 1994", DATUM ["GD94", SPHEROID ["GRS 80", 6378137.000000, 298.257222101]], PRIMEM [ "Greenwich" 0.000000 ], UNIT ["Decimal Degree", 0.01745329251994330]], PROJECTION ["Transv rse Mercator"], PARAMETER ["Scale_Factor", 0.999600], PARAMETER ["Central_Merid an", 129.000000], PARAMETER ["False_Easting", 500000.000000], PARAMETER ["False Northing", 10000000.000000], UNIT ["Meter", 1.000000000000]] It appears there is a parsing issue for WKTEXT. Here is a reference: http://web.umr.edu/~ora9i/appdev.901/a88805/sdo_cs_c.htm#887173 Marc On 9/27/05, Jody Garnett <[EMAIL PROTECTED]> wrote: > Jody Garnett wrote: > > > Chris Holmes wrote: > > > >>> QuickOracleTest also had errors - all of the no classdef found kind > >>> > >> > >> Er, isn't the only reason to get noclassdeffounderrors if you have > >> your jars wrong? Like if you're building then you'll get exceptions, > >> not noclassdef errors? > >> > >> > > As I said it was not making sense to me - marc did something on the > > oracle side of things and it is working a bit better now. > > As for the class not found - it seems that some of the Oracle WKT is > causing grief: > > > PROJCS["MGA94 Zone 52", GEOGCS [ "Geodetic Datum of Australia 1994", > > DATUM ["GDA 94", SPHEROID ["GRS 80", 6378137.000000, 298.257222101]], > > PRIMEM [ "Greenwich", 0.000000 ], UNIT ["Decimal Degree", > > 0.01745329251994330]], PROJECTION ["Transverse Mercator"], PARAMETER > > ["Scale_Factor", 0.999600], PARAMETER ["Central_Meridian", > > 129.000000], PARAMETER ["False_Easting", 500000.000000], PARAMETER > > ["False_Northing", 10000000.000000], UNIT ["Meter", 1.000000000000]] > > Here is the stack trace: > > java.lang.NoClassDefFoundError: javax/units/ConversionException > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:219) > at sun.misc.Service$LazyIterator.next(Service.java:270) > at > org.geotools.factory.FactoryRegistry.scanForPlugins(FactoryRegistry.java:420) > at > org.geotools.factory.FactoryRegistry.getServiceProviders(FactoryRegistry.java:114) > at > org.geotools.factory.FactoryRegistry.getServiceProvider(FactoryRegistry.java:221) > at > org.geotools.factory.FactoryRegistry.getServiceProvider(FactoryRegistry.java:193) > at > org.geotools.factory.FactoryCreator.getServiceProvider(FactoryCreator.java:90) > at > org.geotools.referencing.FactoryFinder.getCoordinateOperationFactory(FactoryFinder.java:365) > at org.geotools.referencing.CRS.<clinit>(CRS.java:280) > at > org.geotools.data.oracle.OracleDataStore.determineCRS(OracleDataStore.java:196) > at > org.geotools.data.oracle.OracleDataStore.getEnvelope(OracleDataStore.java:303) > at > org.geotools.data.oracle.OracleDataStoreTest.testBounds(OracleDataStoreTest.java:380) > 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:324) > 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 > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) > > > ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
