FM Tute M01 QGIS 1D2D Code: Difference between revisions

Content deleted Content added
Rachel (talk | contribs)
Rachel (talk | contribs)
Line 5:
 
=Method=
<li>Import in an empty <br>2d_bc_empty_R.shp</b> layer from within the TUFLOW\model\gis\empty folder and save as <b>2d_bc_hxi_FMT_001_R.shp</b>. </li>
<li>Import in an empty 2d_bc_empty_r.
<li>Open the <b>Inactive_area.shp</b> GIS layer from within the TUFLOWModule_Data\modelModule_01\gis\empty folder. Select all objects from within this layer, copy and savepaste asinto <b>2d_bc_hxi_FMT_001_R.shp</b>. </li>
<li> For all polygons assign a 'type' attribute of 'CD'. A 2D BC type of 'CD' designates the digitised polygon as a code polygon. The code polygon defines if the 2D cells are active or inactive </li>
<li>Open the Inactive_area.shp GIS layer from Module_Data\Module_01\gis folder. Select all objects from within this layer, copy and paste into 2d_bc_hxi_FMT_001_R.shp. </li>
<li> For all polygons assign a 'type' attribute of 'CD'. A 2D BC type of 'CD' designates the digitised polygon as a code polygon. </li>
<li> For all polygons assign a 'f' attribute of '-1'. A cell code of '-1' deactivates all cells within the digitised code polygons. </li>
[[File:FMT QGIS 1D2D Code attribute.JPG|800px]]
Line 18 ⟶ 17:
[[File:FMT QGIS 1D2D Code Bank Digitasation.JPG|600px]]
 
<li>Save the file in preparation for reading in TUFLOW.</li>
 
 
Please return to the [[Flood_Modeller_Tutorial_Module01#Modify_Simulation_Control_Files|Flood Modeller Tutorial Model module 1 page [[Flood_Modeller_Tutorial_Module01#Modify_Simulation_Control_Files|here]].
 
</ol>