[Qgis-user] Classify road network into dead-end links and links connected on both ends

Zoltan zoltans at geograph.co.za
Mon May 2 01:54:12 PDT 2022


On a more helpful note, you could add 2 columns to your line-string 
attribute table and then iterate through the start and end coords of 
each line, counting the number of lines selected at their endpoints.

HTH,
Zoltan

On 2022-05-02 10:49, Zoltan via Qgis-user wrote:
> Sigh, this is where SHP-file hell comes in - it's the scourge of GIS.
> Wouldn't it have been nice if your road network was in a data 
> structure that allows you to go to each point and ask it "how many 
> lines emanate from me"?
>
> Sorry, I know this is not helpful to you, but the SHP file format 
> needed to have died 20 years ago.
>
> Regards,
> Zoltan
>
> On 2022-05-02 10:35, Roland Spielhofer via Qgis-user wrote:
>> Hi,
>> 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.
>> I am pretty sure this is possible in QGIS or a plugin - any pointers 
>> would be appreciated.
>> Regards,
>> Roland
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user
>
> -- 
>
> =============================================
> Zoltan Szecsei GPrGISc 0031
> Director, Geograph (Pty) Ltd.
> GIS and Photogrammetric Services
>
> Cape Town, South Africa.
>
> Mobile: +27-83-6004028 (Signal, not WhatsApp)
> www.geograph.co.za
> =============================================
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user

-- 

=============================================
Zoltan Szecsei GPrGISc 0031
Director, Geograph (Pty) Ltd.
GIS and Photogrammetric Services

Cape Town, South Africa.

Mobile: +27-83-6004028 (Signal, not WhatsApp)
www.geograph.co.za
=============================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220502/1932fdbf/attachment.htm>


More information about the Qgis-user mailing list