Clipping polygons in one layer from larger polygon in another layer

clipoverlapping-featurespolygonqgis-3

In QGIS 3.16.10 I want to clip (remove) the polygon areas (yellow) in one layer from a larger polygon in another layer (gray).

I've tried the Clip from the Processing Tool but it only returns the yellow areas, "Only the parts of the features in the Input layer that fall within the polygons of the Overlay layer will be added to the resulting layer", but I want the opposite result (the brown polygon with holes where the yellow polygons are).

enter image description here

I've also tried the Clipper plugin but can't figure out how to make it work (I'm a novice). I've searched but can only find methods that give the "Clip" result or talk about clipping a raster with a vector polygon. Seems like removing a polygon from another polygon should be easy.

Best Answer

Try the "Difference" that will do exactly what you want:

Extracts features from the input layer that don’t fall within the boundaries of the overlay layer.

input

'Input layer': gray
'Overlay layer': yellow

window

and get the desired output

result

Related Question