[postgis-users] Dividing a point set into groups by distance

Carsten Hogertz carsten.hogertz at gmail.com
Sun Nov 10 05:25:51 PST 2013


Hello,

I've got the following task to solve:

There's a table containing a set of 100 site points spread over a city.
These 100 points have to be visited 10 groups where each group has to 
visit 10 sites.

My question is how can I divide this 100 points into 10 groups where the 
points of each group are grouped by nearest distance?

Any ideas?
Best Regards
Carsten


More information about the postgis-users mailing list