11

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

  • 1
    I have been trying to crack this for a while! Hope a solution comes up soon! – CwecU Nov 10 '16 at 15:01
  • Look at my edit comment – ami Nov 12 '16 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. – Germán Carrillo Nov 18 '16 at 11:41
  • good idea.Just added the answer – markgraeflerland Nov 18 '16 at 11:45
12
+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
    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. – markgraeflerland Nov 14 '16 at 21:04
  • 2
    pretty good idea for a plugin/core tool ! – vinayan Nov 16 '16 at 4:50
5

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

-2

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

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

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

  • 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 '16 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.