Visualize nearest neighbours with Geometry Generator in QGIS

I created a QGIS style that will draw a curved line between a point and the closest other point in that same layer. This way you can visualize nearest neighbours and also see clusters of points.

The example I created including a QML-file, sample data and a sample project file can be found and downloaded on my GitLab-page.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.