TUFLOW QGIS Plugin

From Tuflow
Jump to navigation Jump to search

Introduction

If you are using QGIS as your model development or result viewing environment we strongly recommend installing the TUFLOW QGIS Plugin. It includes numerous tools to increase workflow efficiency. It also includes powerful result viewing functionality via its TUFLOW Viewer. This page describes the process of installing and using the Plugin.

Installation of Plugin

To enable the plugin please follow the instructions below:

  1. Download the plugin from the QGIS official repository, Plugins >> Manage and Install Plugins
  2. QGIS TUFLOW 000.PNG
  3. In the manager, search for "TUFLOW".
  4. Select TUFLOW, and "Install Plugin".
  5. QGIS TUFLOW 001.PNG
  6. Once enabled the plugin should be accessible from the Plugins >> TUFLOW menu item:
  7. QGIS TUFLOW 003.PNG
  8. Before using, check that the prerequisite python modules are also installed (see below).


Development Version

It's possible to test out the latest development version of the plugin and TUFLOW Viewer by following the instructions below:
Installing the Latest Development Version of the TUFLOW Plugin

Prerequisites

The TUFLOW plugin uses the following python modules which may need to be separately installed. These may have been installed with other software, to check if they are installed on your machine:

  1. Install the TUFLOW plugin (see instructions above)
  2. Open the TUFLOW plugin Plugins >> TUFLOW
  3. Check that the required dependencies are installed from the menu. TUFLOW >> About >> Check Python Dependencies Installed.
  4. QGIS TUFLOW 004.PNG

All going well you will get a notification to tell you that the required modules are installed. If not, you will be notified if you need to install either of the python modules below:
Please ensure QGIS / python is installed before installing the below.


Usage

Each function in the utility has a separate page documenting the usage.

The first step for a project is to create the project / save the settings with the Create or Configure TUFLOW Project tool. Subsequent tools rely on the information stored at this stage to work best.

Editing Tools

  1. Create or Configure TUFLOW Project
  2. Import Empty (template GIS file)
  3. Insert TUFLOW Attributes to Existing Layer
  4. Increment Selected Layer
  5. Reload Data
  6. Arch Bridge Editor
  7. Copy TUFLOW Command

Run Tools

  1. Run TUFLOW simulation
  2. TUFLOW Runner
  3. Running TUFLOW Utilities

Visualisation Tools

  1. TUFLOW Viewer (result visualisation toolkit)
  2. Applying TUFLOW styles
  3. Import Check Files From Folder
  4. Load TUFLOW Layers From TCF
  5. Filter and Sort TUFLOW Layers
  6. Apply GPKG Layer Names
  7. Apply Label to Current Layer
  8. Apply Stability Styling

Hydrology Tools

  1. ARR to TUFLOW
  2. ReFH2 to TUFLOW
  3. SCS to TUFLOW

Integrity Tools

  1. 1D Integrity Tool

SWAN GIS Tools

For more information on SWAN GIS Tools please visit the following TUFLOW FV Wiki page: SWAN GIS Tools. Links to the individual tools on the TUFLOW FV Wiki area also provided below:

  1. SWAN GIS Model Builder
  2. SWAN GIS Post Processing

Processing Toolbox

  1. Convert TUFLOW Model GIS Format
  2. Package Model
  3. SWMM Tools:
    1. BC - Create channel endpoint 1D/2D connections
    2. Conduits - Assign losses
    3. Conduits - Assign node fields
    4. Convert - ESTRY layers to SWMM
    5. Convert - XPSWMM GIS inlet layers to SWMM
    6. GeoPackage - Add sections
    7. GeoPackage - Create
    8. GeoPackage - Create from SWMM inp
    9. GeoPackage - Write to SWMM inp
    10. Integrity - Make object names unique
    11. Junctions - Downstream junctions to outfalls
    12. Junctions - Set attributes
    13. Outfalls - Fix multiply connected links

If you encounter any issues with the plugin please contact support@tuflow.com.

Error While Upgrading Plugin

Plugin uninstall failed.PNG
If you receive an error while trying to upgrade the TUFLOW plugin you may need to either:

  1. Restart QGIS and try upgrading the plugin again
  2. Manually remove the old version

Errors are most likely caused by an issue with deleting the old version of the plugin as some part of the plugin is still being used somewhere in memory (RAM) and locking permissions. This is a known issue that occur with the ReFH2 to TUFLOW tool in older versions of the plugin. Simply restarting QGIS and retrying the upgrade process should fix the issue.

Manually removing the TUFLOW plugin

To manually remove the TUFLOW plugin simply delete the 'tuflow' folder from the QGIS plugin directory (you may need to close QGIS first):

  1. Windows - %appdata%\QGIS\QGIS3\profiles\default\python\plugins
  2. Linux - /home/USER/.local/share/QGIS/QGIS3/profiles/default/python/plugins

Changelog

https://docs.tuflow.com/qgis-tuflow-plugin/changelog/


Up
Go-up.png Back to QGIS Tips Main Page





Up
Go-up.png Back to Wiki Main Page