Andrea Antonello ha scritto: > Hi, > I've tried the geotiff reader and got the following error: > > Exception in thread "main" java.lang.UnsupportedOperationException: GeoKey > directory does not exist > at > org.geotools.gce.geotiff.IIOMetadataAdpaters.GeoTiffIIOMetadataDecoder.<init>(GeoTiffIIOMetadataDecoder.java:114) > at > org.geotools.gce.geotiff.GeoTiffReader.getHRInfo(GeoTiffReader.java:259) > at org.geotools.gce.geotiff.GeoTiffReader.<init>(GeoTiffReader.java:203) > at > org.geotools.gce.geotiff.GeoTiffFormat.getReader(GeoTiffFormat.java:252) > at > org.geotools.gce.geotiff.GeoTiffFormat.getReader(GeoTiffFormat.java:212) > > I've searched around the net and the error seems to be known, or better, > the error seems to be in my data? Can anyone give me a hint on how to > solve, I couldn't figure out how.
It seems to me, without the GeoKey directory that's just a TIFF file, not a real Geotiff, no? Do you have a world file along with that image? In that case, you can use the image+world file reader instead. 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-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
