[Qgis-user] combining individual tif files into a multiband tif file

Otto Dassau otto.dassau at gmx.de
Sat Jun 7 11:48:01 PDT 2008


Hi Agustin,

Am Samstag, den 07.06.2008, 20:08 +0200 schrieb Agustin Lobo:
> Hi,
> 
> As QGIS requires a multiband file to make rgb composites,
> I'm looking for an easy way to combine a set of individual geotif files 
> into a multiband geotif file. I was thinking on a command line process, 
> something like a gdal utility, ie
> gdalcombine *.tif multiple.tif
> 
> ..but gdalcombine does not exist.

to produce layer stacks you can use gdal_merge.py, e.g.:
gdal_merge.py -v image.tif -separate blue.tif green.tif red.tif

regards,
 Otto

> I've tried with gdal_translate, but did not get with the
> appropriate syntax.
> 
> Anybody with experience on a command for doing this?
> 
> (BTW, it would be so much more efficient having something like
> the metafile in ENVI: the multiple band file is just a text list
> of the individual files (very much like the image groups in grass)).
> 
> Thanks
> 
> Agus
> 




More information about the Qgis-user mailing list