I need to thin a point vector later based on the distances amongst points. So I have a threshold and wish to omit all records but one that is below a distance D representing a distance between points. Say D points are tree locations D is the canopy radius and I want to select/extract/remove all trees within the canopy of another tree.
I have tried 2 approaches unsuccessfully:
Distance matrix (QGIS) and I can select points below
Dbut can only remove all or none, but I need to have a single remaining one.Buffering the points with
Dand applying the Select Within Plugin to select polygons with their centroid within other polygons returns a selection of all polygon because centroids fall inside the other polygons.
How do I remove all records but the first that are closer than D?

