Tute M06 QGIS 2D lfsch Archive: Difference between revisions
Content deleted Content added
Created page with "In the following steps we will be adjusting the elevations of the road crest as well as using a 2D zsh layer to lower the zpt elevations at the location of the 2D bridge.<br>..." |
Anne.Kolega (talk | contribs) |
||
| (One intermediate revision by one other user not shown) | |||
Line 3:
===Lower the 2D Elevations Through the Bridge Opening===
<ol><li>Copy the '''2d_zsh_M06_NorthRd_001_R''' from '''Module_Data\Module_06\M2D_Bridge''' folder into the '''TUFLOW\model\gis''' folder. We will use this layer to remove the road embankment at the 2D Bridge location.</li>
<li>Open the newly saved layer '''2d_zsh_M06_NorthRd_001_R''' in QGIS. Observe the single polygon contained in this shapefile. The polygon intersects the model zpts where we want to modify the elevations and remove the road embankment. We will remove the embankment by creating a GIS layer of point features that instruct TUFLOW to interpolate zpt elevations within the two shapes using the zpt elevations either side of the embankment. Additionally, the GIS layer will be designed such that TUFLOW does not use the zpt elevations intersecting the road embankment. Refer to
<li>From the '''model\gis\empty\''' folder, open the '''2d_zsh_empty_P''' shapefile and save a copy called '''2d_zsh_M06_NorthRd_001_P''' into the '''model\gis\''' folder. Add this shapefile to QGIS, and close the '''2d_zsh_empty_P''' shapefile. Right-click, and Toggle Editing on '''2d_zsh_M06_NorthRd_001_P'''.</li>
<li>Enable snapping to the layer '''2d_zsh_M06_NorthRd_001_R''' by selecting ''Settings >>> Snapping Options...''. Select the check-box next to the '''2d_zsh_M06_NorthRd_001_R''' item. Set the tolerance to 5 map units (5 metres) and select apply. Create four points snapped to each of the polygon nodes that are circled in red in the second image below.</li><br>
Line 42:
|}
</li>
Save your edits. The attributes are described
* Enter an "Invert" value of 99999 to leave the Zpt levels unchanged (
* Percentage blockage below the obvert to account for any blockages perpendicular to the direction of flow (in this case 6% to account for the average blockage due to the bridge piers).
* A Form Loss Coefficient (FLC) below the obvert (in this case to account for sub-grid scale losses around piers). Note that the treatment of the FLC is different depending on the object used to define the flow constriction, i.e. a line or a polygon. The reason for this is to permit the flow constriction to be independent of the model cell size. See
* Blockage from the obvert level to the top of level 2 (in this case 100% to account for the bridge deck).
Line 59:
<br>
</li>[[File:M06_QGIS_2d_Lfcsh_P.png|1000px]]
Add the following attributes to the new points:
{| align="center" class="wikitable" width="25%"
Line 75:
| L3_Depth || 1 || 1
|}
</li> '''''Tip:'''''
It is helpful to make the nodes along the polygon perimeter visible when snapping nodes along its boundary. Right click on '''2d_lfcsh_M06_bridge_001_R''' in the layers section and select properties. In the ''Style'' tab, select the Add Symbol layer tool [[File:Add Symbol.PNG]]. This adds a second symbol layer for the same file. For the first layer set the following options:
* Set the ''Symbol Layer Type'' to '''Outline: Marker Line'''
* Set the ''Marker placement'' to '''On Every Vertex'''
| |||