[gdal-dev] gdal_translate input separate R,G,B output combined RGB

Roger André randre at gmail.com
Fri Jan 16 16:39:01 EST 2009


Hi Greg,

I don't know of a gdal_translate command for this, but you can use the
gdal_merge.py tool to do this.

gdal_merge.py - o <outfile> -separate gtif_R.tif gtif_G.tif gtif_B.tif

Roger
--

2009/1/9 Greg Coats <gregcoats at mac.com>

> I have 3 single band GeoTIF images of the same geographic area: one for the
> Red band, one for the Green band, and one for the Blue
> band, gtif_R.tif, gtif_G.tif, gtif_B.tif.  Please, what is the
> gdal_translate syntax http://www.gdal.org/gdal_translate.html <http://www.gdal.org/gdal_translate.html>to
> combine these 3 single band GeoTIF images into 1 three band RGB GeoTIF
> image, gtif_RGB.tif?  Greg
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090116/f354099b/attachment.html


More information about the gdal-dev mailing list