I have produced a polygon and need to remove the selected points from the polygon.
However, I want this to result in the orange polygon completely excluding these points so that there is just blank space/the basemap in these locations?
I have produced a polygon and need to remove the selected points from the polygon.
However, I want this to result in the orange polygon completely excluding these points so that there is just blank space/the basemap in these locations?
Create a (small) buffer around your points to convert them to polygons.
Run difference tool using these buffers as input.
Another option is to use QGIS expressions with Geometry generator (for visualisation only) or Geometry by expression (to create actual geometries). See here for details.
Use this expression on the point layer and rename poly to the name of your polygon layer and change the value of 40 to adapt the buffer size:
difference (
overlay_within('poly', $geometry)[0], -- change poly to the name of your polygon layer
buffer (collect ($geometry), 40) -- change this value to adapt buffer size
)
The solution using Geometry generator: the red polygon corresponds to the yellow (invisible) one but with small holes cut out where the blue points are:
