I am new here, and I am working with QGIS 3.16.9. I have a shapefile and a raster. I am trying to clip the raster by mask layer, but it only cuts some pixels, not the whole shape.

enter image description here

And if I clip the raster by extent, there is a small section of the shapefile that is not covered by the new clipped raster.

enter image description here

Every pixel is 5km. Do you have any idea of what am I doing wrong?

  • 1
    seems pretty normal to me ... there is just a white pixel in there, it leaves the pixels that have more than 50% of them intersecting with shape Sep 5 at 9:48
  • 2
    try adding a 2.5km buffer to the shapes
    – Ian Turton
    Sep 5 at 11:12

Your Answer

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

Browse other questions tagged or ask your own question.