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't duplicate your input data, but apart from that it behaves pretty much like a multiband GeoTIFF.

Use it like:

gdal_vrtmerge.py -separate -o tm2.vrt *.tif

(Without -separate it will fail [2]).

[1]http://trac.osgeo.org/gdal/attachment/ticket/1985/gdal_vrtmerge.py
[2]http://trac.osgeo.org/gdal/ticket/1985#comment:3

Maciek

--
Maciej Sieczka
www.sieczka.org
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to