[FWTools] Shell Script for gdaladdo on a whole directory?

David Fawcett david.fawcett at gmail.com
Wed Feb 20 12:50:29 EST 2008


I want to run gdaladdo on approx. 500 images all sitting in the same
directory.

I have tried the command

D:\TestGisData\>gdaladdo --config USE_RRD YES *.jpg 3 9 27 81

and I get the error:

ERROR 6: The JPEG driver does not support update access to existing
datasets.

ERROR 1: Attempt to extend field string in node past end of data,
not currently supported.
Overview building failed.

Since the command D:\TestGisData>gdaladdo --config USE_RRD YES 01.jpg 3  9
27 81

ERROR 6: The JPEG driver does not support update access to existing
datasets.

0...10...20...30...40...50...60...70...80...90...100 - done.
0...10...20...30...40...50...60...70...80...90...100 - done.
0...10...20...30...40...50...60...70...80...90...100 - done.

works, I assume that there isn't a 'wildcard mode' and that I will need to
write a dos shell script to do a batch run.

Can anyone point me to an example of a script like this?  I did a lot of
searching, but couldn't find anything.

Thanks,

David.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/fwtools/attachments/20080220/c53bf282/attachment.html


More information about the FWTools mailing list