0

Instead, it is only clipping a rectangle.

I have not used in QGIS in a while so maybe I'm missing a step?

Create shapefile (polygon in this case) > raster > extraction > clip raster by extent > clipping extent (polygon)

Output:

enter image description here

the light grey is the original image, and the slightly darker image is the ''clipped'' image. Note how it does not match the polygon.

I am using QGIS 3.16.3 on Ubuntu 20.04

1 Answer 1

2

The step you've missed is clipping raster by mask layer instead of clipping by extent. The result you got is the expected results for clipping by extent. You can check the documentation here for more details https://docs.qgis.org/3.16/en/docs/user_manual/processing_algs/gdal/rasterextraction.html

1
  • Great! this worked. Thank you for the refresher and help.
    – jmm688
    May 27, 2021 at 20:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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