<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>Just realized I did not not do a "reply all" so I am resending
this answer. BTW I figured out today how to identify all those
segments so I will be modifying my model and posting them up soon.</p>
<p>Nicolas<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 2021-09-02 1:18 p.m., Nicolas
Cadieux wrote:<br>
</div>
<blockquote type="cite"
cite="mid:fd3ebe39-9e12-c381-1d65-691d85ab380a@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Hi,</p>
<p>I am currently working on 3 models that will find many of the
problems that you will have. (Disconnected line end, parallel
edges, intersecting none connected lines...) This would be the
perfect tool for you but I was having problems with the line
merge issues that you are talking about here. I will send you a
link to my models if you them. I will be adding them to the
QGIS hub also and to my gitlab page <a
class="moz-txt-link-freetext"
href="https://gitlab.com/njacadieux" moz-do-not-send="true">https://gitlab.com/njacadieux</a>.</p>
<p>Be careful with applying the merge and then multipart to
singlepart functions. That will fix your problems but it will
also destroy the data as it will be deleted by the merge
function. I will implement a fix to this in a future models.
Keep in mind that merging these lines together will not affect
the outcome of a shortest path analysis. It will only speed
things up as the layer will be smaller and simplified. <br>
</p>
<p>As for the length of the road segment, just use the field
calculator, add a length float field and use $length expression.
Only do that once all of you intersections are split and
snapped.<br>
</p>
<p><a class="moz-txt-link-freetext"
href="https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/attribute_table.html#editing-attribute-values"
moz-do-not-send="true">https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/attribute_table.html#editing-attribute-values</a></p>
<p>Nicolas<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 2021-09-02 3:46 a.m., Roland
Spielhofer wrote:<br>
</div>
<blockquote type="cite"
cite="mid:trinity-0ca3a636-7789-4416-ab15-66cbc8135054-1630568781661@3c-app-gmx-bs02">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<div style="font-family: Verdana;font-size: 12.0px;">
<div>Hi,</div>
<div>I have a road network layer (Multi Line String) I would
like to prepare so that each segment is a single line
between intersections.</div>
<div>This would mean to connect consecutive lines without
intersections and split longer line segments at
interesctions.</div>
<div>In the end I need statistics of the length of the road
segments between to junctions.</div>
<div> </div>
<div> </div>
<div>I remember a plugin capable of this but have not found
anything useful.</div>
<div> </div>
<div>BTW: Is there a way to make a fulltext search of the
qgis-user mailing list archive? Nabble is not available for
this anymore.</div>
<div> </div>
<div>Regards,</div>
<div>Roland</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org" moz-do-not-send="true">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Nicolas Cadieux
<a class="moz-txt-link-freetext" href="https://gitlab.com/njacadieux" moz-do-not-send="true">https://gitlab.com/njacadieux</a></pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Nicolas Cadieux
<a class="moz-txt-link-freetext" href="https://gitlab.com/njacadieux">https://gitlab.com/njacadieux</a></pre>
</body>
</html>