Difference between revisions of "Tutorial M01 Configure TUFLOW Project QGIS GPKG"
Jump to navigation
Jump to search
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
= Introduction = | = Introduction = | ||
QGIS is used to configure TUFLOW project with the TUFLOW plugin. For installation, see <u>[https://wiki.tuflow.com/index.php?title=TUFLOW_QGIS_Plugin#Installation_of_Plugin Installation of TUFLOW Plugin]</u>. | QGIS is used to configure TUFLOW project with the TUFLOW plugin. For installation, see <u>[https://wiki.tuflow.com/index.php?title=TUFLOW_QGIS_Plugin#Installation_of_Plugin Installation of TUFLOW Plugin]</u>. | ||
Line 23: | Line 20: | ||
[[File:M01_GPKG_Configure_01.PNG]]<br><br> | [[File:M01_GPKG_Configure_01.PNG]]<br><br> | ||
<br> | <br> | ||
− | {{Video|name= | + | {{Video|name=Animation_M01_GPKG_Configure_a.mp4|width=1214}}<br> |
</ol> | </ol> | ||
<br> | <br> | ||
Line 30: | Line 27: | ||
Set the '''Module_01''' folder as a favourite in the QGIS Browser Panel: | Set the '''Module_01''' folder as a favourite in the QGIS Browser Panel: | ||
<ol> | <ol> | ||
− | <li>Right click | + | <li>Right click in the Toolbar panel and tick on 'Browser Panel' from the 'Panels' options. |
− | <li> | + | <li>Within the QGIS Browser Panel, right click on 'Favorites' and select 'Add a Directory...'. |
<li>Navigate to the '''Module_01''' folder and select it.<br><br> | <li>Navigate to the '''Module_01''' folder and select it.<br><br> | ||
− | {{Video|name= | + | {{Video|name=Animation_M01_GPKG_Browser_Panel_01d.mp4|width=1214}} |
<br></ol> | <br></ol> | ||
<br> | <br> | ||
Line 40: | Line 37: | ||
Save the QGIS workspace by selecting Project > Save As. Navigate to the '''Module_01''' folder and type '''M01''' as the filename with the extension .qgz.<br> | Save the QGIS workspace by selecting Project > Save As. Navigate to the '''Module_01''' folder and type '''M01''' as the filename with the extension .qgz.<br> | ||
<ol> | <ol> | ||
− | {{Video | + | {{Video|name=Animation_M01_GPKG_SaveAs_a.mp4|width=1214}}<br></ol> |
− | |||
− | |||
− | }}<br></ol> | ||
<br> | <br> | ||
Latest revision as of 11:28, 14 August 2023
Introduction
QGIS is used to configure TUFLOW project with the TUFLOW plugin. For installation, see Installation of TUFLOW Plugin.
TUFLOW Project Configuration
The TUFLOW plugin is used to configure the TUFLOW project. This includes specifying the model and executable file paths, defining the GIS projection (i.e. the geographic coordinate system used for the TUFLOW model, all inputs need to use the same projection) and writing GIS empty files for model inputs:
- Open the 'Configure TUFLOW Project' tool by selecting Plugins > TUFLOW > Editing > Configure / Create TUFLOW Project.
- Click 'Select CRS' and use the filter to select: WGS 84 / UTM zone 60S.
- Click 'Browse...' to select the folder location containing the TUFLOW folder. This creates the default TUFLOW model directory and sub-folders.
- Click 'Browse...' to select the location of the TUFLOW single precision executable file.
- Select 'GPKG' as the GIS Format.
- Select 'TUFLOW Classic / HPC' as the TUFLOW Engine.
- Tick all box options:
- 'Save Default Settings Globally (for all projects)': The settings configured by this window sets the default for opening a new QGIS workspace.
- 'Create Model Folder Structure': The TUFLOW sub-folders (e.g. bc_dbase, model, runs) are made within the Module_01\TUFLOW folder. The check and results folder are automatically created when running the first TUFLOW model.
- 'Create Template Files': This creates an 'empty' folder in Module_01\TUFLOW\model\gis folder. It contains all the TUFLOW template files in the projection set above. It is important to create new template files for each project to ensure the projection is correct.
- 'Tutorial Model': Sets a command within the automatically generated TCF instructing TUFLOW to run the tutorial model licence free.
- Click 'OK' and a TUFLOW DOS console window opens. This runs the first part of a TUFLOW model initialisation and creates TUFLOW folder structure, projection file, TUFLOW empty GIS files and base TCF file called Create_Empties.tcf.
Map Folder to Browser Panel
Set the Module_01 folder as a favourite in the QGIS Browser Panel:
- Right click in the Toolbar panel and tick on 'Browser Panel' from the 'Panels' options.
- Within the QGIS Browser Panel, right click on 'Favorites' and select 'Add a Directory...'.
- Navigate to the Module_01 folder and select it.
Save QGIS Workspace
Save the QGIS workspace by selecting Project > Save As. Navigate to the Module_01 folder and type M01 as the filename with the extension .qgz.
Conclusion
- The Configure TUFLOW Project tool was used to set up TUFLOW model folders, define the GIS projection and write GIS empty files.
Up |
---|
Back to Module 1 Main Page |