<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>It would be nice to have this QGIS. My first reaction is to use
line offset but the end result is not predictable. You may need to
work with Python to do this. You could also probably create a
model. <br>
</p>
<p>If you need to identify the overlapping segments, you can use my
Fix Directional Network model 1 to 3. You can download this on
the plugin page.
<a class="moz-txt-link-freetext" href="https://plugins.qgis.org/models/?order_by=-upload_date&&is_gallery=true">https://plugins.qgis.org/models/?order_by=-upload_date&&is_gallery=true</a></p>
<p>The first model will check the Geometries. Test with all default
values. After running this model, run the second model. It
should identify all partially overlapping lines. This layer will
be called "Potential Problem || Overlapping lines." You can open
the second model and look at the "Find overlapping lines"
algorithm to see how it's done. It should find any overlapping
or partially overlapping lines.</p>
<p>This video should help you figure things out.
<a class="moz-txt-link-freetext" href="https://youtu.be/v61PafSByvM">https://youtu.be/v61PafSByvM</a><br>
</p>
<p>It's not a total solution but it's at least a start!</p>
<p>Nicolas Cadieux<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Le 2022-11-03 à 3:12 p.m., Bombonato
Antonio Maria via Qgis-user a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:AS8P192MB1677E9A0845948285D58E4CF85389@AS8P192MB1677.EURP192.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style>@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
{font-family:"Minion Pro";}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}span.StileMessaggioDiPostaElettronica19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal">First of all, sorry for my english.<o:p></o:p></p>
<p class="MsoNormal">My name is Antonio Bombonato and it is the
first time I ask a question to this mailing list.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have a shapefile with multiple routes
(each one is identified by an univoque OBJECT_ID) and some are
partially overlapped (i.e they share the same segment). I need
to display these routes so they are all visible and without
overlapping.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">i tryed using line offset but some line
still remains overlapped.<o:p></o:p></p>
<p class="MsoNormal">Any idea to solve the problem, possibly
using a python script, will be appreciated.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Attached the starting shapefile (cables)
and the desired result I want to obtain (target).<o:p></o:p></p>
<p class="MsoNormal">In this case the shapefile target was
created manually moving the vertices of each line.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">P.S. I use 3.16.7-Hannover QGIS version<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
<p class="MsoNormal">Antonio<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:12.0pt;margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm;line-height:120%;text-autospace:none"><b><span
style="font-size:9.0pt;line-height:120%;font-family:"Helvetica",sans-serif;color:black;mso-fareast-language:IT"><img
style="width:1.1666in;height:.3125in"
id="Immagine_x0020_1"
src="cid:part1.Py0r3W9a.aSbfgwhi@gmail.com" class=""
width="112" height="30"></span></b><b><span
style="font-size:9.0pt;line-height:120%;font-family:"Helvetica",sans-serif;color:black;mso-fareast-language:IT"
lang="EN-US"><o:p></o:p></span></b></p>
<p class="MsoNormal"
style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm;line-height:120%;text-autospace:none"><b><span
style="font-size:9.0pt;line-height:120%;font-family:"Helvetica",sans-serif;color:#404040;mso-fareast-language:IT"
lang="EN-US">Antonio Maria Bombonato<o:p></o:p></span></b></p>
<p class="MsoNormal"
style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm;line-height:120%;text-autospace:none"><span
style="font-size:9.0pt;line-height:120%;font-family:"Helvetica",sans-serif;color:black;mso-fareast-language:IT"
lang="EN-US">Software Developer<br>
Business Unit Ultra Broadband</span><span
style="font-size:9.0pt;line-height:120%;mso-fareast-language:IT"
lang="EN-US"><br>
</span><span
style="font-size:9.0pt;line-height:120%;font-family:"Helvetica",sans-serif;color:black;mso-fareast-language:IT"
lang="EN-US"><br>
</span><b><span
style="font-size:9.0pt;line-height:120%;font-family:"Helvetica",sans-serif;color:#404040;mso-fareast-language:IT"
lang="EN-US">Italtel S.p.A.</span></b><span
style="font-size:12.0pt;line-height:120%;font-family:"Minion
Pro";color:black;mso-fareast-language:IT" lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"
style="margin-bottom:2.0pt;line-height:120%;text-autospace:none">
<span
style="font-size:9.0pt;line-height:120%;font-family:"Helvetica",sans-serif;color:black;letter-spacing:.2pt;mso-fareast-language:IT">Via
Caldera, 21
<br>
20153 Milano </span><span
style="font-size:9.0pt;line-height:120%;font-family:"Helvetica",sans-serif;color:black;mso-fareast-language:IT">MI
– Italy<o:p></o:p></span></p>
<p class="MsoNormal"
style="margin-bottom:2.0pt;line-height:120%;text-autospace:none">
<span
style="font-size:9.0pt;line-height:120%;font-family:"Helvetica",sans-serif;color:black;mso-fareast-language:IT">email:
</span><u><span
style="font-size:9.0pt;line-height:120%;font-family:"Helvetica",sans-serif;color:blue;mso-fareast-language:IT"><a
href="mailto:antoniomaria.bombonato@italtel.com"
moz-do-not-send="true"><span style="color:blue">antoniomaria.bombonato@italtel.com</span></a></span></u><span
style="font-size:9.0pt;line-height:120%;font-family:"Helvetica",sans-serif;color:black;mso-fareast-language:IT"><o:p></o:p></span></p>
<p class="MsoNormal"
style="margin-bottom:2.0pt;line-height:120%;text-autospace:none">
<span
style="font-size:9.0pt;line-height:120%;font-family:"Helvetica",sans-serif;color:black;mso-fareast-language:IT"
lang="EN-US">P: +39 024388388<o:p></o:p></span></p>
<p class="MsoNormal"
style="margin-bottom:2.0pt;line-height:120%;text-autospace:none">
<span
style="font-size:9.0pt;line-height:120%;font-family:"Helvetica",sans-serif;color:black;mso-fareast-language:IT"
lang="EN-US"><a href="http://www.italtel.com/"
moz-do-not-send="true"><span style="color:blue">www.italtel.com</span></a><o:p></o:p></span></p>
<p class="MsoNormal"
style="margin-bottom:2.0pt;line-height:120%;text-autospace:none">
<span
style="font-size:9.0pt;line-height:120%;font-family:"Helvetica",sans-serif;color:black;mso-fareast-language:IT"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:IT"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">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">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
</body>
</html>