0

I want to cluster many points (around 1.000) into even sized groups (13 points each group). There is no attribute defining that groups, it should be grouped based on spatial distance.

I tried to work with "Clusterpy", "Concave Hull" and the long road via grids like in the following pictures. I made a four different grids (big to smaller ones) and the idea was to intersect the grid (starting with the big one) to intersect with the point layer. If there is the right number (13 points) or less but in the "surrounding area" not one point more as a single one - then that intersected point layer may be the first group. Then the progress of finding those spatial related groups would go on and the grid would get smaller and smaller. after the first grid i decided that this is not the ideal way to find a solution.

enter image description here

enter image description here

I also tried using "Shared Nearest Neigbhor Clustering" but with "13" or "8" as a number of Neighbors and only based on location every feature has the ID "1" in the resulting Output layer.

What would be the best way to split a point layer into even sized groups (same feature amount) based on spatial proximity?

I use QGIS 2.18

5
  • 1
    gis.stackexchange.com/questions/123289/…
    – FelixIP
    Commented Aug 25, 2017 at 9:46
  • I don't have an attribute like "population" as in your related question that would help to group the points. It should be based only on spatial proximity.
    – Dirk
    Commented Aug 25, 2017 at 9:49
  • Make population = 1 e.g. gis.stackexchange.com/questions/250113/…
    – FelixIP
    Commented Aug 25, 2017 at 9:52
  • Those links aren't really helpful. First related question is mainly arcgis based and the described process is based on a field, second is also only 'related' but not similar.
    – Dirk
    Commented Sep 3, 2017 at 13:29
  • Best of luck doing it your way
    – FelixIP
    Commented Sep 3, 2017 at 23:01

0

Your Answer

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