Problem with gdal_vrtmerfe (was:Re: [Qgis-user] combining individual tif files into a multiband tif file)

2008-06-09 Thread Agustin Lobo
I run: [EMAIL PROTECTED]:~/CHINA$ ./gdal_vrtmerge.py -separate -o tm2.vrt *.tif and get: ./gdal_vrtmerge.py: line 1: !DOCTYPE: No such file or directory ./gdal_vrtmerge.py: line 2: PUBLIC: command not found ./gdal_vrtmerge.py: line 3: syntax error near unexpected token `newline' ./gdal_vrtmerge.

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

2008-06-08 Thread Maciej Sieczka
Agustin Lobo pisze: Great! This is what I was looking for! Where did you learn about it? It's not listed in http://www.gdal.org/gdal_utilities.html Probably browsing GDAL ML archives. Glad it helps. Maciek -- Maciej Sieczka www.sieczka.org ___ Qgis-

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

2008-06-08 Thread Agustin Lobo
Great! This is what I was looking for! Where did you learn about it? It's not listed in http://www.gdal.org/gdal_utilities.html Thanks! Agus Maciej Sieczka escribió: Otto Dassau pisze: to produce layer stacks you can use gdal_merge.py, e.g.: gdal_merge.py -v image.tif -separate blue.tif gree

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

2008-06-07 Thread Maciej Sieczka
Otto Dassau pisze: 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 I recommend gdal_vrtmerge.py [1]. It produces a "virtual raster" (vrt format) which can be loaded into QGIS. The vrt file is just few lines text, doesn'

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

2008-06-07 Thread Otto Dassau
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, > som

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

2008-06-07 Thread 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