12

Is it possible to drag multiple vertices of some parallel lines in QGIS at the same time?

I have a line-layer with parallel lines. In some regions I have to move the vertices of all parallel lines so that they still keep their distance to each other.

With the node tool I can only select the vertice of one of my lines I want to drag but not of multiple lines at the same time: only one vertex of different lines selectable

In Multiline-Layers it is possible to drag all lines at the same time but that's not an option because I have to keep all attributes of my single lines. enter image description here

Are there any other options to drag my lines all at the same time?

Edit1: Just found the CadNodeTool (https://github.com/wonder-sk/CadNodeTool ). With this plugin it is at least already possible to select vertices of multiple lines at the same time. Perhaps this plugin can be extended to move vertices of parallel lines. enter image description here

4
  • 1
    I have been trying to crack this for a while! Hope a solution comes up soon!
    – CwecU
    Nov 10, 2016 at 15:01
  • Look at my edit comment
    – ami
    Nov 12, 2016 at 22:58
  • 1
    I suggest you to add the QAD-Plugin as an answer, otherwise people might think the best solution is the accepted answer, which doesn't seem to be the case for you. Nov 18, 2016 at 11:41
  • good idea.Just added the answer Nov 18, 2016 at 11:45

5 Answers 5

13
+50

Possible workaround, maybe good as just temporary solution for few data:

  1. Enable snapping (Settings --> Snapping Options...). Set snap to vertex and set some tolerance.

enter image description here

  1. Create a "dummy" line feature snapped on vertices you want move.

enter image description here

  1. In snapping option check Enable topological editing

  2. Activate node tool and select vertices of "dummy" line and move (hold Ctrl for selecting more vertices).

enter image description here

  1. Done, you can delete the "dummy" feature or choose proper symbology if you give it special attribute or value.
2
  • 2
    Great idea for a workaround.I still hope there will be some other pythonic solution to build an own tool as we have several hundred kilometers to adjust. Nov 14, 2016 at 21:04
  • 2
    pretty good idea for a plugin/core tool !
    – vinayan
    Nov 16, 2016 at 4:50
6

Problem solved: Just found out, that the QAD-Plugin ( https://plugins.qgis.org/plugins/qad/ ) supports moving of vertices from different features: enter image description here

5

In QGIS 3.10 you can just activate the edit mode of the layer or the layers. In my case snapping is not activated. Use the vertex tool. Also here you can choose between "All Layers" or "Current Layer", depending if the lines you want to edit are in one layer or in different layers.

enter image description here

With this tool active you can select the vertices by rectangle. The vertices will be marked with a blue circle around them.

enter image description here

enter image description here

Next you click one of the vetices and then click on the spot where you want to move this vertex. And the other(s) will follow.

enter image description here

-3

Try using affine transformation plugin. It allows move object with specific distance in X-axis and Y-axis

Edit: use Numerical Vertex Edit plugin, with that you can select single node and change its cordinates

4
  • I only want to move single vertices not the whole feature. Nov 12, 2016 at 22:15
  • Oh my fault, let me think ;)
    – ami
    Nov 12, 2016 at 22:16
  • Look at my edit, it could be an answer for your problem. Slow one but it could works
    – ami
    Nov 12, 2016 at 22:18
  • 3
    I want to drag multiple vertices at the same time, so the numerical vertex edit plugin is not an option. Nov 13, 2016 at 19:00
-5

In arcgis, you could draw a line crossing points needing movement that participates in topology with lines to be moved, select the line - all nodes and move, with a stretch option, then delete the temp line not sure about this though

1
  • This question is asking about how to do something in QGIS. If you are going to suggest someone uses an alternative software I think you need to make a compelling case for why they should.
    – PolyGeo
    Nov 16, 2016 at 0:44

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.