Difference between revisions of "XPSWMM Conversion Load TUFLOW Model"

From Tuflow
Jump to navigation Jump to search
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Load the TUFLOW model in QGIS =
+
== Load the TUFLOW model in QGIS ==
 
<ol>
 
<ol>
 
<li> Click on the ‘Load TUFLOW Layers from TCF’ symbol from the QGIS TUFLOW Plugin toolbar.
 
<li> Click on the ‘Load TUFLOW Layers from TCF’ symbol from the QGIS TUFLOW Plugin toolbar.
Line 5: Line 5:
 
[[File: Tuflow_plugin_load_tcf_layers.png]]<br>
 
[[File: Tuflow_plugin_load_tcf_layers.png]]<br>
 
<br>
 
<br>
<li> Go to the location of the TUFLOW model and navigate to the '''TUFLOW\runs''' folder. Select the TCF.
+
<li> Navigate to the location of the TUFLOW model and go to the '''TUFLOW\runs''' folder. Select the TCF.
 
<li> In the Load Layers window, select:
 
<li> In the Load Layers window, select:
 
* Ordering Options: Alphabetical
 
* Ordering Options: Alphabetical
 
* Grouping Options: Group by control file
 
* Grouping Options: Group by control file
 
* Raster Load Options: Load Normally  
 
* Raster Load Options: Load Normally  
<li> Click ‘Open’ and ‘OK’.
+
<li> Click ‘Open’ and ‘OK’.<br>
 +
You will receive a message stating that there is an error importing the Projection .mif file. Ignore this message and close the pop-up. The file will not be used in the new TUFLOW model.
 
<br><br>
 
<br><br>
{{Video|name=Animation_XPtoTUFLOW_2D_model_05c.mp4|width=1350}}
+
{{Video|name=Animation_XPtoTUFLOW_2D_model_05e.mp4|width=1350}}
 
<br>
 
<br>
 
</ol>
 
</ol>
  
= Style the Layers =
+
== Style the Layers ==
 
Styling can be done in many ways. We will change display symbology of the DTM dataset:
 
Styling can be done in many ways. We will change display symbology of the DTM dataset:
 
<ol>
 
<ol>
<li> In the QGIS Layers panel, right click on the DTM Grid file and select 'Properties'.
+
<li> In the QGIS Layers panel, click the tick box next to the '''2d_bc_code''' and '''2d_iwl_R''' layers so the underlying DTM dataset can be viewed.
 +
<li> Right click on the DTM Grid file and select 'Properties'.
 
* In the Symbology tab, under 'Band Rendering' select the following options:
 
* In the Symbology tab, under 'Band Rendering' select the following options:
 
:* Render type: Hillshade
 
:* Render type: Hillshade
Line 25: Line 27:
 
* Click 'Apply' and 'OK'.
 
* Click 'Apply' and 'OK'.
 
<br>
 
<br>
{{Video|name=Animation_XPtoTUFLOW_2D_model_06c.mp4|width=1350}}
+
{{Video|name=Animation_XPtoTUFLOW_2D_model_06e.mp4|width=1350}}
 
<br>
 
<br>
 
 
</ol>
 
</ol>
  
= Save the QGIS Workspace =
+
== Save the QGIS Workspace ==
 
<ol>
 
<ol>
 
<li>From the top dropdown menu options, go to Project > Save As.
 
<li>From the top dropdown menu options, go to Project > Save As.
 
<li>Navigate to the file location containing the '''TUFLOW''' folder and save the workspace with the extension, .qgz.
 
<li>Navigate to the file location containing the '''TUFLOW''' folder and save the workspace with the extension, .qgz.
 
</ol>
 
</ol>
<br>
 
  
  

Revision as of 10:41, 1 March 2024

Load the TUFLOW model in QGIS

  1. Click on the ‘Load TUFLOW Layers from TCF’ symbol from the QGIS TUFLOW Plugin toolbar.
    Tuflow plugin load tcf layers.png

  2. Navigate to the location of the TUFLOW model and go to the TUFLOW\runs folder. Select the TCF.
  3. In the Load Layers window, select:
    • Ordering Options: Alphabetical
    • Grouping Options: Group by control file
    • Raster Load Options: Load Normally
  4. Click ‘Open’ and ‘OK’.
    You will receive a message stating that there is an error importing the Projection .mif file. Ignore this message and close the pop-up. The file will not be used in the new TUFLOW model.


Style the Layers

Styling can be done in many ways. We will change display symbology of the DTM dataset:

  1. In the QGIS Layers panel, click the tick box next to the 2d_bc_code and 2d_iwl_R layers so the underlying DTM dataset can be viewed.
  2. Right click on the DTM Grid file and select 'Properties'.
    • In the Symbology tab, under 'Band Rendering' select the following options:
    • Render type: Hillshade
    • Z Factor: 3
    • Click 'Apply' and 'OK'.


Save the QGIS Workspace

  1. From the top dropdown menu options, go to Project > Save As.
  2. Navigate to the file location containing the TUFLOW folder and save the workspace with the extension, .qgz.


Up
Go-up.png Continue to One Dimensional (1D) SWMM Model Elements Section