Is there a practical way to calculate distances between polygon centroids in QGIS? I have a UK city region map divided into administrative units (1 ward = 1 polygon). I want to represent their population growth in function of the distance to the core city and the best way to do it seems to be looking for the geometrical 'centroid' of each polygon and measure its distance to the 'centroid' of the core city polygon. I can do it manually with the ruler tool but it takes a long time and is not very accurate. Thanks

  • 1
    I do not have time to write a full answer, but... Have a look into realcentroid plugin for creating the centroids, and Vector > Analysis tools > Matrix distance fro measuring all distances. Commented Feb 21, 2014 at 12:53

1 Answer 1


As Alexandre wrote, it is relatively easy - You want centroids and distance matrix. But I will additionaly suggest that You will use two algorithms from Processing plugin:

1) SAGA > Polygon centroids

and then

2) SAGA > Distance matrix

Both can save results to temporary file which is helpful, especially for centroids.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.