[pgrouting-users] Dangling sub-networks

Imre Samu pella.samu at gmail.com
Sun Jun 27 13:58:40 PDT 2021


> Is there a way to identify (and potentially delete) such minor sub-nets?

IMHO:  this is similar for detecting "Component" (
https://en.wikipedia.org/wiki/Component_(graph_theory) )
Have you checked the
https://docs.pgrouting.org/3.1/en/components-family.html  functions?

If you know the components - you can calculate the aggregated length of
edges for each component.

Regards,
 Imre


Hans Skov-Petersen <hsp at ign.ku.dk> ezt írta (időpont: 2021. jún. 27., V,
21:42):

> Hi list
>
>
>
> I realize that the network (OSM) I am working on is not always connected
> as it should (big surprise J)…. 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.
>
>
>
> 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.
>
>
>
>
>
>
>
>
>
> *Hans Skov-Petersen*
>
> Professor of Geoinformatics
>
>
>
> *University of Copenhagen*
>
> Department of Geosciences and Natural Resource Management
>
> Section of Landscape Architecture and Planning
>
> Rolighedsvej 23
>
> DK-1958 Frederiksberg
>
>
>
>
>
> DIR +45 35 33 18 16
>
> MOB +45 23 82 80 45
>
> *hsp at ign.ku.dk* <hsp at ign.ku.dk>
>
>
>
> [image: Title: SD_Logo]
>
>
>
> <https://www.facebook.com/universitet>
> <https://www.instagram.com/university_of_copenhagen>
> <https://www.linkedin.com/company/university-of-copenhagen>
> <https://twitter.com/koebenhavns_uni>
> <https://www.futurity.org/university/university-of-copenhagen/>
> <https://theconversation.com/institutions/university-of-copenhagen-1186>
> <http://www.ku.dk/>
>
>
>
> *How we protect personal data*
> <https://informationssikkerhed.ku.dk/english/protection-of-information-privacy/privacy-policy/>
>
>
>
>
>
>
> _______________________________________________
> Pgrouting-users mailing list
> Pgrouting-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pgrouting-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20210627/6bb3b07f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 1244 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20210627/6bb3b07f/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 1422 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20210627/6bb3b07f/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 1270 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20210627/6bb3b07f/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 1363 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20210627/6bb3b07f/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.png
Type: image/png
Size: 1440 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20210627/6bb3b07f/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.png
Type: image/png
Size: 1591 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20210627/6bb3b07f/attachment-0013.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image009.png
Type: image/png
Size: 1359 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20210627/6bb3b07f/attachment-0014.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image010.jpg
Type: image/jpeg
Size: 6600 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20210627/6bb3b07f/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image011.png
Type: image/png
Size: 12021 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20210627/6bb3b07f/attachment-0015.png>


More information about the Pgrouting-users mailing list