Jump to content



- - - - -

  • Please log in to reply
1 reply to this topic




  • Validated Member
  • Pip
  • 9 posts
  • United States

I'm looking for information on how to take 2 3Band images and merge a pair of bands from each into 1 4 band image. I've been using GDAL_translate to split 4 band images... using the -b switch. But I can not seem to figure how to get them back together.

I'd like to be able to use GDAL for the batching ability but i'll take any suggestions?


Peter Finch

Peter Finch


  • Validated Member
  • Pip
  • 4 posts
  • No Country Selected

Hi Ninja,

gdal_merge is the command which you'll want to use to merge your selected bands into a single multiband image,
along the lines of:

gdal_merge -o output.tif -separate band_1.tif band_2.tif band_3.tif band_4.tif

See the manpage for more information:


I hope this helps.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users