Alexander,<br><br>I am not sure what a 'stacked band' is but obviously the script is consolidating all the 6 bands into one.<br><br>There is a work around.<br>Separate all the bands into individual files using the -b option in gdal_translate.<br>
Then use gdal_merge.py with the -separate option on all of the individual files.<br><br><div class="gmail_quote">On Sat, Apr 23, 2011 at 2:20 PM, Alexander Bruy <span dir="ltr"><<a href="mailto:alexander.bruy@gmail.com">alexander.bruy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi all,<br>
<br>
is it possible to merge several multiband rasters in single multiband raster<br>
by bands? For example, merge two 6-bands rasters into single 12-bands<br>
raster.<br>
<br>
Using gdal_merge.py I get only 2 bands with or without "-separate" option.<br>
<br>
Any hints how to do this?<br>
<br>
Thanks<br>
<font color="#888888">--<br>
Alexander Bruy<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9494447584<br>17.2416N 80.1426E<br>