Overlay_Intersects and Buffers in QGIS 3.2x

A common GIS task is to suppress duplicated points from other layers. What if those points don’t line up perfectly? Then you can’t use overlay_intersects but you can use intersects with a buffer. The key to using buffer with a layer is to use the aggregate function inside of the buffer function, so the layer appears as a MULTIPOLYGON or MULTIPOINT to the buffer command. Then just do an ordinary NOT intersects between the current layer and the buffered layer.

NOT intersects($geometry,
buffer(
aggregate('other_layer_compare_against', 'collect', $geometry)
,500 )
)

Leave a Reply

Your email address will not be published. Required fields are marked *