Tutorial M02 001 GIS Inputs QGIS GPKG: Difference between revisions
Content deleted Content added
Line 57:
<ol>
<li>Create a new folder called '''Data_Processing''' in the '''Module_02''' folder.
<li>Use the 'Import Empty File' tool to create a new 2d_zsh layer called ‘breaklines’ as a ‘line’ type. In the Spatial Database Options, select 'All to one'. Navigate to the '''Data_Processing''' folder and create a new GeoPackage database called '''M02_Breaklines.gpkg'''. Click Save and hit 'OK'.
<li>Digitise a line using the ‘Add Line Feature’ button following the road crest. This could match the provided breaklines or be an section of road not covered by the original breakline.
<li>Enter the following attributes and save the file:
Line 64:
*Shape_Width: 5
*Shape_Option: Max
<li>Close the layer in QGIS (right click on it from the Layers panel and select 'Remove Layer').
<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>"C:\TUFLOW\Utilities\asc_to_asc\asc_to_asc_w64.exe"</tt></font> <br>
<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
<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
</ol>
<br>
| |||