QGIS SWMM BC Create Channel Endpoint 1D/2D Connections

From Tuflow
Jump to navigation Jump to search

Introduction

This tool creates 1D/2D connections at the endpoints of SWMM channels. HX connections are created on the upstream end and SX connections are created on the downstream end.
Note: The positions of the HX and SX connections may not be completely accurate, so it is recommended for the user to check the output.

Usage

This tool, BC - Create channel endpoint 1D/2D connections, can be found in the QGIS processing toolbox panel under 'TUFLOW > SWMM'. To open the Processing Toolbox Panel, navigate to 'Processing' in the menubar and select 'Toolbox'.



Parameters

  1. Input Conduits Layer: The conduits layer to which the 1D/2D connections will be made.
  2. Offset distance: Distance from the channel endpoint to the midpoint of the BC line.
  3. Length of BC lines: As the name suggests.
  4. Set 2D cell elevation to 1D culvert invert at 1D/2D connection cells if needed: If this is checked on, SX and HX boundaries will have the "Flags" attribute set to "Z." This ensures that the valid elevations occur at the 1D/2D interface. HX boundaries require 2D cell elevations at or above the 1D elevation while SX boundaries require 2D cell elevations at or below the 1D elevation.
  5. Output Layer: Determines the location and filename of the output file. Details on the options are below.




Output Options:
For each of the following options, the tool will output a new layer and won't override any existing files.
Note: It is recommended to name the output layer with the prefix 2d_bc so TUFLOW styles can be automatically applied.



  1. Create Temporary Layer:
    • Creates a temporary scratch layer. This layer will open into the QGIS workspace but it will not be saved anywhere.
  2. Save to File...:
    • The user can navigate to a folder and save the layer to a new GeoPackage Database.
  3. Save to GeoPackage...:
    • The user can navigate to an existing GeoPackage Database. Once selected, a 'Layer Name' dialog will appear. Enter the new layer name, and the new layer will be saved as that name in the GPKG.
  4. Save to Database Table...:
    • ???
  5. Append to Layer...:
    • ???


Example


Up
Back to TUFLOW QGIS Plugin Main Page