I am trying to use a polygon shapefile to clip a raster, but it gives me "Clipping Error 1: Cutline polygon is invalid", and a blank raster as output.
This is similar to this question, but the answers suggested there don't seem to work. Both layers are in the same projection. I have checked and fixed the shapefile geometry, and I have tried buffering the polygons by 0m. Neither resolve the error. Is there anything else I can attempt? I was wondering about dissolving the shapefile before clipping? However, it has ~600k polygons, so I hope to avoid a step that is likely to take a long time.