[gdal-dev] Re: problem with gdaltindex

Jukka Rahkonen jukka.rahkonen at mmmtike.fi
Wed Nov 24 03:36:08 EST 2010


Imran Rajjad <rajjad <at> gmail.com> writes:

> 
> I think I found a way to handle this on windows.
> 
> create a batch file and put it in the same folder of the tif files (or
> any other raster). put the following lines in the batch file and run
> it.
> ----------test.bat------
> echo on
> for /f %%a IN ('dir /b *.tif') do call gdaltindex -tileindex location test %%a
> ------------------------
> 
> it will run the gdaltindex for each tif file in directory, however I
> still have no idea why the command line wont accept wildcard.

Your original command works for me with gdaltindex from FWTools2.4.2. Where does
your gdaltindex come from?  Having "-tileindex location" is not necessary
because "location" is the default name in any case, but I tested that it did not
make any harm either.

-Jukka Rahkonen- 



More information about the gdal-dev mailing list