Difference between revisions of "XPSWMM Conversion Load TUFLOW Model"

From Tuflow
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user 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
Line 11: Line 11:
 
* Raster Load Options: Load Normally  
 
* Raster Load Options: Load Normally  
 
<li> Click ‘Open’ and ‘OK’.<br>
 
<li> Click ‘Open’ and ‘OK’.<br>
You will receive a message stating that Projection mif file failed to load. Ignore this error and close the pop-up. The file will not be used in the new TUFLOW model.
+
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, click the tick box left of the 2d_bc_code and 2d_iwl_R layers so the underlying DTM dataset can be viewed.
+
<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'.
 
<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:
Line 27: 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>
 
  
  

Latest 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