I have a vector that was polygonized from a raster. I'm hoping to clip it within the boundaries of a certain shapefile "noFertZone" (the turquoise box). In the end I want a "noPKS" shapefile that only encompasses everything within the turquoise box.
However, when I use the clip by mask tool It only clips the elements fully within the turquoise box.
When I do the simple clip tool, like I would in ArcGIS, my input looks like this. However, the clip tool is spitting back an 'invalid geometry' error.
Any ideas on what I'm doing wrong? I've tried every clipping option I could think of.



