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

2022-05-02 Thread WhereGroup
While I agree that Shapefiles are often not ideal, GeoPackage or any other fancy modern format would have the same issues. They have implicite topology (the spatial relationships of the geometries defines what is connected and what is not), not explicite topology. You should find tools to do

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

2022-05-02 Thread Nicolas Cadieux via Qgis-user
Hi, Go to https://plugins.qgis.org/models/?order_by=-upload_date&_gallery=true 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

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

2022-05-02 Thread Raymond Nijssen via Qgis-user
Hi Roland, You could either go making SQL queries (using st_startpoint() and st_endpoint() et cetera) or have a look at the "Networks" plugin which has a lot of this kind of functionality. https://plugins.qgis.org/plugins/networks/ And there are several other network and topology related

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

2022-05-02 Thread Zoltan via Qgis-user
that's why SHP files need to die: They're too simple to use, so also get used by people less "in the know" On 2022-05-02 11:05, Roland Spielhofer wrote: I totally agree with you, but the shape is all I got from the client - nothing better is available at his side... *Gesendet:* Montag, 02.

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

2022-05-02 Thread Roland Spielhofer via Qgis-user
  I totally agree with you, but the shape is all I got from the client - nothing better is available at his side...     Gesendet: Montag, 02. Mai 2022 um 10:49 Uhr Von: "Zoltan via Qgis-user" An: qgis-user@lists.osgeo.org Betreff: Re: [Qgis-user] Classify road network into dead-end links and

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

2022-05-02 Thread Zoltan via Qgis-user
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

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

2022-05-02 Thread Zoltan via Qgis-user
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

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

2022-05-02 Thread Roland Spielhofer via Qgis-user
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,