0

I installed the Networks plugin in QGIS 3.4.7 successfully, but it does not appear in the Vector Tab.

Can anyone suggest another way to reverse the direction of a vector used in a network (graph)?

  • there's an algorithm in the Processing Toolbox called "reverse line direction." – csk Apr 26 at 19:33
  • I followed your suggestion right now, thanks, but it only saves the selected vectors and my network is large. – Sergio Apr 26 at 19:46
  • You should mention that in your question. Use the edit link to add information. – csk Apr 26 at 19:54
1

How to install and use a QGIS plugin

  1. Install the plugin from the Plugin Manager. Close the Plugin Manager without reading the plugin description.
  2. Spend 5-10 minutes searching QGIS for the plugin interface.
    • Is it a new toolbar/menu/panel?
    • Is it a new button on an existing toolbar?
    • Is it a new item or section in an existing menu?
    • WTF is this plugin?!?
  3. Return to the Plugin Manager. Search the plugin description for some mention of where to find the plugin interface. Realize that the description doesn't tell you where to find the plugin interface.
  4. Return to step 2 and repeat ad nauseum or until the end of the workday, whichever comes first.

But seriously...The Networks plugin adds a new section to the Processing Toolbox:

enter image description here

This is a weird place for a plugin interface. They really should mention that in the plugin description.

  • I feel your pain. While you were searching did you come across a decent plugin user guide? – Stu Smith Apr 27 at 6:32
  • Most plugins don't have a user guide other than the plugin description, which you can see in the plugin manager. Quality varies widely. If it's a popular plugin, sometimes someone else has written a guide or done a youtube walkthrough, but there's no central source. You just have to do an internet search. – csk May 3 at 15:54
  • That's unfortunate. Consider all the effort a developer invests to create a plugin - and yet the general QGIS community finds that it is difficult (sometimes impossible) to understand how to use that same plugin because the developer didn't spend a small amount of additional time writing a user guide. If I were the Benificent QGIS Potentate, I would require documentation before a plugin was admitted to the repository! – Stu Smith May 3 at 16:11
1

NETWORKS PLUGIN

As shown in Answer 1 the Networks shortcut plugin really is in the Processing Toolbox, with many tools including Reverse Arcs. But the Reverse Arcs tool reverses the direction of the entire network.

On May 3, 2019 the Reverse Selection Geometries tool was included in this plugin. This new tool reverses selected arcs, saving changes into the same layer in edition. enter image description here

REVERSE ARC DIRECTION TOOL

This tool, found in Processing Toolbox, reverses the entire network or reverses just the selected arcs, always creating a new layer and a new file. If someone chooses to revert only a few selected arcs, the output file will include just these in the new layer and in the new file, this can be cumbersome for large networks.

SWAP VECTOR DIRECTION PLUGIN

The Vector Direction Swap plugin seems to be a good alternative to reverse the direction of only the selected vectors. This plugin does not create a new layer or file, it edits the active layer itself. The shortcut for this plugin can be found in the Vector tab.

enter image description here

To reverse some network arcs: enable the layer, select the arcs of interest, click Reverse Direction of Geometry. Then save your changes and close the vector editing.

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.