[OSGeo Africa] Points Clustering/ Grouping - Seeking a Solution

E. Ndava erick.ndava at gmail.com
Tue Aug 30 15:15:36 PDT 2022


Hello List Members,

I have a set of 64 points I intend to group by proximity into three
clusters (of 22, 22, 20) and am looking for a QGIS, PostGIS or any other
OSS solution to this problem.

I have Googled for one on the web and have skimmed
https://gis.stackexchange.com/ and have not found an appropriate one (a.k.a
ran out of patience).

My starting point - Constrained K-Means Clustering, in QGIS did not
yield acceptable results [
https://spatialthoughts.com/2021/01/31/equal-sized-kmeans-qgis/ ]

Looking forward to some pointers.

Erick.

PS:
List Inappropriate Content:  (Ignore)

The below clusters, Red, Green and Blue were produced by esri software
(source under image)

[image: group_analysis_attempt_2.PNG]

- I also tried the esri way (ArcGIS), Sort Tool which too did not produce
acceptance (i.e. clusters not equally sized),  results but something close.
Source - [
https://community.esri.com/t5/spatial-data-science-questions/group-every-near-50-points-together/m-p/167184?commentID=687372#comment-687293
 ]

- I do not have access to ArcPro.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/africa/attachments/20220831/9cdc9398/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: group_analysis_attempt_2.PNG
Type: image/png
Size: 37803 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/africa/attachments/20220831/9cdc9398/attachment-0001.png>


More information about the Africa mailing list