Hi list,

I am new to Geotools, I am getting the following exception at the line

final  SimpleFeatureType Type=
DataUtilities.createType("Antena","location:Polygon:srid=4326,cellId:String");

I am using Gt 2.6, any idea or reason behind this? I followed this from tutorial


Oct 15, 2010 1:12:33 PM
org.geotools.referencing.factory.epsg.ThreadedPostgreSQLEpsgFactory
isAvailable
WARNING: Unavailable authority factory: European Petroleum Survey Group
org.opengis.referencing.FactoryException: Failed to connect to the
EPSG database.
        at 
org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore(ThreadedEpsgFactory.java:430)
        at 
org.geotools.referencing.factory.DeferredAuthorityFactory.getBackingStore(DeferredAuthorityFactory.java:132)
        at 
org.geotools.referencing.factory.BufferedAuthorityFactory.isAvailable(BufferedAuthorityFactory.java:233)
        at 
org.geotools.referencing.factory.DeferredAuthorityFactory.isAvailable(DeferredAuthorityFactory.java:119)
        at 
org.geotools.factory.FactoryRegistry.isAvailable(FactoryRegistry.java:668)
        at 
org.geotools.factory.FactoryRegistry.isAcceptable(FactoryRegistry.java:500)
        at 
org.geotools.factory.FactoryRegistry$1.filter(FactoryRegistry.java:191)
        at javax.imageio.spi.FilterIterator.advance(ServiceRegistry.java:793)
        at javax.imageio.spi.FilterIterator.<init>(ServiceRegistry.java:787)
        at 
javax.imageio.spi.ServiceRegistry.getServiceProviders(ServiceRegistry.java:491)
        at 
org.geotools.factory.FactoryRegistry.getServiceProviders(FactoryRegistry.java:196)
        at 
org.geotools.referencing.ReferencingFactoryFinder.getFactories(ReferencingFactoryFinder.java:176)
        at 
org.geotools.referencing.ReferencingFactoryFinder.getCRSAuthorityFactories(ReferencingFactoryFinder.java:451)
        at 
org.geotools.referencing.DefaultAuthorityFactory.getBackingFactory(DefaultAuthorityFactory.java:88)
        at 
org.geotools.referencing.DefaultAuthorityFactory.<init>(DefaultAuthorityFactory.java:69)
        at org.geotools.referencing.CRS.getAuthorityFactory(CRS.java:197)
        at org.geotools.referencing.CRS.decode(CRS.java:435)
        at org.geotools.referencing.CRS.decode(CRS.java:363)
        at 
org.geotools.data.DataUtilities.createAttribute(DataUtilities.java:1752)
        at org.geotools.data.DataUtilities.createType(DataUtilities.java:1396)
        at org.geotools.data.DataUtilities.createType(DataUtilities.java:1347)
        at core.Antena.getGeomFeature(Antena.java:74)


regards,
Imran
-- 
I.R

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to