[gdal-dev] Re: problem with gdaltindex

Imran Rajjad rajjad at gmail.com
Wed Nov 24 03:40:30 EST 2010


I dont really remember, I think I got the binnaries from the main
website http://gdal.org/index.html a few months ago. but that is
strange, could it be something with windows? but now that batch file
is doing the work fine.

regards,
iMran


On Wed, Nov 24, 2010 at 1:36 PM, Jukka Rahkonen
<jukka.rahkonen at mmmtike.fi> wrote:
> 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-
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
I.R


More information about the gdal-dev mailing list