Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have some multi-spectral data, where the individual bands are separate Raster files.

How do I layer stack these rasters so that I get one raster with 3 bands instead of 3 different rasters?

This is quite easy to do in ERDAS and ArcGIS, but I haven't figured out how to do it in QGIS

share|improve this question
up vote 12 down vote accepted

I had the same issue some months ago.

Use gdal_merge to generate a new file from the 3 independent rasters.

In OSGeo4W command line you can do this:

gdal_merge.bat -separate -of GTiff -o output.tif input1.tif input2.tif input3.tif 

In QGIS you can do the same with a GUI in the raster plugin "merge" tool.

Hope this helps.

share|improve this answer
    
I had to enable the GDAL plugin as per Jehtom's answer below to get the Merge menu in the Raster Menu. After that it took hardly a few seconds. – Devdatta Tengshe Mar 26 '12 at 14:35

You could try "Raster -> Miscellaneous -> Merge" which is a front-end for GDAL's merge_raster.py. It's part of GdalTools plugin that you may have to enable from the "Plugins -> Manage plugins..." dialogue.

share|improve this answer

protected by underdark Aug 20 '14 at 21:49

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.