<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.E-MailFormatvorlage18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
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]-->
</head>
<body lang="DE" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Hi and thanks for the info. I’ll try. Forget to ask, does it just cluster considering euclidian distance, or can I also use a road network for real distance?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>Von:</b> Ujaval Gandhi <ujaval@spatialthoughts.com> <br>
<b>Gesendet:</b> Donnerstag, 21. Oktober 2021 20:04<br>
<b>An:</b> Wolfgang Meinolf <wmeinolf@bbv-deutschland.de><br>
<b>Cc:</b> qgis-user@lists.osgeo.org<br>
<b>Betreff:</b> Re: [Qgis-user] k-means constrained<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">I wrote a QGIS processing alg for constrained k-means based on another library. You can check it out at <a href="https://spatialthoughts.com/2021/01/31/equal-sized-kmeans-qgis/">https://spatialthoughts.com/2021/01/31/equal-sized-kmeans-qgis/</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="480" style="width:360.0pt;border-collapse:collapse;border-spacing:0px">
<tbody>
<tr>
<td width="160" valign="top" style="width:120.0pt;padding:7.5pt 0cm 9.0pt 0cm">
<p class="MsoNormal"><a href="https://spatialthoughts.com/" target="_blank"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#337AB7;text-decoration:none"><img border="0" width="141" height="110" style="width:1.4722in;height:1.1458in" id="_x0000_i1027" src="https://spatialthoughts685850346.files.wordpress.com/2019/12/spatial_thoughts_logo.png" alt="Logo"></span></a><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#444444"><o:p></o:p></span></p>
</td>
<td width="320" style="width:240.0pt;padding:4.5pt 0cm 4.5pt 0cm">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border-spacing:0px">
<tbody>
<tr>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#00AFEF">Ujaval Gandhi</span></b><b><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#3D3C3F"><o:p></o:p></span></b></p>
</td>
</tr>
<tr>
<td style="padding:0cm 0cm 8.25pt 0cm">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#00AFEF">Spatial Thoughts</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#3D3C3F"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#9B9B9B">mobile: +91-8095684687<o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#9B9B9B">email: </span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1793D2"><a href="mailto:ujaval@spatialthoughts.com" target="_blank">ujaval@spatialthoughts.com</a></span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#9B9B9B"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style="padding:4.5pt 0cm 0cm 0cm">
<p class="MsoNormal"><a href="https://www.linkedin.com/in/spatialthoughts/" target="_blank"><span style="color:#337AB7;text-decoration:none"><img border="0" width="23" height="23" style="width:.243in;height:.243in" id="_x0000_i1026" src="https://codetwocdn.azureedge.net/images/mail-signatures/generator/elegant-logo/ln.png" alt="LinkedIn icon"></span></a>  <a href="https://twitter.com/spatialthoughts" target="_blank"><span style="color:#337AB7;text-decoration:none"><img border="0" width="23" height="23" style="width:.243in;height:.243in" id="_x0000_i1025" src="https://codetwocdn.azureedge.net/images/mail-signatures/generator/elegant-logo/tt.png" alt="Twitter icon"></span></a>  <o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td width="480" colspan="2" style="width:360.0pt;border:none;border-top:solid #1793D2 1.0pt;padding:6.0pt 0cm 0cm 0cm">
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Thu, Oct 21, 2021 at 10:53 PM Wolfgang Meinolf <<a href="mailto:wmeinolf@bbv-deutschland.de">wmeinolf@bbv-deutschland.de</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">I need to use the
<a href="https://github.com/joshlk/k-means-constrained" target="_blank">https://github.com/joshlk/k-means-constrained</a> in QGIS. Unfortunately this lib in not listed in the OSGeo4W installer. As I don’t like to install it separately on windows here my question:</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Is there any comparable processing alg or Plugin available in QGIS, which I can Installviy QGIS Installer and use inside processing scripts?</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Thanks and regards</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Wolfgang</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<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" target="_blank">
https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">
https://lists.osgeo.org/mailman/listinfo/qgis-user</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</body>
</html>