On Wed, May 26, 2010 at 4:32 PM, Jan Torben Heuer
<[email protected]> wrote:
> On Wednesday 26 May 2010 16:09:14 Simone Giannecchini wrote:
> Hi,
>
>> Ciao Jan,
>> this does not look like a problem related to having or not some
>> dependencies in your path.
>> It looks like imageio is not able to correctly read this tiff.
>
> Hi Simone, I just tried udig and it works (so it should work with geotools
> as well). But it didn't work until I set up gdal correctly. But as far as I
> understood the imageio-ext-gdal driver it doesn't handle tiff data? Do I
> need a gdal driver or do could it help in my case?
>

You shouldn't.

>
>> -1- Can you try a gdalinfo on it and paste the result?
>
> Warning 1:
> TIFFReadDirectory:src/main/resources/aster_gdem/ASTGTM_N52E010_dem.tif:
> invalid TIFF directory; tags are not sorted in ascending order
> Driver: GTiff/GeoTIFF
> Files: src/main/resources/aster_gdem/ASTGTM_N52E010_dem.tif
> Size is 3601, 3601
> Coordinate System is:
> GEOGCS["WGS 84",
>    DATUM["WGS_1984",
>        SPHEROID["WGS 84",6378137,298.2572235630016,
>            AUTHORITY["EPSG","7030"]],
>        AUTHORITY["EPSG","6326"]],
>    PRIMEM["Greenwich",0],
>    UNIT["degree",0.0174532925199433],
>    AUTHORITY["EPSG","4326"]]
> Origin = (9.999861111111111,53.000138888888891)
> Pixel Size = (0.000277777777778,-0.000277777777778)
> Metadata:
>  AREA_OR_POINT=Area
>  TIFFTAG_DOCUMENTNAME=created at
>  TIFFTAG_IMAGEDESCRIPTION=SILC TIFF
>  TIFFTAG_SOFTWARE=IDL 6.3, Research Systems, Inc.
>  TIFFTAG_DATETIME=2008:10:28 18:53:14
>  TIFFTAG_XRESOLUTION=100
>  TIFFTAG_YRESOLUTION=100
>  TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
> Image Structure Metadata:
>  INTERLEAVE=BAND
> Corner Coordinates:
> Upper Left  (   9.9998611,  53.0001389) (  9d59'59.50"E, 53d 0'0.50"N)
> Lower Left  (   9.9998611,  51.9998611) (  9d59'59.50"E, 51d59'59.50"N)
> Upper Right (  11.0001389,  53.0001389) ( 11d 0'0.50"E, 53d 0'0.50"N)
> Lower Right (  11.0001389,  51.9998611) ( 11d 0'0.50"E, 51d59'59.50"N)
> Center      (  10.5000000,  52.5000000) ( 10d30'0.00"E, 52d30'0.00"N)
> Band 1 Block=3601x1 Type=Int16, ColorInterp=Gray
>

interesting, check this message at the beginning:

invalid TIFF directory; tags are not sorted in ascending order

looks like the geotiff is not valid, maybe that's making imageio unhappy


>
>> -2- Can you send over some sample data?
> As far as I understood the ASTER GDEM license I'm not allowed to
> redistribute it. Here is a Link: http://www.gdem.aster.ersdac.or.jp/ but you
> have to log in. I will send you an example file as private mail.
>
>

If you can send something over directly we can save time.

Simone.

> Jan
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>

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

_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to