Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?


share|improve this question
up vote 6 down vote accepted

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...

share|improve this answer
recommended solution - good investment to learn this. – Willy Nov 14 '12 at 8:59
Thanks Aragon. I eventually got this right once I put the layers in the right order!!! – alj Nov 14 '12 at 21:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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