[gdal-dev] Re: gdal_merge multiple files

Mullins, Steven Steven.Mullins at dmme.virginia.gov
Thu Jan 10 12:20:42 EST 2008


That was it... --optfile.  I used that before but could not remember it.

Thanks!

Steve

-----Original Message-----
From: estrada.adam at gmail.com [mailto:estrada.adam at gmail.com]
Sent: Thu, January 10, 2008 10:20 AM
To: 
Subject: [gdal-dev] Re: gdal_merge multiple files


Steve,
    I am using FWTools version 2.0.3 and the following command line
seems to work just fine.

python gdal_merge.py -n 0 -o \\fscluster\Images\Archive\Images
\31\mosaic_31.tif -of GTiff -co "TFW=YES" -v --optfile \\fscluster
\Images\Archive\Images\31\31.txt

The text file is a directory list that I created in Windows by typing
[ dir /b /s *.tif > 31.txt ]

I hope this helps.

AWE

On Jan 10, 8:34 am, "Mullins, Steven"
<Steven.Mull... at dmme.virginia.gov> wrote:
> It seems that gdal_merge does not like globbing.  Are there other ways of getting a list of images into gdal_merge without putting them all on the command line?  I think I did this once before with a similar gdal command but used a config file???
>
> Steve
>
> _______________________________________________
> gdal-dev mailing list
> gdal-... at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list