Difference between revisions of "Clip Sentinel-2 images"
(Created page with "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 t...") |
|||
| Line 12: | Line 12: | ||
* Fredensborg | * Fredensborg | ||
| − | Save the layer using EPSG:32633 as the CRS, to match the same CRS as the Sentinel-2 images we have. | + | 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 === | === Clipping polygon === | ||
Revision as of 17:58, 6 June 2018
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:
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)
