1

I have two Layer in my Project

1) Voronoi Layer which is constructed on point Layer

2) Building Layers which is represented as Polygon.

The goal is to find the nearest node for every polygon (building).

I am using QGIS 3.0 and using python console within QGIS to automate this.

I am highly confused in below two approaches: NN join and Nearest Neighbour.

I am thinking to find the centroid of each polygon and then find the nearest node using the Distance Matrix Tool.

Small Green dots are Nodes and Polygon are Buildings.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.