[Gdal-dev] troubles with gdaltindex

Matt Wilkie matt.wilkie at gov.yk.ca
Fri Jan 20 12:39:15 EST 2006


Hmm, looks like wildcards on windows are a common theme today :)

> Frank's assessment is correct; as an alternative work-around, you can
> use the Windows command-line FOR statement to loop through your JPEG
> files, adding them one at a time:
> 
> For %f in (*.jpg) do gdaltindex shpindex %f

this works well too and is faster since you only need to run gdaltindex 
once:

	dir /s/b *.jpg > jpg-files.txt
	gdaltindex index.shp --optfile jpg-files.txt

cheers,

-- 
matt wilkie
--------------------------------------------
Geographic Information,
Information Management and Technology,
Yukon Department of Environment
10 Burns Road * Whitehorse, Yukon * Y1A 4Y9
867-667-8133 Tel * 867-393-7003 Fax
http://environmentyukon.gov.yk.ca/geomatics/
--------------------------------------------




More information about the Gdal-dev mailing list