[gdal-dev] Merge rasters by bands

Chaitanya kumar CH chaitanya.ch at gmail.com
Sat Apr 23 05:33:28 EDT 2011


Alexander,

I am not sure what a 'stacked band' is but obviously the script is
consolidating all the 6 bands into one.

There is a work around.
Separate all the bands into individual files using the -b option in
gdal_translate.
Then use gdal_merge.py with the -separate option on all of the individual
files.

On Sat, Apr 23, 2011 at 2:20 PM, Alexander Bruy <alexander.bruy at gmail.com>wrote:

> Hi all,
>
> is it possible to merge several multiband rasters in single multiband
> raster
> by bands? For example, merge two 6-bands rasters into single 12-bands
> raster.
>
> Using gdal_merge.py I get only 2 bands with or without "-separate" option.
>
> Any hints how to do this?
>
> Thanks
> --
> Alexander Bruy
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.
/tʃaɪθənjə/ /kʊmɑr/
+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110423/abda5150/attachment.html


More information about the gdal-dev mailing list