Raffaello Brondi ha scritto:
> Hi all
> 
> I'm new to this mailing list and to geotools too.
> I'm having problems using GeoTiffFormat class.I'm trying to read a 
> GeoTiff file to extract metadata. When i try to build an instance of the 
> GeoTiffFormat class an Exception is thrown requiring drivers to access a 
> database.

That one is just a warning, not a real error. That is, the code should
go on without issues.

> The stacktrace of the raised Exception is reported below.
> 
> *
> *I'm working on Kubuntu 6.01(dapper) os. I have some questions:
> 
> - Are the driver and the database contained in gt2-2.3.0-bin.zip 
> <http://prdownloads.sourceforge.net/geotools/gt2-2.3.0-bin.zip?download> 
> or gt2-2.3.0-src.zip? 
> <http://prdownloads.sourceforge.net/geotools/gt2-2.3.0-bin.zip?download>
> - In case they are not, where can i find them?and how shall i use them?
> - Are these libraries really needed to read a GeoTiff file?

Yeah, they are.

> - Is there any other way to obtain metadata from a GeoTiff file?

Well, if all you need is just the metadata, you can have a look at the
source code in the GeotiffFormat class and see how it extracts and
interprets the metadata. In the end, all you need is JAI Image I/O.

Cheers
Andrea

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to