4

I have 2 layers of polylines representing a two road network called roads and routeir (Loaded to Qgis from 2 shapefiles). I want to insert vertices at the intersection points between the two polylines (where the purple polylines cross the red polyline).

How can I achieve this in QGIS?

I am not interested in adding a geometric point at intersection points.

enter image description here

enter image description here

4
  • Yep, I have turned off the intersections layers. It's basically using line intersection which creates a geometric point at the intersection. This is not what I am interested in. By 'make vertex' i mean to insert a vertex to one or both the polyline layers.
    – user144483
    Aug 6 '19 at 5:32
  • 1
    Do you want your lines split at the point of crossing or unsplit but "snapped" to each other's vertex at the crossing? I'm in the middle of reinstalling QGIS but I think there is a SAGA tool in the QGIS processing toolbox (if you installed it) to split lines at points, and there is a QGIS tool to snap to points (geometries to layer), so you could use the points from your intersection in either of the other tools and see if either works for you.
    – johns
    Aug 6 '19 at 19:44
  • Hi John, Nope I don't want the lines split. If you mean snapping as to insert a vertex at the point of intersection, yes that what I want. I also included another picture to clarify the problem better.
    – user144483
    Aug 7 '19 at 8:29
  • 1
    Did you try the snap geometries tool, snapping each line layer to the points you created in the intersection, using a very small tolerance?
    – johns
    Aug 7 '19 at 13:01
3

In QGIS 3 open the processing toolbox and use either

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.