Tute M01 Inspect Zpts SAGA: Difference between revisions

Content deleted Content added
Created page with '<ol> =Introduction= In this page we look at the process on assigning elevations to the TUFLOW Zpts that define the elevations in the model using SAGA GIS. Ensure that SAGA is ope...'
 
No edit summary
Line 11:
[[File:Tute M01 Saga Zpts All2.png|frame|none|400px|All Zpts in SAGA GIS, with attributes selected]]
As can be seen the elevation for all zpts is a nuyll value of 99,999. The next step is to assign values based on the DEM.<br>
<li>Navigate to the ''Modules'' tab in the ''Workspace Window'', expand the ''Shapes - Grid'' entry and right click on the ''Add Grid Values to Points'' and select ''Execute''.</li>
[[File:Tute M01 Saga Modules Shapes Grid.png|frame|none|Shape-Grid Module: Add Grid Values to Points]]
<li></li>In the ''Add Grid Values to Points'' dialogue, set:
* Points to '''2d_zpt_M01_5m_003_P'''
* Result to '''2d_zpt_M01_5m_003_P'''
* Grids to '''DEM_M01'''
Select ''Okay''. See the image below.</li>
[[File:Tute M01 Saga Add Grid Val to Pts.png|frame|none|Add Grid Values to Points Dialogue]]
In the map window, if you select a point with the ''Action'' cursor and navigate to the ''Attributes'' tab in the ''Objects Properties'' window, a new data attribute '''DEM_M01'''. This field should have an elevation assigned:<br>
[[File:Tute M01 Saga Zpt Fields2.png|frame|none|Attributes after DEM value added to points]]
<br>
If you select a Zpt outside the DEM area the value that has been assigned to this attribute is -99,999. We will remove any Zpts that have this elevation.
 
???? PAR here
 
<li>Save the current TGC file as '''M01_5m_003.tgc'''. Comment out or delete the Write MI and Stop lines entered previously (these are no longer needed).</li>