Tute M01 Materials SAGA: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 52:
<li> <u>Alternatively</u>, load the empty (template) file named '''2d_mat_empty_R.shp''' from '''TUFLOW\Model\saga\empty\'''and save this in the '''TUFLOW\model\saga\''' folder as as '''2d_mat_M01_002_R.shp''', add this to a map window with the aerial photo and edit the shape, digitise your own material polygons ensuring to assign a Material ID to each polygon using the land use types in the table above.</li>
</ol>
 
== TUFLOW Geometry Control (TGC) File Updates ==
In order to read in the GIS layer created above. Enter the following text into the TGC file:<br>
<font color="blue"><tt>Set Mat </tt></font> <font color="red"><tt>== 1</tt></font> <font color="green"><tt> ! Set every cell to a material ID of 1 (Pasture)</tt></font><br>
<font color="blue"><tt>Read GIS Mat </tt></font> <font color="red"><tt>==</tt></font><tt> mi\2d_mat_M01_002_R.shp</tt><br><br>
The <font color="blue"><tt> Set Mat </tt></font> command sets all 2D cells to a Material ID of 1, which is used for pasture. The <font color="blue"><tt>Read GIS Mat </tt></font> command updates any 2D cells that fall within the polygons in the 2d_mat layer with the Material attribute value of each polygon. As discussed for the cell code values in the previous section, the order of these Mat commands is important.<br>
 
== Conclusion ==
SAGAArcMap has been used to view or create a 2d_mat layer which defines the spatial extents of the land use categories. Material commands have been added to the TGC. Please return to the tutorial model module 1 page [[Module1_test#Define_the_Materials_.28Surface_Roughness.29|here]].