<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 30 Apr 2021 at 08:25, krishna Ayyala <<a href="mailto:ayyalakrishna@gmail.com">ayyalakrishna@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Chris,<div>Thanks for the reply. Yes, I did run k-means clustering for 4 clusters. It is creating a new layer called "clusters". This layer has a field called Cluster_id, ranging from 1 to 4. But, this method is considering all the points within the circle. I am looking for the points outside the ellipses to be omitted (should not be considered)</div></div></div></blockquote><div><br></div><div>In this case "dbscan clustering" is more appropriate.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>. Also K-means clustering is not generating any polygons/ellipses. We have to identify a cluster based on the Cluster_ID. I am curious if there is any tool within Qgis that can produce results similar to the circle with ellipses?</div></div></div></blockquote><div><br></div><div>What you could do is dissolve the points based on the cluster_id field, and then generate convex (or concave) hulls enclosing each set of points. You won't get ellipses, but you'll get polygons describing the boundaries. (And it would be relatively straightforward to wrap up these steps into a single graphical model so that you have one tool which gives the desired output!).</div><div><br></div><div>Nyall</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div><br></div><div>Regards.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 29, 2021 at 3:56 PM chris hermansen <<a href="mailto:clhermansen@gmail.com" target="_blank">clhermansen@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Krishna and list,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 29, 2021 at 2:51 PM krishna Ayyala <<a href="mailto:ayyalakrishna@gmail.com" target="_blank">ayyalakrishna@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,</div><div>I have a circle in which there are randomly distributed points as below. Each point is a customer. </div><br><div><img src="cid:ii_ko3exsa01" alt="image.png" style="margin-right: 0px;" width="240" height="224"><br></div><div><br></div><div><br></div><div>Is there a tool within QGIS that can automatically generate four polygons or four ellipses such as below. These polygons are the areas of maximum concentration of the customers?<br></div><div><br></div><div><img src="cid:ii_ko3ewy1w0" alt="image.png" style="margin-right: 0px;" width="232" height="239"><br></div><br clear="all"></div></blockquote><div>You could try k-means clustering</div><div><br></div><div><a href="https://docs.qgis.org/3.4/en/docs/user_manual/processing_algs/qgis/vectoranalysis.html#k-means-clustering" target="_blank">https://docs.qgis.org/3.4/en/docs/user_manual/processing_algs/qgis/vectoranalysis.html#k-means-clustering</a> </div></div><br>-- <br><div dir="ltr"><div dir="ltr">Chris Hermansen · clhermansen "at" gmail "dot" com<br><br>C'est ma façon de parler.</div></div></div>
</blockquote></div></div>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div></div>