[Gdal-dev] merge 3 tiff files into RGB color composite geotiff
Frank Warmerdam
fwarmerdam at gmail.com
Wed Mar 2 17:58:04 EST 2005
On Wed, 2 Mar 2005 23:31:34 +0100, Jeroen Ticheler
<Jeroen.Ticheler at fao.org> wrote:
> Hi,
>
> I wondered if there is a trick to convert three image files (geotiff),
> being red, NIR and MIR, into an RGB geotiff?
Jeroen,
As long as the red, NIR and MIR are the same size and for the same
region you should be able to stack them with gdal_merge.py:
gdal_merge.py -seperate red.tif nir.tif mir.tif -o stack.tif
The -seperate flag means put each input into a seperate band.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the Gdal-dev
mailing list