[gdal-dev] Gdaltindex fails

Even Rouault even.rouault at mines-paris.org
Mon Apr 23 04:09:52 EDT 2012


Selon Jukka Rahkonen <jukka.rahkonen at mmmtike.fi>:

> Hi,
>
> We moved orthophotos to a new file system and after that gdaltindex became
> very
> unreliable, actually unusable. It may be a coincidence but old file system
> does
> not exist any more and I cannot verify if problem is really due to the new
> file
> storage.
>
> What happens now is that only a part of tiff are added to the tileindex
> shapefile. For the rest of tiffs I get mostly this kind of error messages
> Unable to open 431204B.tif, skipping.
> ERROR 4: `431209D.tif' not recognised as a supported file format.
>
> Occasionally I get also lines like this
> ERROR 1: TIFFFetchDirectory:431404B.tif: Can not read TIFF directory count
> ERROR 1: TIFFReadDirectory:Failed to read directory at offset 110179622
> Unable to open 431404B.tif, skipping.
>
> Gdalinfo gives normal output from the failing image files and they are also
> behaving well in WMS service.
>
> I were using gdaltindex from FWTools 2.4.2 which I have been used some years
> for
> this same purpose on the same server without troubles. Any advise about where
> to
> look at the error and how to fix it?

A bit weird that gdaltindex reports errors and not gdalinfo ? I assume you are
using FWTools for both ?

Anyway, FWTools 2.4.2 is obsolete, so I'd encourage you trying with a more
recent build.

>
> -Jukka Rahkonen-
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>




More information about the gdal-dev mailing list