Ciao,
which jars are you including?

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder - Software Engineer
Via Carignoni 51
55041  Camaiore (LU)
Italy

phone: +39 0584983027
fax:      +39 0584983027
mob:    +39 333 8128928


http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini
http://twitter.com/simogeo

-------------------------------------------------------



On Wed, Mar 3, 2010 at 11:59 AM, Jianhui Jin <[email protected]> wrote:
> gt2.6.1, and reading a tif raster. J.
>
> On Wed, Mar 3, 2010 at 5:49 AM, Simone Giannecchini
> <[email protected]> wrote:
>>
>> Ciao again,
>> see my questions above plues:
>>
>> - which gt version are you using?
>> ' what kind of data are you looking into reading?
>>
>> Simone.
>> -------------------------------------------------------
>> Ing. Simone Giannecchini
>> GeoSolutions S.A.S.
>> Founder - Software Engineer
>> Via Carignoni 51
>> 55041  Camaiore (LU)
>> Italy
>>
>> phone: +39 0584983027
>> fax:      +39 0584983027
>> mob:    +39 333 8128928
>>
>>
>> http://www.geo-solutions.it
>> http://geo-solutions.blogspot.com/
>> http://www.linkedin.com/in/simonegiannecchini
>> http://twitter.com/simogeo
>>
>> -------------------------------------------------------
>>
>>
>>
>> On Tue, Mar 2, 2010 at 8:59 AM, Jianhui Jin <[email protected]> wrote:
>> > by the ways, the code is just:
>> >         AbstractGridCoverage2DReader roofAbstractGridCoverage2DReader;
>> >         AbstractGridFormat format =
>> > GridFormatFinder.findFormat(roofRaster);
>> > have not started to do anything yet.
>> >
>> > Jin
>> > On Tue, Mar 2, 2010 at 3:45 PM, Jianhui Jin <[email protected]>
>> > wrote:
>> >>
>> >> Hi Guys
>> >> I got the exception below, and I got the three jars for esri, did some
>> >> digging, seems someone got it as well, but the issue seems have not
>> >> been
>> >> solved from http://jira.codehaus.org/browse/GEOT-2826
>> >> I got all the jars I guess, gt-(database).jar.
>> >> Thanks in advance
>> >> Jin
>> >>
>> >> 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.getServiceImplementation(FactoryRegistry.java:436)
>> >>         at
>> >>
>> >> org.geotools.factory.FactoryRegistry.getServiceProvider(FactoryRegistry.java:364)
>> >>         at
>> >>
>> >> org.geotools.factory.FactoryCreator.getServiceProvider(FactoryCreator.java:143)
>> >>         at
>> >>
>> >> org.geotools.referencing.ReferencingFactoryFinder.getAuthorityFactory(ReferencingFactoryFinder.java:216)
>> >>         at
>> >>
>> >> org.geotools.referencing.ReferencingFactoryFinder.getCoordinateOperationAuthorityFactory(ReferencingFactoryFinder.java:471)
>> >>         at
>> >>
>> >> org.geotools.referencing.operation.AuthorityBackedFactory.getAuthorityFactory(AuthorityBackedFactory.java:168)
>> >>         at
>> >>
>> >> org.geotools.referencing.operation.AuthorityBackedFactory.isAvailable(AuthorityBackedFactory.java:457)
>> >>         at
>> >>
>> >> org.geotools.factory.FactoryRegistry.isAvailable(FactoryRegistry.java:668)
>> >>         at
>> >>
>> >> org.geotools.factory.FactoryRegistry.isAcceptable(FactoryRegistry.java:500)
>> >>         at
>> >>
>> >> org.geotools.factory.FactoryCreator.getServiceProvider(FactoryCreator.java:224)
>> >>         at
>> >>
>> >> org.geotools.referencing.ReferencingFactoryFinder.getFactory(ReferencingFactoryFinder.java:193)
>> >>         at
>> >>
>> >> org.geotools.referencing.ReferencingFactoryFinder.getCoordinateOperationFactory(ReferencingFactoryFinder.java:318)
>> >>         at
>> >>
>> >> org.geotools.referencing.operation.BufferedCoordinateOperationFactory.getBackingFactory(BufferedCoordinateOperationFactory.java:203)
>> >>         at
>> >>
>> >> org.geotools.referencing.operation.BufferedCoordinateOperationFactory.<init>(BufferedCoordinateOperationFactory.java:163)
>> >>         at
>> >>
>> >> org.geotools.referencing.operation.BufferedCoordinateOperationFactory.<init>(BufferedCoordinateOperationFactory.java:151)
>> >>         at
>> >> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> >> Method)
>> >>         at
>> >>
>> >> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>> >>         at
>> >>
>> >> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>> >>         at
>> >> java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>> >>         at
>> >>
>> >> org.geotools.factory.FactoryCreator.createServiceProvider(FactoryCreator.java:290)
>> >>         at
>> >> org.geotools.factory.FactoryCreator.createSafe(FactoryCreator.java:258)
>> >>         at
>> >>
>> >> org.geotools.factory.FactoryCreator.getServiceProvider(FactoryCreator.java:204)
>> >>         at
>> >>
>> >> org.geotools.referencing.ReferencingFactoryFinder.getFactory(ReferencingFactoryFinder.java:193)
>> >>         at
>> >>
>> >> org.geotools.referencing.ReferencingFactoryFinder.getCoordinateOperationFactory(ReferencingFactoryFinder.java:318)
>> >>         at
>> >>
>> >> org.geotools.referencing.operation.BufferedCoordinateOperationFactory.getBackingFactory(BufferedCoordinateOperationFactory.java:203)
>> >>         at
>> >>
>> >> org.geotools.referencing.operation.BufferedCoordinateOperationFactory.<init>(BufferedCoordinateOperationFactory.java:163)
>> >>         at
>> >>
>> >> org.geotools.referencing.operation.BufferedCoordinateOperationFactory.<init>(BufferedCoordinateOperationFactory.java:151)
>> >>         at
>> >>
>> >> org.geotools.gce.imagemosaic.jdbc.ImageMosaicJDBCReader.<clinit>(ImageMosaicJDBCReader.java:80)
>> >>         at java.lang.Class.forName0(Native Method)
>> >>         at java.lang.Class.forName(Class.java:169)
>> >>         at
>> >>
>> >> org.geotools.gce.imagemosaic.jdbc.ImageMosaicJDBCFormatFactory.isAvailable(ImageMosaicJDBCFormatFactory.java:50)
>> >>         at
>> >>
>> >> org.geotools.coverage.grid.io.GridFormatFinder.getAvailableFormats(GridFormatFinder.java:90)
>> >>         at
>> >>
>> >> org.geotools.coverage.grid.io.GridFormatFinder.findFormats(GridFormatFinder.java:162)
>> >>         at
>> >>
>> >> org.geotools.coverage.grid.io.GridFormatFinder.findFormat(GridFormatFinder.java:200)
>> >>         at
>> >>
>> >> uk.ac.leeds.ccg.jianhuij.os.OSFeatureExtraction.extractRoof(OSFeatureExtraction.java:55)
>> >>         at
>> >>
>> >> uk.ac.leeds.ccg.jianhuij.os.OSFeatureExtraction.main(OSFeatureExtraction.java:35)
>> >> Caused by: org.postgresql.util.PSQLException: connection refused.
>> >>         at
>> >>
>> >> org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:136)
>> >>         at
>> >>
>> >> org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
>> >>         at
>> >>
>> >> org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:125)
>> >>         at
>> >>
>> >> org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
>> >>         at
>> >> org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
>> >>         at org.postgresql.Driver.makeConnection(Driver.java:393)
>> >>         at org.postgresql.Driver.connect(Driver.java:267)
>> >>         at java.sql.DriverManager.getConnection(DriverManager.java:582)
>> >>         at java.sql.DriverManager.getConnection(DriverManager.java:185)
>> >>         at
>> >>
>> >> org.postgresql.ds.common.BaseDataSource.getConnection(BaseDataSource.java:87)
>> >>         at
>> >>
>> >> org.postgresql.ds.common.BaseDataSource.getConnection(BaseDataSource.java:70)
>> >>         at
>> >>
>> >> org.geotools.referencing.factory.epsg.DirectEpsgFactory.getConnection(DirectEpsgFactory.java:3080)
>> >>         at
>> >>
>> >> org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore(ThreadedEpsgFactory.java:425)
>> >>         ... 41 more
>> >> Caused by: java.net.ConnectException: Connection refused: connect
>> >>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>> >>         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>> >>         at
>> >> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
>> >>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>> >>         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>> >>         at java.net.Socket.connect(Socket.java:525)
>> >>         at java.net.Socket.connect(Socket.java:475)
>> >>         at java.net.Socket.<init>(Socket.java:372)
>> >>         at java.net.Socket.<init>(Socket.java:186)
>> >>         at org.postgresql.core.PGStream.<init>(PGStream.java:62)
>> >>         at
>> >>
>> >> org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:76)
>> >>         ... 53 more
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Download Intel&#174; Parallel Studio Eval
>> > Try the new software tools for yourself. Speed compiling, find bugs
>> > proactively, and fine-tune applications for parallel performance.
>> > See why Intel Parallel Studio got high marks during beta.
>> > http://p.sf.net/sfu/intel-sw-dev
>> > _______________________________________________
>> > Geotools-gt2-users mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>> >
>> >
>
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to