9

I have a dataset with around 900 points and I want to cluster them into groups of 44 based on proximity.

Is this possible in QGIS?

I have tried to use the convex hull tool with no success.

1 Answer 1

4

You can use ClusterPoint plugin. After installing the plugin, a tool named doCluster is added to Processing Toolbox.

Cluster Points adds a new field Cluster_IDto the attribute table as output. (In the image, points are styled categorically by Cluster_ID)

enter image description here

2
  • Originally, that was also my answer :). But as @Sapecedman rightly pointed out, OP wants to create clusters with 44 points (not 44 clusters), which seems to be more difficult task than to handle with this algorithm.
    – Oto Kaláb
    Commented Oct 19, 2018 at 8:23
  • Could you do the total number of points divided by the number of points wanted in a cluster? (900/44 = 20.45...) obviously you will end up with some discrepancy if not an integer.
    – AWGIS
    Commented Dec 19, 2018 at 13:13

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.