<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi,<div><br><div>I think geoda should be able to help you with some parts of this. <a href="https://geodacenter.github.io/download.html">https://geodacenter.github.io/download.html</a>. This software will cluster points in various group size but will use euclidien distances.</div><div><br></div><div>If you are interested in the distances along the network, then the idea would be to build a distance matrix based on the network distances (like an all paires Djikstra)<a href="https://www.mdpi.com/2306-5729/5/1/8"> https://www.mdpi.com/2306-5729/5/1/8</a> and then to use that matrix to create groups based on the n neighbor analysis. This may take some python programming. </div><div><br><div dir="ltr">Nicolas Cadieux<div><a href="https://gitlab.com/njacadieux">https://gitlab.com/njacadieux</a></div></div><div dir="ltr"><br><blockquote type="cite">Le 29 nov. 2022 à 08:37, Fabian Laumer via Qgis-user <qgis-user@lists.osgeo.org> a écrit :<br><br></blockquote></div><blockquote type="cite"><div dir="ltr">
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style>@font-face { font-family: "Cambria Math"; }
@font-face { font-family: Calibri; }
p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif; }
a:link, span.MsoHyperlink { color: rgb(5, 99, 193); text-decoration: underline; }
span.E-MailFormatvorlage17 { font-family: Calibri, sans-serif; color: windowtext; }
.MsoChpDefault { font-family: Calibri, sans-serif; }
@page WordSection1 { size: 612pt 792pt; margin: 70.85pt 70.85pt 2cm; }
div.WordSection1 { page: WordSection1; }</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hello together,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">in QGIS I have a street layer (lines) and a house layer (points) with a start point.<o:p></o:p></p>
<p class="MsoNormal">(picture 1)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I want to cluster the points alongside the line layer in groups of 20 or 10 points. The result should look like that:
<o:p></o:p></p>
<p class="MsoNormal">(picture 2)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Each coloured line in picture 2 represents a different cluster. The result was made manually and took a long time, is there any possibility to cluster the points automatically?
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I prefer groups of 20 and 10 points per line, in some cases I have to use a bit less or more.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">You can find the picutures and the layer examples here: <o:p>
</o:p></p>
<p class="MsoNormal"><a href="https://ln5.sync.com/dl/970d2d420/zp8webf5-hghnis7b-dewfmeug-vdx7saav">Sync.com - Cluster Points alongside Lines</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks in advance!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
<p class="MsoNormal">Fabian Laumer <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">HPE Planung und Entwicklung GmbH<o:p></o:p></p>
<p class="MsoNormal">Tel. +49 8564 96300-28<o:p></o:p></p>
</div>
<span>_______________________________________________</span><br><span>Qgis-user mailing list</span><br><span>Qgis-user@lists.osgeo.org</span><br><span>List info: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br><span>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br></div></blockquote></div></div></body></html>