Hi Jan, Thanks again.

I´m trying to examine a Landsat7 multispectral image, with 7 bands in a single 
TIF file, and some metadata in it´s header.

I just want to access to pixels of each band and manipulate them to make some 
corrections, and leave the TIF with the same metadata.

Geotools seems very complicated... despite the dependency you told me works, 
still is asking for gt2-image... and I wonder when could I start working.

Do you know something more simple than geotools for this task? Any example?

Thank you very much, I will be waiting for your reply. Bye!






----- Mensaje original ----
De: Jan Torben Heuer <[email protected]>
Para: [email protected]
Enviado: mié,26 mayo, 2010 16:32
Asunto: Re: [Geotools-gt2-users] rading geotiff: One factory fails for the 
operation "ImageRead"

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?


> -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


> -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.


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