FM Tutorial M01 QGIS GPKG 1D2D Code: Difference between revisions

Content deleted Content added
Created page with "<ol> =Introduction= In this section we will deactivate the 2D cells where the 1D Flood Modeller component is replacing the 2D representation of the open channel. The width of..."
 
 
(4 intermediate revisions by 2 users not shown)
Line 4:
 
=Method=
<li>Import in an empty <b>2d_bc_empty_R.gpkg</b> layer from within the '''FMT_tutorial\FMT_M01\TUFLOW\model\gis\empty''' folder into the project GeoPackage file <b>M02_5m_002.gpkg</b>. Rename the layer as <b>2d_bc_FMT_M01_HX_001_R</b>. </li>
<li>SaveOpen the layer as <b>2d_bc_FMT_M01_HX_001_RInactive_area.gpkgshp</b> inGIS layer from the '''FMT_tutorialModule_Data\FMT_M01\TUFLOW\modelModule_01\gis''' folder. Select all objects from within this layer, copy and paste into <b>2d_bc_FMT_M01_HX_001_R</b>. </li>
<li>Move the empty 2d_bc layer <b>2d_bc_FMT_M01_HX_001_R.gpkg</b> into the project GeoPackage file <b>M02_5m_002.gpkg</b> in the Browser Panel. Load the empty layer <b>2d_bc_FMT_M01_HX_001_R</b> into QGIS from <b>M02_5m_002.gpkg</b>.</li>
<li>Open the <b>Inactive_area.shp</b> GIS layer from '''Module_Data\Module_01\shp''' folder. Select all objects from within this layer, copy and paste into <b>2d_bc_FMT_M01_HX_001_R</b>. </li>
<li> For all polygons assign a 'type' attribute of 'CD'. This designates the digitised polygon as a code polygon where the 2D cells within it may be either active or inactive. </li>
<li> For all polygons assign a 'f' attribute of '-1'. A cell code of '-1' deactivates all cells within the digitised code polygons.
Line 19 ⟶ 17:
 
 
<br>
 
<li>Save the file</li>
<br>
 
{{Tips Navigation
<br>Please return to the [[Flood_Modeller_Tutorial_Module01_Provisional#Modify_Simulation_Control_Files|Flood Modeller Tutorial Model]]</br>.
|uplink=[[Flood_Modeller_Tutorial_Module01_Provisional#Modify Simulation Control Files| Back to Tutorial Module 01 Main Page]]
}}
</ol>