Tutorial M02 001 GIS Inputs QGIS: Difference between revisions
Content deleted Content added
No edit summary  | 
				|||
| (12 intermediate revisions by 3 users not shown) | |||
Line 11: 
<li>Click 'OK' and save the QGIS workspace by selecting Project > Save As.<br> 
<br> 
[[File: 
<li>Set the QGIS workspace projection to EPSG:32760, see <u>[https://wiki.tuflow.com/index.php?title=Tutorial_Site_Familiarisation_QGIS#Set_the_Projection Set the Projection]</u>. 
</ol> 
Line 18: 
= Method = 
Navigate to the '''Module_02\Tutorial_Data''' folder. Copy the below GIS files into the '''Module_02\TUFLOW\model\gis''' folder: 
:*'''2d_zsh_M02_rd_crest_001_L''' 
:*'''2d_zsh_M02_rd_crest_001_P''' 
Investigate the supplied files: 
Line 31: 
:*The Shape_Option of 'MAX' is specified for all breaklines. The Zpt elevations only changes when the Z shape elevation at the Zpt is higher. The purpose of the Z shape is to enforce the highest elevations along the road crest. 
<br> 
{{Video|name=Animation_M02_GIS_001_01_.mp4|width=1279}}<br> 
<br> 
<li>The 2d_zsh point layer is used to apply elevation to the breaklines: 
:*The values in the 'Z' attribute are elevations above datum assigned to each point. The elevations are being interpolated along the breakline.  
:*The points must be snapped to the vertices of the 2d_zsh line to instruct TUFLOW that these layers are linked. If no points are in the layer, the elevation on the line object is used, i.e. the elevation along the line does not vary. For more information,  
<br> 
{{Video|name=Animation_M02_GIS_001_02.mp4|width=1279}}<br> 
</ol> 
<br> 
Line 55: 
<li>Create a new batch file '''_run_M02_asc_to_asc_Breaklines.bat''' in the '''Module_02\Data_Processing''' folder and open it in a text editor. 
<li>Input the following (Note: Utility location may differ): <br>  
<font color="blue"><tt>'''set''' </tt></font> <font color="black"><tt>asc_to_asc</tt></font><font color="red"><tt>=</tt></font><font color="black"><tt>" 
<li>Use the -brkline flag to call the breakline function. The utility then expects the 2d_zsh_breaklines layer and the DEM.<br> 
<font color="orange"><tt>%asc_to_asc% </tt></font> <font color="black"><tt>-brkline 2d_zsh_breaklines_L.shp .. 
<li>Save the batch file and double click it in file explorer to run the utility. 
<li>The utility creates a points layer and updates the lines layer. These layers can be copied into the '''Module_02\TUFLOW\model\gis''' folder and read into the TGC. 
 | |||