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.b...@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@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
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev