<div dir="ltr"><span style="font-family:Verdana,sans-serif;font-size:13.3333px">> Is there a way to identify (and potentially delete) such minor sub-nets?</span><br><div><span style="font-family:Verdana,sans-serif;font-size:13.3333px"><br></span></div><div><font face="Verdana, sans-serif"><span style="font-size:13.3333px">IMHO:  this is similar for detecting "Component" ( </span></font><a href="https://en.wikipedia.org/wiki/Component_(graph_theory)">https://en.wikipedia.org/wiki/Component_(graph_theory)</a> )</div><div>Have you checked the  <a href="https://docs.pgrouting.org/3.1/en/components-family.html">https://docs.pgrouting.org/3.1/en/components-family.html</a>  functions?</div><div><br></div><div>If you know the components - you can calculate the aggregated length of edges for each component.</div><div><br></div><div>Regards,</div><div> Imre</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Hans Skov-Petersen <<a href="mailto:hsp@ign.ku.dk">hsp@ign.ku.dk</a>> ezt írta (időpont: 2021. jún. 27., V, 21:42):<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 lang="DA">
<div class="gmail-m_1709301994394863974WordSection1">
<p class="MsoNormal"><span style="font-size:10pt;font-family:Verdana,sans-serif">Hi list<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Verdana,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Verdana,sans-serif">I realize that the network (OSM) I am working on is not always connected as it should (big surprise
</span><span lang="EN-US" style="font-size:10pt;font-family:Wingdings">J</span><span lang="EN-US" style="font-size:10pt;font-family:Verdana,sans-serif">)…. Some parts are disjoint from the rest – even
 when not being situated on islands, or other places where a disjoint is expected. Accordingly, routes from nodes on such sub-nets cannot be generated.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Verdana,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Verdana,sans-serif">Is there a way to identify (and potentially delete) such minor sub-nets? For instance by asking for the aggregated length of edges of
 a sub-net.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Verdana,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Verdana,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><img width="322" height="282" style="width: 3.3541in; height: 2.9375in;" id="gmail-m_1709301994394863974_x0000_i1033" src="cid:17a4f3e1c741f3aa078"><span lang="EN-US" style="font-size:10pt;font-family:Verdana,sans-serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Verdana,sans-serif"><u></u> <u></u></span></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="line-height:8pt"><span lang="EN-GB" style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray"><u></u> <u></u></span></p>
<p class="MsoNormal" style="line-height:8pt"><b><span lang="EN-GB" style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray">Hans Skov-Petersen<u></u><u></u></span></b></p>
<p class="MsoNormal" style="line-height:8pt"><span lang="EN-GB" style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray">Professor of Geoinformatics</span><span lang="EN-GB" style="font-size:7.5pt;font-family:Verdana,sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:8pt"><span lang="EN-GB" style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray"><u></u> <u></u></span></p>
<p class="MsoNormal" style="line-height:8pt"><b><span lang="EN-GB" style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray">University of Copenhagen<u></u><u></u></span></b></p>
<p class="MsoNormal" style="line-height:8pt"><span lang="EN-GB" style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray">Department of Geosciences and Natural Resource Management<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:8pt"><span lang="EN-GB" style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray">Section of Landscape Architecture and Planning<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:8pt"><span style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray">Rolighedsvej 23<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:8pt"><span style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray">DK-1958 Frederiksberg<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:8pt"><span style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray"><u></u> <u></u></span></p>
<p class="MsoNormal" style="line-height:8pt"><span style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray"><u></u> <u></u></span></p>
<p class="MsoNormal" style="line-height:8pt"><span style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray">DIR +45 35 33 18 16<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:8pt"><span style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray">MOB +45 23 82 80 45<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:8pt"><span lang="EN-GB" style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray"><a href="mailto:hsp@ign.ku.dk" title="hsp@ign.ku.dk" target="_blank"><u><span lang="EN-US" style="color:gray;text-decoration:none">hsp@ign.ku.dk</span></u></a><u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:8pt"><span lang="EN-US" style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray"><u></u> <u></u></span></p>
<p class="MsoNormal" style="line-height:12pt"><span style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray"><img border="0" width="228" height="87" style="width: 2.375in; height: 0.9062in;" id="gmail-m_1709301994394863974Picture_x0020_2" src="cid:17a4f3e1c75201d7d09" alt="Title: SD_Logo"></span><span lang="EN-GB" style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray"> 
<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:8pt"><span lang="EN-GB" style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray"><u></u> <u></u></span></p>
<p class="MsoNormal"><a href="https://www.facebook.com/universitet" target="_blank"><span style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray;text-decoration:none"><img border="0" width="25" height="25" style="width: 0.2604in; height: 0.2604in;" id="gmail-m_1709301994394863974Picture_x0020_3" src="cid:17a4f3e1c74692e331"></span></a><span lang="EN-GB" style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray"> </span><a href="https://www.instagram.com/university_of_copenhagen" target="_blank"><span style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray;text-decoration:none"><img border="0" width="25" height="25" style="width: 0.2604in; height: 0.2604in;" id="gmail-m_1709301994394863974Picture_x0020_4" src="cid:17a4f3e1c747745b42"></span></a><span lang="EN-GB" style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray"> </span><a href="https://www.linkedin.com/company/university-of-copenhagen" target="_blank"><span style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray;text-decoration:none"><img border="0" width="25" height="25" style="width: 0.2604in; height: 0.2604in;" id="gmail-m_1709301994394863974Picture_x0020_5" src="cid:17a4f3e1c74855d353"></span></a><span lang="EN-GB" style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray"> </span><a href="https://twitter.com/koebenhavns_uni" target="_blank"><span style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray;text-decoration:none"><img border="0" width="25" height="25" style="width: 0.2604in; height: 0.2604in;" id="gmail-m_1709301994394863974Picture_x0020_6" src="cid:17a4f3e1c749374b64"></span></a><span lang="EN-GB" style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray"> </span><a href="https://www.futurity.org/university/university-of-copenhagen/" target="_blank"><span style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray;text-decoration:none"><img border="0" width="25" height="25" style="width: 0.2604in; height: 0.2604in;" id="gmail-m_1709301994394863974Picture_x0020_7" src="cid:17a4f3e1c74a18c375"></span></a><span lang="EN-GB" style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray"> </span><a href="https://theconversation.com/institutions/university-of-copenhagen-1186" target="_blank"><span style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray;text-decoration:none"><img border="0" width="25" height="25" style="width: 0.2604in; height: 0.2604in;" id="gmail-m_1709301994394863974Picture_x0020_8" src="cid:17a4f3e1c74afa3b86"></span></a><span lang="EN-GB" style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray"> </span><a href="http://www.ku.dk/" target="_blank"><span style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray;text-decoration:none"><img border="0" width="25" height="25" style="width: 0.2604in; height: 0.2604in;" id="gmail-m_1709301994394863974Picture_x0020_9" src="cid:17a4f3e1c74bdbb397"></span></a><span style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray">
<span lang="EN-GB"><u></u><u></u></span></span></p>
<p class="MsoNormal" style="line-height:8pt"><span lang="EN-GB" style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray"><u></u> <u></u></span></p>
<p class="MsoNormal" style="line-height:8pt"><span lang="EN-GB" style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray"><a href="https://informationssikkerhed.ku.dk/english/protection-of-information-privacy/privacy-policy/" target="_blank"><u><span style="color:gray;text-decoration:none">How
 we protect personal data</span></u></a><u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:8pt"><span lang="EN-US" style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray"><u></u> <u></u></span></p>
<p class="MsoNormal" style="line-height:8pt"><span lang="EN-GB" style="font-size:7.5pt;font-family:Verdana,sans-serif;color:gray"><u></u> <u></u></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

_______________________________________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org" target="_blank">Pgrouting-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pgrouting-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pgrouting-users</a><br>
</blockquote></div>