Changelog for TUFLOW Plugin v3.3

Release date: 13 Apr 2022

  1. General Notes
  2. New Features and Enhancements
    1. TUFLOW Viewer - New ‘Load From TCF’ Approach
    2. TUFLOW Viewer - Hover Over Open Channel Labelling
    3. Processing Toolbox
    4. Convert TUFLOW Model GIS Format
    5. 1D Integrity Tool - Flow Trace Speed Up
    6. 1D Integrity Tool - Limit Flow Trace Between Channels
    7. 1D Integrity Tool - Long Plot - Hover Over Labelling Shows More Info
    8. 1D Integrity Tool - Long Plot - Copy / Export Data
    9. 1D Integrity Tool - Long Plot - Hide Legend
    10. 1D Integrity Tool - Long Plot - Toggle Different Continuity Flags
    11. 1D Integrity Tool - Long Plot - Plot Window Link with Map Window
    12. 1D Integrity Tool - Long Plot - Zoom to Channel in Map Window
    13. 1D Integrity Tool - Long Plot - Zoom to Path in Map Window
    14. 1D Integrity Tool - Additional ‘Magnitude’ Column in Output
    15. 1D Integrity Tool - Auto Styling for Output
    16. 1D Integrity Tool - Option to Auto Replace Input With Output
    17. 1D Integrity Tool - Udated GUI With Documentation Links
    18. 1D Integrity Tool - Output ‘tmp’ Layers Given Same Style as Input
    19. 1D Integrity Tool - Long Plot - Better Label Conflict Management
    20. TUFLOW Viewer - Support For New Method For Setting Axis Limits in Animation Export Tool
    21. TUFLOW Viewer - Speed Up Hover Over Labelling
    22. Apply GPKG Layer Names
    23. TUFLOW Layer Styling - GPKG Support
    24. Import Check Files - GPKG Support
    25. Import Empty Files - GPKG Support
    26. Insert TUFLOW Attributes - GPKG Support
    27. Configure Project - GPKG Support
    28. About Dialog
  3. Bug Fixes
    1. TUFLOW Viewer
    2. Other

General Notes

GPKG compatibility added to relevant tools - Functionality added for the 2022 TUFLOW release. Significant updates have been made to the 1D integrity tool.

New Features and Enhancements

TUFLOW Viewer - New ‘Load From TCF’ Approach

Major Feature

New approach when loading from TCF - all possible results listed to user rather than possible scenarios. The old method is still available via Settings » Defaults.

TUFLOW Viewer - Hover Over Open Channel Labelling

Major Feature

Hover over labelling shows channel names in 1D results long plotting - similar to culvert hover over labelling.

Processing Toolbox

Major Feature

A TUFLOW toolbox has been added to the processing tool.

Convert TUFLOW Model GIS Format

Major Feature

Added “Convert TUFLOW Model GIS Format” tool.

1D Integrity Tool - Flow Trace Speed Up

Major Feature

Significantly improved the speed of the long plot generator in the flow trace tool - will be most noticeable on big datasets.

1D Integrity Tool - Limit Flow Trace Between Channels

Major Feature

Can now limit flow trace and long plot to particular section of network by selecting 2+ channels to connect between.

1D Integrity Tool - Long Plot - Hover Over Labelling Shows More Info

Major Feature

Hover over labelling now shows more information on the channel/pipe and any continuity flags.

1D Integrity Tool - Long Plot - Copy / Export Data

Major Feature

Export/copy data options to the context menu.

1D Integrity Tool - Long Plot - Hide Legend

Major Feature

Toggle legend on/off option available in the context menu.

1D Integrity Tool - Long Plot - Toggle Different Continuity Flags

Major Feature

Toggle different continuity flags on/off option available in the context menu.

Major Feature

Current pipe at mouse position in the plotting window is highlighted red in QGIS map window.

1D Integrity Tool - Long Plot - Zoom to Channel in Map Window

Major Feature

‘Zoom to feature’ option added to the context menu (if a channel has been right-clicked) that will zoom the map window to the selected channel.

1D Integrity Tool - Long Plot - Zoom to Path in Map Window

Major Feature

‘Zoom to Selected Paths’ option added to the context menu that will zoom the map window to the selected paths in the ‘Paths’ widget.

1D Integrity Tool - Additional ‘Magnitude’ Column in Output

Added additional ‘magnitude’ column to ‘output’ GIS layer that defines how far big the error is based on respective tool (bigger magnitude = bigger issue).

1D Integrity Tool - Auto Styling for Output

Added auto symbology for the ‘output’ GIS layer that uses a graduated size based on the ‘magnitude’. This is automatically applied when the layer is generated and can also be applied via the TUFLOW layer styling tool.

1D Integrity Tool - Option to Auto Replace Input With Output

After a given tool is run, if corrections were made and option will be given to automatically replace inputs with tool outputs after running.

The GUI has been updated with links to documentation for the relevant tool.

1D Integrity Tool - Output ‘tmp’ Layers Given Same Style as Input

Output, corrected layers automatically copy the style of input layers.

1D Integrity Tool - Long Plot - Better Label Conflict Management

Channel labelling have better conflict management so that there is little to no overlaps.

TUFLOW Viewer - Support For New Method For Setting Axis Limits in Animation Export Tool

Setting axis limits for cross-section plots have a new method where the limits are taken from the TUFLOW Viewer plot. Opening plot properties will no longer trigger axis limit calculation which could sometimes take a while.

TUFLOW Viewer - Speed Up Hover Over Labelling

Use blitting to make hover over labelling a lot quicker.

Apply GPKG Layer Names

New Tool - renames GPKG layers in QGIS Layers Panel to match their name in the GPKG database.

TUFLOW Layer Styling - GPKG Support

Now supports GPKG layers.

Import Check Files - GPKG Support

Now supports GPKG layers.

Import Empty Files - GPKG Support

Now supports GPKG layers.

Insert TUFLOW Attributes - GPKG Support

Now supports GPKG layers.

Configure Project - GPKG Support

Now supports GPKG layers.

About Dialog

QGIS and Python version also listed.

Bug Fixes

TUFLOW Viewer

  • Orevent scrambling of datasets in plot window due to bug in matplotlib 3.5.1 (packaged with QGIS 3.24.1)
  • Colour bar is now always displayed for curtain plot (if legend is on) - previously if there was no data (i.e. section was dry) the colour bar wasn’t shown. Mostly affects animations.
  • Fixed colour bar label which broke with an update to the matplotlib library
  • TUFLOW FV XMDF outputs now will correctly show maximums
  • Fixed bug that could cause Python error if PLOT layers were removed from workspace while TUFLOW Viewer was closed
  • Fixed bug with icon size setting introduced in v3.2 for QGIS versions < 3.16 that would cause error when trying to load
  • Hover over labelling is broken in latest QGIS python/matplotlib version - now fixed
  • Fixed bug that could occur when loading from a qgz/qgs

Other

  • ReFH2 Tool - fixed bug that broke ReFH2 GUI from opening in previous release
  • Import Empty - TUFLOW empty type list will be properly updated after user uses ‘browse’ to select a directory
  • Insert TUFLOW attributes - TUFLOW empty type list will be properly updated after user uses ‘browse’ to select a directory
  • Configure Project - Displayed paths now show correct operating system slashes
  • TUFLOW utilities - Common functions - can now specify an output name without specifying an output directory
  • TUFLOW utilities - Common functions - output name in TUFLOW_to_GIS was not working
  • 1D Integrity Tool - No longer need a line layer to check for empty geometries in points or cross section layers
  • Load From TCF - Will now load layers from ‘Create TIN Zpts’ command
  • Auto Label - Fixed tooltip when mouse hovers over toolicon in plugin toolbar
  • SCS Tool - now unloads properly
  • TUFLOW Menu under Plugins - now unloads properly