Sorry for this mail. I just forgot to add an gt-epsg-xxxx.jar to my project. Good evening Sidonie
________________________________ De : Sidonie Christophe <[email protected]> À : [email protected] Envoyé le : Mer 21 avril 2010, 11 h 25 min 28 s Objet : [Geotools-gt2-users] Problems with Factory Dear colleagues, I was just testing the CSV2SHP Lab from here http://www.geotools.org/examples/csv2shp.html I have some problems with the factories. I permanently get this error : "The type org.geotools.factory.Factory cannot be resolved. It is indirectly referenced from required .class files" for the next two expressions. - GeometryFactory geometryFactory = JTSFactoryFinder.getGeometryFactory(null); (that I finally change into : GeometryFactory geometryFactory = new Geometryfactory() to avoid the error) - ShapefileDataStore newDataStore = (ShapefileDataStore) dataStoreFactory.createNewDataStore(params); (that I finally change into : ShapefileDataStore newDataStore = new ShapefileDataStore (url, true) to avoid the error) Despite of these changes, I always get this error for my entire class cvs2shp. I don't understand how it is possible not to have org.geotools.factory.Factory in my project.... I you have an idea... Thanks a lot, Sidonie PS : I installed .jar files manually (gt-xxx-2.5.3 and geoapi-pending-2.3 to get SimpleFeature which is not in geoapi2.0.0)
------------------------------------------------------------------------------
_______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
