I often deal with polygons that delineate an area of interest. When visualizing them, I have the problem that:
- using a fill "masks" the content of the area of interest, e.g. a background raster layer
- using an outline isn't clear/unambigous in showing what's inside and outside, especially with complex geometries
I presume this is a common dilemma, so I was wondering:
Is there a convenient function to do an "inverse fill" in QGIS?
Materializing the symmetrical difference and using that for visualization is a solution (that is what I did for below screenshots), but isn't really convenient, given that now I have to use different files for calculations and visualization (and calculating the symmetrical difference takes surprisingly long).
To show what I mean, this is what I have:
Polygons, visualized with outline. This is ambigous: Do i mean the forested (dark) or unforested (brighter) area?

With a fill, it is clear which area is meant, but now my area of interest is "covered" (to some extent, could be less with transparency and such, but then the highlight isn't as powerful):

With an "inverse fill", I have the desired effect: The area of interest is fully clear, everything else is masked.




