<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Eric<div class=""><br class=""></div><div class="">Nice to hear from you!</div><div class=""><br class=""></div><div class="">also try DBSCAN </div><div class=""><br class=""></div><div class="">k-means and DBSCAN are available natively in QGIS, PostGIS and GRASS, so also try these in the different implementations</div><div class=""><br class=""></div><div class="">GRASS also has OPTICS and a couple of others (in v.cluster)</div><div class=""><br class=""></div><div class="">I don’t think any method will give you the three pre-determined fixed number clusters it seems you are looking for. </div><div class=""><br class=""></div><div class="">hth</div><div class=""><br class=""></div><div class="">Gavin<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 31 Aug 2022, at 00:15, E. Ndava <<a href="mailto:erick.ndava@gmail.com" class="">erick.ndava@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello List Members,<div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">I have Googled for one on the web and have skimmed <a href="https://gis.stackexchange.com/" target="_blank" class="">https://gis.stackexchange.com/</a> and have not found an appropriate one (a.k.a ran out of patience).</div><div class=""><br class=""></div><div class="">My starting point - Constrained K-Means Clustering, in QGIS did not yield acceptable results [ <a href="https://spatialthoughts.com/2021/01/31/equal-sized-kmeans-qgis/" target="_blank" class="">https://spatialthoughts.com/2021/01/31/equal-sized-kmeans-qgis/</a> ] </div><div class=""><div class=""><br class=""></div><div class="">Looking forward to some pointers.</div><div class=""><br class=""></div><div class="">Erick.</div><div class=""><br class=""></div><div class="">PS:<br class=""></div><div class="">List Inappropriate Content:  (Ignore)</div><div class=""><br class=""></div><div class="">The below clusters, Red, Green and Blue were produced by esri software (source under image)</div><div class=""><br class=""></div><div class=""><span id="cid:ii_l7gqv2an0"><group_analysis_attempt_2.PNG></span><br class=""></div><div class=""><br class=""></div><div class="">- 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 - [ <a href="https://community.esri.com/t5/spatial-data-science-questions/group-every-near-50-points-together/m-p/167184?commentID=687372#comment-687293" target="_blank" class="">https://community.esri.com/t5/spatial-data-science-questions/group-every-near-50-points-together/m-p/167184?commentID=687372#comment-687293</a> ]</div><div class=""><div class=""></div><div class=""><br class=""></div></div></div><div class="">- I do not have access to ArcPro.</div></div>
_______________________________________________<br class="">Africa mailing list<br class=""><a href="mailto:Africa@lists.osgeo.org" class="">Africa@lists.osgeo.org</a><br class="">You can UNSUBSCRIBE at https://lists.osgeo.org/mailman/listinfo/africa<br class=""></div></blockquote></div><br class=""></div></body></html>