Project: QGIS

Version: 3.8

Feature: Nearest Neighbour search in QgsSpatialIndex

We added API to allow accurate nearest neighbor search based on QgsGeometry to QgsGeometry searches via QgsSpatialIndex. In previous QGIS versions only point to geometry nearest neighbour searches were possible. But with this change, you can safely and accurately use QgsSpatialIndex to determine the nearest neighbours between any types of geometries.

This feature was funded by North Road

This feature was developed by Nyall Dawson (North Road)