You need to make sure that you have the referencing subsystem set up and working; you need *one and only one* one epsg-xxx.jar. Their are several to choose from: - epsg-hsql.jar (hint choose this one - it includes the offical epsg database) - epsg-wkt.jar (a quick thing that uses a property file; it will work most of the time) - epsg-postgres - used when you have installed the offical epsg database into a postgres database
For more information visit the user guide; and I apologize - the website seems slow today. Jody PS. 2.4.0 should be out today, maybe it will be available by the time you read this ... > I'm doing a WFS request, and when I try to write out the > FeatureCollection, I get an error. Is there a jar file I'm missing or > something? I can create a FeatureCollection manually and write it out > with no problem. When I try to write out the FeatureCollection I > received from the WFS server, I get the following error. I've been > looking through the jar files and I can see references to this class, > but haven't found a class named "CoordinateOperationAuthorityFactory" yet. > > Caused by: org.geotools.factory.FactoryNotFoundException: No factory > of kind "CoordinateOperati > onAuthorityFactory" found. > at > org.geotools.factory.FactoryRegistry.getServiceProvider(FactoryRegistry.java:364) > at > org.geotools.factory.FactoryCreator.getServiceProvider(FactoryCreator.java:115) > at > org.geotools.referencing.ReferencingFactoryFinder.getAuthorityFactory(ReferencingFac > toryFinder.java:229) > at > org.geotools.referencing.ReferencingFactoryFinder.getCoordinateOperationAuthorityFac > tory(ReferencingFactoryFinder.java:485) > at > org.geotools.referencing.operation.AuthorityBackedFactory.<init>(AuthorityBackedFact > ory.java:126) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl. > java:39) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAcces > sorImpl.java:27) > at java.lang.reflect.Constructor.newInstance(Constructor.java:494) > at > org.geotools.factory.FactoryCreator.createServiceProvider(FactoryCreator.java:257) > at > org.geotools.factory.FactoryCreator.createSafe(FactoryCreator.java:225) > at > org.geotools.factory.FactoryCreator.getServiceProvider(FactoryCreator.java:176) > at > org.geotools.referencing.ReferencingFactoryFinder.getFactory(ReferencingFactoryFinde > r.java:205) > at > org.geotools.referencing.ReferencingFactoryFinder.getCoordinateOperationFactory(Refe > rencingFactoryFinder.java:332) > at > org.geotools.referencing.operation.BufferedCoordinateOperationFactory.getBackingFact > ory(BufferedCoordinateOperationFactory.java:204) > at > org.geotools.referencing.operation.BufferedCoordinateOperationFactory.<init>(Buffere > dCoordinateOperationFactory.java:163) > at > org.geotools.referencing.operation.BufferedCoordinateOperationFactory.<init>(Buffere > dCoordinateOperationFactory.java:151) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl. > java:39) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAcces > sorImpl.java:27) > at java.lang.reflect.Constructor.newInstance(Constructor.java:494) > at > org.geotools.factory.FactoryCreator.createServiceProvider(FactoryCreator.java:257) > at > org.geotools.factory.FactoryCreator.createSafe(FactoryCreator.java:225) > at > org.geotools.factory.FactoryCreator.getServiceProvider(FactoryCreator.java:176) > at > org.geotools.referencing.ReferencingFactoryFinder.getFactory(ReferencingFactoryFinde > r.java:205) > at > org.geotools.referencing.ReferencingFactoryFinder.getCoordinateOperationFactory(Refe > rencingFactoryFinder.java:332) > at > org.geotools.referencing.CRS.getCoordinateOperationFactory(CRS.java:218) > at > org.geotools.geometry.jts.ReferencedEnvelope.transform(ReferencedEnvelope.java:463) > at > org.geotools.geometry.jts.ReferencedEnvelope.transform(ReferencedEnvelope.java:433) > at > org.geotools.data.wfs.WFSDataStore.getBounds(WFSDataStore.java:862) > at > org.geotools.data.wfs.WFSFeatureSource.getBounds(WFSFeatureSource.java:102) > at > org.geotools.data.DefaultFeatureResults.getBounds(DefaultFeatureResults.java:249) > at > org.geotools.gml.producer.FeatureTransformer$FeatureTranslator.handleFeatureCollecti > on(FeatureTransformer.java:548) > at > org.geotools.feature.FeatureCollectionIteration.walker(FeatureCollectionIteration.ja > va:103) > at > org.geotools.feature.FeatureCollectionIteration.iterate(FeatureCollectionIteration.j > ava:91) > at > org.geotools.feature.FeatureCollectionIteration.iteration(FeatureCollectionIteration > .java:84) > at > org.geotools.gml.producer.FeatureTransformer$FeatureTranslator.encode(FeatureTransfo > rmer.java:408) > at > org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.ja > va:702) > at > org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityIm > pl.java:484) > at > org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:295) > at > org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:128) > ... 20 more > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
