I have a polygon layer of postal code areas and I want to use them to create sales territories based on where our sales people are based. So I assume that I need to work out for each of the polygons which is the nearest point on the sales person point layer. I suppose that I could do this on the nearest part of the polygon or the centroid ... I don't think it would make much difference.

Can someone point me in the direction of what this type of analysis is even called?


1 Answer 1


you can check out Hub Distance in MMQgis.

The hub distance tool iterates through each feature on the source points layer and finds the closest "hub" from the destination hubs layer based on Ellipsoidal distance. The output is a shapefile containing all the attributes from the source layer along with a distance field and the name of the hub based on an attribute selected in the Hub Layer Name Attribute box.

hub hub

i hope it helps you...

  • recommended solution - good investment to learn this.
    – Willy
    Commented Nov 14, 2012 at 8:59
  • Thanks Aragon. I eventually got this right once I put the layers in the right order!!!
    – alj
    Commented Nov 14, 2012 at 21:21

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.