TransWikia.com

Stitching Sentinel 2 neighboring images in QGIS

Geographic Information Systems Asked by estebancf28 on February 22, 2021

I’m working with Sentinel 2 imagery, and don’t know how to stitch neighbouring images. The problem is that the region im analyzing is on the border of the orbit, and there’s a region with no data.

How could I proceed to merge the images correctly with QGIS?

enter image description here

enter image description here

2 Answers

Merging tif images into a single GeoTiff with QGIS

this should solve your question!

Answered by sn1ks on February 22, 2021

This method below could work for you. It assumes you want to overlap some tiles to fill the black gaps, you know the pixel value of the areas the orbit has missed, and there is no zero-value data in the imagery.

  1. Run the QGIS Raster Calculator (Menu > Raster > Raster Calculator) on each tile using a formula like the below. This will set the areas where there is no orbit to a value of zero:
(raster01@1 != no orbit pixel value)*raster01
  1. Create a virtual raster (Menu > Raster > Miscellaneous > Virtual Raster) containing the three modified tiles. Make sure you choose 'Place each input file into a separate band'

  2. Using Raster Calculator again add the tiles together using something like the formula below. It should overlap the tiles and use the full extent of the tiled images it contains.

virtualraster01@1 + virtualraster01@2 + virtualraster01@3

Answered by alanajones on February 22, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP