TUFLOW QGIS Plugin

From Tuflow
Revision as of 18:32, 26 November 2020 by Ellis Symons (talk | contribs)
Jump to navigation Jump to search

Introduction

This page describes the process of installing and using the TUFLOW QGIS plugin. The Plugin is available via the official QGIS repository. The plugin is available for version 2.x and more recent. A previous version was available for QGIS 1.8, however, this is no longer being actively developed.

Please report any issues or feedback to support@tuflow.com.

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).

Error While Upgrading Plugin

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 with the ReFH2 to TUFLOW tool and 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

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. Increment Selected Layer
  4. Convert MapInfo file to Shapefile
  5. Convert MapInfo files in folder to Shapefile

Run Tools

  1. Run TUFLOW simulation

Visualisation Tools

  1. TUFLOW Viewer (View 1D and 2D results)
  2. Applying TUFLOW styles

ARR2016 to TUFLOW

  1. Extract ARR2016 to TUFLOW

ReFH2 to TUFLOW

  1. ReFH2 to TUFLOW


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