<div dir="ltr"><div>You can use this method to get your endpoints: <a href="https://gis.stackexchange.com/questions/306190/generating-start-and-end-points-for-linestrings">https://gis.stackexchange.com/questions/306190/generating-start-and-end-points-for-linestrings</a></div><div><br></div><div>Buffer the points by a small amount, and intersect this buffer back with your original shapefile. You should get the pairs of roads to intersections. Filter as needed.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 2, 2022 at 11:17 AM <<a href="mailto:qgis-user-request@lists.osgeo.org">qgis-user-request@lists.osgeo.org</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">Send Qgis-user mailing list submissions to<br>
        <a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:qgis-user-request@lists.osgeo.org" target="_blank">qgis-user-request@lists.osgeo.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:qgis-user-owner@lists.osgeo.org" target="_blank">qgis-user-owner@lists.osgeo.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Qgis-user digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Suscribe (Neil Christian Cadiz Rosella)<br>
   2. Classify road network into dead-end links and links connected<br>
      on both ends (Roland Spielhofer)<br>
   3. Re: Classify road network into dead-end links and links<br>
      connected on both ends (Zoltan)<br>
   4. Re: Classify road network into dead-end links and links<br>
      connected on both ends (Zoltan)<br>
   5. Re: Classify road network into dead-end links and links<br>
      connected on both ends (Roland Spielhofer)<br>
   6. Re: Classify road network into dead-end links and links<br>
      connected on both ends (Zoltan)<br>
   7. Re: Classify road network into dead-end links and links<br>
      connected on both ends (Raymond Nijssen)<br>
   8. Re: Classify road network into dead-end links and links<br>
      connected on both ends (Nicolas Cadieux)<br>
   9. Re: Classify road network into dead-end links and links<br>
      connected on both ends (Johannes Kr?ger (WhereGroup))<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 1 May 2022 21:15:06 +0200<br>
From: Neil Christian Cadiz Rosella <<a href="mailto:neilcadiz99@gmail.com" target="_blank">neilcadiz99@gmail.com</a>><br>
To: <a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a><br>
Subject: [Qgis-user] Suscribe<br>
Message-ID:<br>
        <CAHt0wVjG610pNnVaU7wvmf=brhmrZCCUSrGQ1Gmv5XR8=<a href="mailto:LEUbA@mail.gmail.com" target="_blank">LEUbA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
safegthegref<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/qgis-user/attachments/20220501/247f68d6/attachment-0001.htm" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/qgis-user/attachments/20220501/247f68d6/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 2 May 2022 10:35:42 +0200<br>
From: Roland Spielhofer <<a href="mailto:rspiel@gmx.net" target="_blank">rspiel@gmx.net</a>><br>
To: qgis-user <<a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a>><br>
Subject: [Qgis-user] Classify road network into dead-end links and<br>
        links connected on both ends<br>
Message-ID:<br>
        <trinity-2a8953ec-e913-4b61-8ae8-83f37171cb9f-1651480542202@3c-app-gmx-bap40><br>
<br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/qgis-user/attachments/20220502/35b44b1b/attachment-0001.htm" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/qgis-user/attachments/20220502/35b44b1b/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Mon, 2 May 2022 10:49:36 +0200<br>
From: Zoltan <<a href="mailto:zoltans@geograph.co.za" target="_blank">zoltans@geograph.co.za</a>><br>
To: <a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a><br>
Subject: Re: [Qgis-user] Classify road network into dead-end links and<br>
        links connected on both ends<br>
Message-ID: <<a href="mailto:b9caa095-e731-bbc2-7615-d7cf906452ba@geograph.co.za" target="_blank">b9caa095-e731-bbc2-7615-d7cf906452ba@geograph.co.za</a>><br>
Content-Type: text/plain; charset="utf-8"; Format="flowed"<br>
<br>
Sigh, this is where SHP-file hell comes in - it's the scourge of GIS.<br>
Wouldn't it have been nice if your road network was in a data structure <br>
that allows you to go to each point and ask it "how many lines emanate <br>
from me"?<br>
<br>
Sorry, I know this is not helpful to you, but the SHP file format needed <br>
to have died 20 years ago.<br>
<br>
Regards,<br>
Zoltan<br>
<br>
On 2022-05-02 10:35, Roland Spielhofer via Qgis-user wrote:<br>
> Hi,<br>
> I have a road network (Shape linestring) where I would like to <br>
> classify all links that are dead-end and compute the share of the <br>
> dead-end links in relation to the total network length.<br>
> I am pretty sure this is possible in QGIS or a plugin - any pointers <br>
> would be appreciated.<br>
> Regards,<br>
> Roland<br>
><br>
> _______________________________________________<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>
<br>
-- <br>
<br>
=============================================<br>
Zoltan Szecsei GPrGISc 0031<br>
Director, Geograph (Pty) Ltd.<br>
GIS and Photogrammetric Services<br>
<br>
Cape Town, South Africa.<br>
<br>
Mobile: +27-83-6004028 (Signal, not WhatsApp)<br>
<a href="http://www.geograph.co.za" rel="noreferrer" target="_blank">www.geograph.co.za</a><br>
=============================================<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/qgis-user/attachments/20220502/277f8905/attachment-0001.htm" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/qgis-user/attachments/20220502/277f8905/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Mon, 2 May 2022 10:54:12 +0200<br>
From: Zoltan <<a href="mailto:zoltans@geograph.co.za" target="_blank">zoltans@geograph.co.za</a>><br>
To: <a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a><br>
Subject: Re: [Qgis-user] Classify road network into dead-end links and<br>
        links connected on both ends<br>
Message-ID: <<a href="mailto:80eb454e-a7ca-d3cb-2326-54193f6b984b@geograph.co.za" target="_blank">80eb454e-a7ca-d3cb-2326-54193f6b984b@geograph.co.za</a>><br>
Content-Type: text/plain; charset="utf-8"; Format="flowed"<br>
<br>
On a more helpful note, you could add 2 columns to your line-string <br>
attribute table and then iterate through the start and end coords of <br>
each line, counting the number of lines selected at their endpoints.<br>
<br>
HTH,<br>
Zoltan<br>
<br>
On 2022-05-02 10:49, Zoltan via Qgis-user wrote:<br>
> Sigh, this is where SHP-file hell comes in - it's the scourge of GIS.<br>
> Wouldn't it have been nice if your road network was in a data <br>
> structure that allows you to go to each point and ask it "how many <br>
> lines emanate from me"?<br>
><br>
> Sorry, I know this is not helpful to you, but the SHP file format <br>
> needed to have died 20 years ago.<br>
><br>
> Regards,<br>
> Zoltan<br>
><br>
> On 2022-05-02 10:35, Roland Spielhofer via Qgis-user wrote:<br>
>> Hi,<br>
>> I have a road network (Shape linestring) where I would like to <br>
>> classify all links that are dead-end and compute the share of the <br>
>> dead-end links in relation to the total network length.<br>
>> I am pretty sure this is possible in QGIS or a plugin - any pointers <br>
>> would be appreciated.<br>
>> Regards,<br>
>> Roland<br>
>><br>
>> _______________________________________________<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>
><br>
> -- <br>
><br>
> =============================================<br>
> Zoltan Szecsei GPrGISc 0031<br>
> Director, Geograph (Pty) Ltd.<br>
> GIS and Photogrammetric Services<br>
><br>
> Cape Town, South Africa.<br>
><br>
> Mobile: +27-83-6004028 (Signal, not WhatsApp)<br>
> <a href="http://www.geograph.co.za" rel="noreferrer" target="_blank">www.geograph.co.za</a><br>
> =============================================<br>
><br>
> _______________________________________________<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>
<br>
-- <br>
<br>
=============================================<br>
Zoltan Szecsei GPrGISc 0031<br>
Director, Geograph (Pty) Ltd.<br>
GIS and Photogrammetric Services<br>
<br>
Cape Town, South Africa.<br>
<br>
Mobile: +27-83-6004028 (Signal, not WhatsApp)<br>
<a href="http://www.geograph.co.za" rel="noreferrer" target="_blank">www.geograph.co.za</a><br>
=============================================<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/qgis-user/attachments/20220502/1932fdbf/attachment-0001.htm" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/qgis-user/attachments/20220502/1932fdbf/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Mon, 2 May 2022 11:05:27 +0200<br>
From: Roland Spielhofer <<a href="mailto:rspiel@gmx.net" target="_blank">rspiel@gmx.net</a>><br>
To: <a href="mailto:zoltans@geograph.co.za" target="_blank">zoltans@geograph.co.za</a><br>
Cc: <a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a><br>
Subject: Re: [Qgis-user] Classify road network into dead-end links and<br>
        links connected on both ends<br>
Message-ID:<br>
        <trinity-a58b16b8-2d3c-4979-bad0-0727a64a1629-1651482327877@3c-app-gmx-bap40><br>
<br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/qgis-user/attachments/20220502/86f14f86/attachment-0001.htm" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/qgis-user/attachments/20220502/86f14f86/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Mon, 2 May 2022 11:07:15 +0200<br>
From: Zoltan <<a href="mailto:zoltans@geograph.co.za" target="_blank">zoltans@geograph.co.za</a>><br>
To: Roland Spielhofer <<a href="mailto:rspiel@gmx.net" target="_blank">rspiel@gmx.net</a>><br>
Cc: <a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a><br>
Subject: Re: [Qgis-user] Classify road network into dead-end links and<br>
        links connected on both ends<br>
Message-ID: <<a href="mailto:8dd095da-9275-edab-abae-b592847983b0@geograph.co.za" target="_blank">8dd095da-9275-edab-abae-b592847983b0@geograph.co.za</a>><br>
Content-Type: text/plain; charset="utf-8"; Format="flowed"<br>
<br>
that's why SHP files need to die: They're too simple to use, so also get <br>
used by people less "in the know"<br>
<br>
On 2022-05-02 11:05, Roland Spielhofer wrote:<br>
> I totally agree with you, but the shape is all I got from the client - <br>
> nothing better is available at his side...<br>
> *Gesendet:*?Montag, 02. Mai 2022 um 10:49 Uhr<br>
> *Von:*?"Zoltan via Qgis-user" <<a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a>><br>
> *An:* <a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a><br>
> *Betreff:*?Re: [Qgis-user] Classify road network into dead-end links <br>
> and links connected on both ends<br>
> Sigh, this is where SHP-file hell comes in - it's the scourge of GIS.<br>
> Wouldn't it have been nice if your road network was in a data <br>
> structure that allows you to go to each point and ask it "how many <br>
> lines emanate from me"?<br>
><br>
> Sorry, I know this is not helpful to you, but the SHP file format <br>
> needed to have died 20 years ago.<br>
><br>
> Regards,<br>
> Zoltan<br>
> On 2022-05-02 10:35, Roland Spielhofer via Qgis-user wrote:<br>
><br>
>     Hi,<br>
>     I have a road network (Shape linestring) where I would like to<br>
>     classify all links that are dead-end and compute the share of the<br>
>     dead-end links in relation to the total network length.<br>
>     I am pretty sure this is possible in QGIS or a plugin - any<br>
>     pointers would be appreciated.<br>
>     Regards,<br>
>     Roland<br>
><br>
>     _______________________________________________<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>
><br>
> --<br>
><br>
> =============================================<br>
> Zoltan Szecsei GPrGISc 0031<br>
> Director, Geograph (Pty) Ltd.<br>
> GIS and Photogrammetric Services<br>
><br>
> Cape Town, South Africa.<br>
><br>
> Mobile: +27-83-6004028 (Signal, not WhatsApp)<br>
> <a href="http://www.geograph.co.za" rel="noreferrer" target="_blank">www.geograph.co.za</a><br>
> =============================================<br>
> _______________________________________________ Qgis-user mailing list <br>
> <a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a> List info: <br>
> <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a> Unsubscribe: <br>
> <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
<br>
-- <br>
<br>
=============================================<br>
Zoltan Szecsei GPrGISc 0031<br>
Director, Geograph (Pty) Ltd.<br>
GIS and Photogrammetric Services<br>
<br>
Cape Town, South Africa.<br>
<br>
Mobile: +27-83-6004028 (Signal, not WhatsApp)<br>
<a href="http://www.geograph.co.za" rel="noreferrer" target="_blank">www.geograph.co.za</a><br>
=============================================<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/qgis-user/attachments/20220502/5621c4aa/attachment-0001.htm" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/qgis-user/attachments/20220502/5621c4aa/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Mon, 2 May 2022 13:03:32 +0200<br>
From: Raymond Nijssen <<a href="mailto:r.nijssen@terglobo.nl" target="_blank">r.nijssen@terglobo.nl</a>><br>
To: <a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a><br>
Subject: Re: [Qgis-user] Classify road network into dead-end links and<br>
        links connected on both ends<br>
Message-ID: <<a href="mailto:a3dbb9ee-2880-f7b6-6b10-3b6453793489@terglobo.nl" target="_blank">a3dbb9ee-2880-f7b6-6b10-3b6453793489@terglobo.nl</a>><br>
Content-Type: text/plain; charset=UTF-8; format=flowed<br>
<br>
Hi Roland,<br>
<br>
You could either go making SQL queries (using st_startpoint() and <br>
st_endpoint() et cetera) or have a look at the "Networks" plugin which <br>
has a lot of this kind of functionality.<br>
<br>
<a href="https://plugins.qgis.org/plugins/networks/" rel="noreferrer" target="_blank">https://plugins.qgis.org/plugins/networks/</a><br>
<br>
And there are several other network and topology related plugins.<br>
<br>
Hope this helps,<br>
Raymond<br>
<br>
<br>
On 02-05-2022 10:35, Roland Spielhofer via Qgis-user wrote:<br>
> Hi,<br>
> I have a road network (Shape linestring) where I would like to classify <br>
> all links that are dead-end and compute the share of the dead-end links <br>
> in relation to the total network length.<br>
> I am pretty sure this is possible in QGIS or a plugin - any pointers <br>
> would be appreciated.<br>
> Regards,<br>
> Roland<br>
> <br>
> _______________________________________________<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>
<br>
<br>
------------------------------<br>
<br>
Message: 8<br>
Date: Mon, 2 May 2022 10:47:27 -0400<br>
From: Nicolas Cadieux <<a href="mailto:njacadieux.gitlab@gmail.com" target="_blank">njacadieux.gitlab@gmail.com</a>><br>
To: Roland Spielhofer <<a href="mailto:rspiel@gmx.net" target="_blank">rspiel@gmx.net</a>><br>
Cc: qgis-user <<a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a>><br>
Subject: Re: [Qgis-user] Classify road network into dead-end links and<br>
        links connected on both ends<br>
Message-ID: <<a href="mailto:9B36425D-A0C6-42B0-A82A-57DD92AF1679@gmail.com" target="_blank">9B36425D-A0C6-42B0-A82A-57DD92AF1679@gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi,<br>
<br>
Go to <a href="https://plugins.qgis.org/models/?order_by=-upload_date&&is_gallery=true" rel="noreferrer" target="_blank">https://plugins.qgis.org/models/?order_by=-upload_date&&is_gallery=true</a> and download the 3  ?fix directional networks? model.  I created this to troubleshoot river network file for people that needed perfectly connected network or graph files.  This video should help also  <a href="https://youtu.be/v61PafSByvM" rel="noreferrer" target="_blank">https://youtu.be/v61PafSByvM</a>. <br>
<br>
Nicolas Cadieux<br>
<a href="https://gitlab.com/njacadieux" rel="noreferrer" target="_blank">https://gitlab.com/njacadieux</a><br>
<br>
> Le 2 mai 2022 ? 04:41, Roland Spielhofer via Qgis-user <<a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a>> a ?crit :<br>
> <br>
> ?<br>
> Hi,<br>
> I have a road network (Shape linestring) where I would like to classify all links that are dead-end and compute the share of the dead-end links in relation to the total network length.<br>
> I am pretty sure this is possible in QGIS or a plugin - any pointers would be appreciated.<br>
>  <br>
> Regards,<br>
> Roland<br>
> _______________________________________________<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>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/qgis-user/attachments/20220502/c30279b1/attachment-0001.htm" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/qgis-user/attachments/20220502/c30279b1/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 9<br>
Date: Mon, 2 May 2022 17:09:34 +0200<br>
From: Johannes Kr?ger (WhereGroup)  <<a href="mailto:johannes.kroeger@wheregroup.com" target="_blank">johannes.kroeger@wheregroup.com</a>><br>
To: Zoltan <<a href="mailto:zoltans@geograph.co.za" target="_blank">zoltans@geograph.co.za</a>>, Roland Spielhofer<br>
        <<a href="mailto:rspiel@gmx.net" target="_blank">rspiel@gmx.net</a>><br>
Cc: <a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a><br>
Subject: Re: [Qgis-user] Classify road network into dead-end links and<br>
        links connected on both ends<br>
Message-ID: <<a href="mailto:d4ebf237-d72e-bba9-4eaa-f2295b49ec11@wheregroup.com" target="_blank">d4ebf237-d72e-bba9-4eaa-f2295b49ec11@wheregroup.com</a>><br>
Content-Type: text/plain; charset="utf-8"; Format="flowed"<br>
<br>
While I agree that Shapefiles are often not ideal, GeoPackage or any <br>
other fancy modern format would have the same issues. They have <br>
implicite topology (the spatial relationships of the geometries defines <br>
what is connected and what is not), not explicite topology.<br>
<br>
You should find tools to do this fairly easily but if your data is not <br>
have "perfect" "geometric topology" it might have some false negatives <br>
or positives. Going via GRASS tools might be the best approach. Or some <br>
routing tools that are based on those common kinds of data.<br>
<br>
Cheers, Hannes<br>
<br>
Am 02.05.22 um 11:07 schrieb Zoltan via Qgis-user:<br>
> that's why SHP files need to die: They're too simple to use, so also <br>
> get used by people less "in the know"<br>
><br>
> On 2022-05-02 11:05, Roland Spielhofer wrote:<br>
>> I totally agree with you, but the shape is all I got from the client <br>
>> - nothing better is available at his side...<br>
>> *Gesendet:*?Montag, 02. Mai 2022 um 10:49 Uhr<br>
>> *Von:*?"Zoltan via Qgis-user" <<a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a>><br>
>> *An:* <a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a><br>
>> *Betreff:*?Re: [Qgis-user] Classify road network into dead-end links <br>
>> and links connected on both ends<br>
>> Sigh, this is where SHP-file hell comes in - it's the scourge of GIS.<br>
>> Wouldn't it have been nice if your road network was in a data <br>
>> structure that allows you to go to each point and ask it "how many <br>
>> lines emanate from me"?<br>
>><br>
>> Sorry, I know this is not helpful to you, but the SHP file format <br>
>> needed to have died 20 years ago.<br>
>><br>
>> Regards,<br>
>> Zoltan<br>
>> On 2022-05-02 10:35, Roland Spielhofer via Qgis-user wrote:<br>
>><br>
>>     Hi,<br>
>>     I have a road network (Shape linestring) where I would like to<br>
>>     classify all links that are dead-end and compute the share of the<br>
>>     dead-end links in relation to the total network length.<br>
>>     I am pretty sure this is possible in QGIS or a plugin - any<br>
>>     pointers would be appreciated.<br>
>>     Regards,<br>
>>     Roland<br>
>><br>
>>     _______________________________________________<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>
>><br>
>> --<br>
>><br>
>> =============================================<br>
>> Zoltan Szecsei GPrGISc 0031<br>
>> Director, Geograph (Pty) Ltd.<br>
>> GIS and Photogrammetric Services<br>
>><br>
>> Cape Town, South Africa.<br>
>><br>
>> Mobile: +27-83-6004028 (Signal, not WhatsApp)<br>
>> <a href="http://www.geograph.co.za" rel="noreferrer" target="_blank">www.geograph.co.za</a><br>
>> =============================================<br>
>> _______________________________________________ Qgis-user mailing <br>
>> list <a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a> List info: <br>
>> <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a> Unsubscribe: <br>
>> <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
><br>
> -- <br>
><br>
> =============================================<br>
> Zoltan Szecsei GPrGISc 0031<br>
> Director, Geograph (Pty) Ltd.<br>
> GIS and Photogrammetric Services<br>
><br>
> Cape Town, South Africa.<br>
><br>
> Mobile: +27-83-6004028 (Signal, not WhatsApp)<br>
> <a href="http://www.geograph.co.za" rel="noreferrer" target="_blank">www.geograph.co.za</a><br>
> =============================================<br>
><br>
> _______________________________________________<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>
<br>
-- <br>
Johannes Kr?ger / GIS-Entwickler/-Berater<br>
<br>
---------------------------------------------<br>
Schon gewusst??<br>
In unserem Blog geben wir Tipps & Tricks zu Open-Source-GIS-Software<br>
und berichten aus unserem Experten-Alltag:<br>
<a href="https://wheregroup.com/blog/" rel="noreferrer" target="_blank">https://wheregroup.com/blog/</a><br>
---------------------------------------------<br>
<br>
WhereGroup GmbH<br>
Grevenweg 89<br>
20537 Hamburg<br>
Germany<br>
<br>
Tel: +49 (0)228 / 90 90 38 - 36<br>
Fax: +49 (0)228 / 90 90 38 - 11<br>
<br>
<a href="mailto:johannes.kroeger@wheregroup.com" target="_blank">johannes.kroeger@wheregroup.com</a><br>
<a href="http://www.wheregroup.com" rel="noreferrer" target="_blank">www.wheregroup.com</a><br>
Gesch?ftsf?hrer:<br>
Olaf Knopp, Peter Stamm<br>
Amtsgericht Bonn, HRB 9885<br>
-------------------------------<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/qgis-user/attachments/20220502/b7a44a40/attachment.htm" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/qgis-user/attachments/20220502/b7a44a40/attachment.htm</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: OpenPGP_0x840A4B843789797F.asc<br>
Type: application/pgp-keys<br>
Size: 2472 bytes<br>
Desc: OpenPGP public key<br>
URL: <<a href="http://lists.osgeo.org/pipermail/qgis-user/attachments/20220502/b7a44a40/attachment.key" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/qgis-user/attachments/20220502/b7a44a40/attachment.key</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: OpenPGP_signature<br>
Type: application/pgp-signature<br>
Size: 665 bytes<br>
Desc: OpenPGP digital signature<br>
URL: <<a href="http://lists.osgeo.org/pipermail/qgis-user/attachments/20220502/b7a44a40/attachment.sig" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/qgis-user/attachments/20220502/b7a44a40/attachment.sig</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<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>
<br>
<br>
------------------------------<br>
<br>
End of Qgis-user Digest, Vol 195, Issue 1<br>
*****************************************<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">
        <div><b>Arjun Dongre</b> </div>
        <div><b>
                </b></div>
        <div>
                 </div>
        <div>
                <img src="http://west-inc.com/images/westlogo.png"></div><div><span style="color:rgb(34,34,34);font-family:Arial;font-size:small;background-color:rgb(255,255,255)">Western EcoSystems Technology, Inc.</span><br><span style="color:rgb(34,34,34);font-family:Arial;font-size:small;background-color:rgb(255,255,255)">Environmental & Statistical Consultants</span><br><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)"><font color="#333333" face="Arial" size="2"><span style="line-height:18.2px">415 W. 17th St. Suite 200</span></font></div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)"><font color="#333333" face="Arial" size="2"><span style="line-height:18.2px">Cheyenne, WY 82001</span></font></div></div><div></div><div><a href="mailto:adongre@west-inc.com" target="_blank">adongre@west-inc.com</a></div>
        <div>
                <a href="http://www.west-inc.com/" target="_blank">www.west-inc.com</a> </div>
        <div>
                <p>
                        <b><span style="font-size:10pt;font-family:Arial,sans-serif">Follow WEST: </span></b><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(31,73,125)"><a href="http://www.facebook.com/pages/Western%E2%80%90EcoSystems%E2%80%90Technology%E2%80%90WESTInc/125604770807646" style="color:rgb(17,85,204)" target="_blank">Facebook</a>, <a href="http://twitter.com/WestEcoSystems" style="color:rgb(17,85,204)" target="_blank">Twitter</a>, <a href="http://www.linkedin.com/company/1458419" style="color:rgb(17,85,204)" target="_blank">Linked In</a>, <a href="http://visitor.r20.constantcontact.com/manage/optin/ea?v=001qrD4A3S5xJ5KgMyelH9jyw%3D%3D" style="color:rgb(17,85,204)" target="_blank">Join our Mailing list</a></span></p>
                <p>
                        <span style="font-size:8pt;font-family:Arial,sans-serif">CONFIDENTIALITY NOTICE:  This message and any accompanying communications are covered by the Electronic Communications Privacy Act, 18 U.S.C. §§ 2510-2521, and contain information that is privileged, confidential or otherwise protected from disclosure.  If you are not the intended recipient or an agent responsible for delivering the communication to the intended recipient, you are hereby notified that you have received this communication in error.  Dissemination, distribution or copying of this e-mail or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited.  If you have received this communication in error, please notify us immediately by e-mail and delete the original message.  Thank you.</span></p>
                <p>
                        <span style="font-size:14pt;font-family:Webdings;color:rgb(0,51,0)">P</span><span style="font-size:9pt;font-family:Verdana,sans-serif;color:rgb(0,51,0)"> </span><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(0,51,0)">Please consider the environment before printing.</span></p>
        </div>
</div>
<br>
</div></div>