Creating a multi-band GeoTIFF

From AWF-Wiki
(Difference between revisions)
Jump to: navigation, search
(Multiband layers)
Line 2: Line 2:
  
 
==Multiband layers==
 
==Multiband layers==
To create a multiband image:
+
Satellite image data are most often delivered as single band image files. For displaying colour composites and classification single band image files need to be stacked and saved into a multi-band image:
# Load the different satellite band layers into [[QGIS]]. For exercise purposes, you can use the landsat-bands from the directory ''geodata/raster/landsat/'' in the [[Course data|course data]]; the layer names start with ''sub'', the band number is indicated by ''B'' and a one- or two-digit number, e.g. ''B1'' or ''B10'' for the first band and ''B1'' or ''B20'' for the second.
+
# Load the different satellite band layers into [[QGIS]]. For exercise purposes, you can use Sentinel-2 satellite bands from the directory ''geodata/Goe/raster/sentinel-2/''; the band number is indicated by ''B'' and a one- or two-digit number, e.g. ''B1'' for the first band and ''B2'' for the second. Important for producing a correct output multi-band file is that the bands layer are ranked in ascending order in the ''Layer browser''. Usually single bands with the same spatial resolution (GSD or pixel size) are stacked. In case of Sentinel-2 inform on
# If the processing toolbox is not visible in you [[QGIS]] window yet, select {{mitem|text=Processing --> Toolbox}}.  
+
# If the processing toolbox is not visible, select {{mitem|text=Processing Toolbox}}.  
# In the processing toolbar, type {{typed|text=merge}} into the search field to find the {{button|text=merge}} tool and open it ('''figure A''').
+
# In the processing toolbar, type {{typed|text=Merge}} into the search field to find the {{button|text=GDAL\OGR --> Merge}} tool and open it ('''figure A''').
# Click the upper {{button|text=...}} button to select the layers you want to combine.
+
# Click the check box {{button|text=...}} on to select the layers you want to include in the multi-layer band
[[Image:RemSens_Exercise03_1.png|thumb|left|450px|'''Figure A:''' The ''merge'' dialogue in [[QGIS]] 2.0]]
+
[[Image:RemSens_Exercise03_1.png|thumb|left|450px|'''Figure A:''' The ''Merge'' dialogue in [[QGIS]] 2.14]]
  
 
[[Category:Working with Raster Data]]
 
[[Category:Working with Raster Data]]

Revision as of 08:40, 2 May 2016

In this exercise you will learn how to create composites of several bands of satellite data.

Multiband layers

Satellite image data are most often delivered as single band image files. For displaying colour composites and classification single band image files need to be stacked and saved into a multi-band image:

  1. Load the different satellite band layers into QGIS. For exercise purposes, you can use Sentinel-2 satellite bands from the directory geodata/Goe/raster/sentinel-2/; the band number is indicated by B and a one- or two-digit number, e.g. B1 for the first band and B2 for the second. Important for producing a correct output multi-band file is that the bands layer are ranked in ascending order in the Layer browser. Usually single bands with the same spatial resolution (GSD or pixel size) are stacked. In case of Sentinel-2 inform on
  2. If the processing toolbox is not visible, select Processing Toolbox.
  3. In the processing toolbar, type Merge into the search field to find the GDAL\OGR --> Merge tool and open it (figure A).
  4. Click the check box ... on to select the layers you want to include in the multi-layer band
Figure A: The Merge dialogue in QGIS 2.14
Personal tools
Namespaces

Variants
Actions
Navigation
Development
Toolbox
Print/export