Hi,
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.
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.
https://plugins.qgis.org/models/?order_by=-upload_date&&is_gallery=true
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.
This video should help you figure things out. https://youtu.be/v61PafSByvM
It's not a total solution but it's at least a start!
Nicolas Cadieux
Le 2022-11-03 à 3:12 p.m., Bombonato Antonio Maria via Qgis-user a écrit :
Hello,
First of all, sorry for my english.
My name is Antonio Bombonato and it is the first time I ask a question
to this mailing list.
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.
i tryed using line offset but some line still remains overlapped.
Any idea to solve the problem, possibly using a python script, will be
appreciated.
Attached the starting shapefile (cables) and the desired result I want
to obtain (target).
In this case the shapefile target was created manually moving the
vertices of each line.
P.S. I use 3.16.7-Hannover QGIS version
Best regards,
Antonio
****
*Antonio Maria Bombonato*
Software Developer
Business Unit Ultra Broadband
*Italtel S.p.A.*
Via Caldera, 21
20153 Milano MI – Italy
email: [email protected]
<mailto:[email protected]>_
P: +39 024388388
www.italtel.com <http://www.italtel.com/>
_______________________________________________
Qgis-user mailing list
[email protected]
List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user