Clip Sentinel-2 images

From Geomaster, Lda
Jump to navigation Jump to search

Sentinel-2 images are large and have many bands. We can minimize the processing time by restricting the images to the area we want to work on.

For this exercise, we can use the GADM data. Download Denmark's data from https://gadm.org/download_country_v3.html Or use this direct link: [1]

Create the polygon

From gadm36_DNK_2, create a unique polygon containing the 4 municipalities (kommuner):

  • Hillerød,
  • Helsingør,
  • Gribskov,
  • Fredensborg

Save the layer (using shapefile format) using EPSG:32633 as the CRS, to match the same CRS as the Sentinel-2 images we have.

Clipping polygon

The resulting layer "studyarea" should look like:

Captura de ecrã de 2018-06-06 15-32-20.png

Clipping Sentinel-2 images

Now that we have both the clipping polygon and the Sentinel-2 images stored on a folder, we clip all the images to make its processing faster.

We use the SCP plugin.

Go to: SCP → Preprocessing → Clip multiple rasters

   Eventualmente, atualizar a lista de raster clicando no botão de refresh
   Selecionar todos os rasters
   Use shapefile for clipping (escolher a camada com o beuffer calculado previamente)