I wonder if we can do a check for multiple epsg jars on the classpath and die with a sensible error message?
Cédric Briançon wrote: > Hi , > > sgebh a écrit : > >> Hallo. >> I tried iwth everything in the tutorials but i get only errors. >> I use the gt2.5-m0 jars. I read the CRS from shapefile and need the epsg >> code for it. when trying: CRS.lookupIdentifier(mycrs, true); i get the >> subsequent errors. i tried with all the different epsg* jars in the >> classpath without success. >> > you should only have the epsg-hsql jar in your classpath. Please try > again keeping only the epsg-hsql jar. I hope this one will do the job > you want to ... > Cheers, > > Cédric. > >> only with the postgres version (i installed the >> epsg database) i get som more errors (e.g. password authentification for >> user geotools failed). >> can anyone please help me with that. >> >> org.opengis.referencing.FactoryException: Geotools extension required for >> "getIdentifiedObjectFinder" operation. >> at >> org.geotools.referencing.factory.AuthorityFactoryAdapter.getGeotoolsFactory(AuthorityFactoryAdapter.java:503) >> at >> org.geotools.referencing.factory.AuthorityFactoryAdapter.access$000(AuthorityFactoryAdapter.java:74) >> at >> org.geotools.referencing.factory.AuthorityFactoryAdapter$Finder.<init>(AuthorityFactoryAdapter.java:894) >> at >> org.geotools.referencing.factory.FallbackAuthorityFactory$Finder.<init>(FallbackAuthorityFactory.java:833) >> at >> org.geotools.referencing.factory.FallbackAuthorityFactory.getIdentifiedObjectFinder(FallbackAuthorityFactory.java:816) >> at >> org.geotools.referencing.factory.ManyAuthoritiesFactory$Finder.next(ManyAuthoritiesFactory.java:836) >> at >> org.geotools.referencing.factory.ManyAuthoritiesFactory$Finder.findIdentifier(ManyAuthoritiesFactory.java:893) >> at >> org.geotools.referencing.factory.ThreadedAuthorityFactory$Finder.findIdentifier(ThreadedAuthorityFactory.java:1058) >> at org.geotools.referencing.CRS.lookupIdentifier(CRS.java:736) >> at tests.wkttest.main(wkttest.java:17) >> >> > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
