Hi all,

Using nearestNeighbor of QgsSpatialIndex, even with the flag FlagStoreFeatureGeometries, sometimes I got more than 1 feature related (distance between the features is not the same, I've manually checked).

Is there a way to return only the nearest feature?

Cheers and thanks

Matteo
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to