<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tuflow.com/w/index.php?action=history&amp;feed=atom&amp;title=Tute_M01_Boundaries_QGIS_Archive</id>
	<title>Tute M01 Boundaries QGIS Archive - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tuflow.com/w/index.php?action=history&amp;feed=atom&amp;title=Tute_M01_Boundaries_QGIS_Archive"/>
	<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tute_M01_Boundaries_QGIS_Archive&amp;action=history"/>
	<updated>2026-05-11T04:23:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Tute_M01_Boundaries_QGIS_Archive&amp;diff=39156&amp;oldid=prev</id>
		<title>Emilie Nielsen: /* Introduction */</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tute_M01_Boundaries_QGIS_Archive&amp;diff=39156&amp;oldid=prev"/>
		<updated>2024-04-05T03:25:05Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Introduction&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:25, 5 April 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Introduction ==&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Introduction ==&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This page details the method for using QGIS to create the GIS based boundary layer files. Once the GIS layers are setup (detailed in this page), these are linked to data using a boundary database, (the boundary database is described in [[Tutorial_Module01_Archive#&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Control_Files_and_Boundary_Condition_Database&lt;/del&gt; | &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the module&lt;/del&gt; 1&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; main page&lt;/del&gt;]]). We will create three different boundaries:&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This page details the method for using QGIS to create the GIS based boundary layer files. Once the GIS layers are setup (detailed in this page), these are linked to data using a boundary database, (the boundary database is described in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;u&amp;gt;&lt;/ins&gt;[[Tutorial_Module01_Archive#&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TUFLOW_Boundary_Condition_Database_.28bc_dbase.29&lt;/ins&gt; | &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Module&lt;/ins&gt; 1]]&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/u&amp;gt;&lt;/ins&gt;). We will create three different boundaries:&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Upstream flow boundary&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Upstream flow boundary&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Downstream water level - flow (stage-discharge) boundary&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Downstream water level - flow (stage-discharge) boundary&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-31512:rev-39156:wikidiff2=table:1.14.1:bc2a06be --&gt;
&lt;/table&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Tute_M01_Boundaries_QGIS_Archive&amp;diff=31512&amp;oldid=prev</id>
		<title>ElizaCollison at 02:46, 9 January 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tute_M01_Boundaries_QGIS_Archive&amp;diff=31512&amp;oldid=prev"/>
		<updated>2023-01-09T02:46:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:46, 9 January 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 85:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 85:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Conclusion ==&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Conclusion ==&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;QGIS has been used to create the 2d_bc layer that contains an upstream &quot;QT&quot; type inflow boundary and a downstream &quot;HQ&quot; stage-discharge type boundary.  A second QGIS layer (2d_sa) defines an internal source boundary. Our next step is to assign hydrographs to the boundary locations created in this page. Please return to the tutorial model page [[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Module1_test_Archive&lt;/del&gt;#TUFLOW_Boundary_Control_File_.28TBC.29_Updates|here]].&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;QGIS has been used to create the 2d_bc layer that contains an upstream &quot;QT&quot; type inflow boundary and a downstream &quot;HQ&quot; stage-discharge type boundary.  A second QGIS layer (2d_sa) defines an internal source boundary. Our next step is to assign hydrographs to the boundary locations created in this page. Please return to the tutorial model page [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Tutorial_Module01_Archive&lt;/ins&gt;#TUFLOW_Boundary_Control_File_.28TBC.29_Updates|here]].&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-31474:rev-31512:wikidiff2=table:1.14.1:bc2a06be --&gt;
&lt;/table&gt;</summary>
		<author><name>ElizaCollison</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Tute_M01_Boundaries_QGIS_Archive&amp;diff=31474&amp;oldid=prev</id>
		<title>ElizaCollison: Created page with &quot;== Introduction == This page details the method for using QGIS to create the GIS based boundary layer files. Once the GIS layers are setup (detailed in this page), these are l...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tute_M01_Boundaries_QGIS_Archive&amp;diff=31474&amp;oldid=prev"/>
		<updated>2023-01-09T02:23:18Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Introduction == This page details the method for using QGIS to create the GIS based boundary layer files. Once the GIS layers are setup (detailed in this page), these are l...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Introduction ==&lt;br /&gt;
This page details the method for using QGIS to create the GIS based boundary layer files. Once the GIS layers are setup (detailed in this page), these are linked to data using a boundary database, (the boundary database is described in [[Tutorial_Module01_Archive#Control_Files_and_Boundary_Condition_Database | the module 1 main page]]). We will create three different boundaries:&lt;br /&gt;
* Upstream flow boundary&lt;br /&gt;
* Downstream water level - flow (stage-discharge) boundary&lt;br /&gt;
* Internal flow boundary&lt;br /&gt;
&lt;br /&gt;
The first two boundaries are input into a 2d_bc type layer. The third boundary (internal flow boundary) will be applied as a source-area boundary in a 2d_SA boundary type layer.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Method ==&lt;br /&gt;
===2d_bc Type Boundaries===&lt;br /&gt;
We will create the 2d_bc boundaries first. These boundaries are external and will &amp;quot;snap&amp;quot; to the edge of our active model area. Both of these boundaries have been aligned perpendicular to flow direction. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;Note: This line orientation is recommended for 2d_bc QT, HQ and HT boundary inputs. Care should be taken to digitise these boundary types perpendicular to flow direction (i.e. across the waterway). If they are digitised oblique to the flow (i.e. not perpendicular) model instabilities can result in some cases.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Load the DEM &amp;#039;&amp;#039;&amp;#039;Module_Data\DEMs\QGIS\DEM_M01.img&amp;#039;&amp;#039;&amp;#039;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Load the code polygon &amp;#039;&amp;#039;&amp;#039;TUFLOW\model\gis\2d_code_M01_002_R.shp&amp;#039;&amp;#039;&amp;#039; (this was created in the previous step).&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Load the template 2d bc type layer (2d_bc_empty_L.shp) from &amp;#039;&amp;#039;&amp;#039;TUFLOW\model\gis\empty\&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save a copy of the template under the &amp;#039;&amp;#039;&amp;#039;TUFLOW\model\gis&amp;#039;&amp;#039;&amp;#039; folder as &amp;#039;&amp;#039;&amp;#039;2d_bc_M01_002_L.shp&amp;#039;&amp;#039;&amp;#039;. Note that we save the file into the \model\gis\ directory not the \model\gis\empty\ directory.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the newly saved, &amp;#039;&amp;#039;&amp;#039;2d_bc_M01_002_L.shp&amp;#039;&amp;#039;&amp;#039; add it to the map window and close the template.&amp;lt;/li&amp;gt;&lt;br /&gt;
The QGIS window should now look something like this:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Tute M01 QGIS 2d bc 01.png|frame|none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The first step is to change the style of the code region to make it a bit easier to work with. Right click on the &amp;#039;&amp;#039;&amp;#039;2d_code_M01_002_R&amp;#039;&amp;#039;&amp;#039; in the layers section and select properties.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In the &amp;#039;&amp;#039;Style&amp;#039;&amp;#039; tab, select the &amp;#039;&amp;#039;&amp;quot;Change&amp;quot;&amp;#039;&amp;#039; button, highlighted with a red oval in the image below.&amp;lt;/li&amp;gt;&lt;br /&gt;
[[File:Tute M01 QGIS 2d bc2.png|frame|none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In the &amp;#039;&amp;#039;Symbol Layers&amp;#039;&amp;#039; section, select the &amp;#039;&amp;#039;Add Symbol Layer&amp;#039;&amp;#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
This gives us to symbol layers for the same file. For the first layer set the following options (see the 1st image below):&lt;br /&gt;
* Set the &amp;#039;&amp;#039;Symbol Layer Type&amp;#039;&amp;#039; to &amp;#039;&amp;#039;&amp;#039;Outline: Marker Line&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Set the Marker placement to &amp;#039;&amp;#039;&amp;#039;On Every Vertex&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For the second &amp;#039;&amp;#039;&amp;#039;Symbol Layer&amp;#039;&amp;#039;&amp;#039; set the following options (see the 2nd image below):&lt;br /&gt;
* Set the &amp;#039;&amp;#039;Symbol Layer Type&amp;#039;&amp;#039; to &amp;#039;&amp;#039;&amp;#039;Simple Fill&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Set the &amp;#039;&amp;#039;Fill Style&amp;#039;&amp;#039; to &amp;#039;&amp;#039;&amp;#039;No Brush&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Tute M01 QGIS 2d bc3.png|frame|none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Tute M01 QGIS 2d bc4.png|frame|none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The first layer sets the vertices (nodes) along the polygon line as visible, the second makes the polygon display as an outline only. This is important as we need to snap the boundary lines to the vertices on the code polygon. After applying the style changes the QGIS window should look like the image below.&lt;br /&gt;
[[File:Tute M01 QGIS 2d bc5.png|frame|none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Before we begin modifying the 2d_bc layer, we need to enable snapping to the 2d_code region. To enable snapping select the &amp;#039;&amp;#039;Settings &amp;gt;&amp;gt;&amp;gt; Snapping Options&amp;#039;&amp;#039;...&amp;lt;br&amp;gt;&lt;br /&gt;
Select the check-box next to the &amp;#039;&amp;#039;&amp;#039;2d_code_M01_002_R&amp;#039;&amp;#039;&amp;#039; item.  Set the tolerance to 5 map units (5 metres) and select apply.&amp;lt;/li&amp;gt;&lt;br /&gt;
[[File:Tute M01 QGIS 2d bc6.png|frame|none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Zoom into the creek at the south-western edge of the code polygon. Toggle editing for the &amp;#039;&amp;#039;&amp;#039;2d_bc_M01_002_L&amp;#039;&amp;#039;&amp;#039; layer and then select the &amp;#039;&amp;#039;Capture Line&amp;#039;&amp;#039;. Create a line joining the four vertices shown below, when selecting the final vertex, use the right mouse button to terminate the line.  When drawing the line, the cursor should snap to the existing vertices on the 2d_code layer.&amp;lt;/li&amp;gt;&lt;br /&gt;
[[File:Tute M01 QGIS 2d bc7.png|frame|none]]&lt;br /&gt;
&amp;lt;li&amp;gt;When you terminate the line, an attributes dialog will be displayed.  Enter the following data:&lt;br /&gt;
* Type = QT&lt;br /&gt;
* Flags = Blank (remove the null)&lt;br /&gt;
* Name = FC01 (that is FC Zero One)&lt;br /&gt;
This designates the boundary as a flow (&amp;quot;Q&amp;quot;) versus Time (&amp;quot;T&amp;quot;) boundary with the name FC01 (as per the image below).  The name attribute will link the GIS boundary with an inflow hydrograph in the boundary data base (described later).&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;u&amp;gt;NOTE&amp;lt;/u&amp;gt;&amp;#039;&amp;#039;&amp;#039; In QGIS, at this stage it is necessary to enter 0 in the f, d, td, a and b attributes. Most GIS store null numeric field entries as zero, QGIS does not it stores a null entry, however TUFLOW requires these to be entered, for later releases of TUFLOW this will be changed to recognise the QGIS null entry.&lt;br /&gt;
[[File:Tute M01 QGIS 2d bc8.png|frame|none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;At the downstream boundary (north of the code polygon), add another shape connecting the four vertices shown below.&lt;br /&gt;
[[File:Tute M01 QGIS 2d bc10.png|frame|none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the attributes window set the following:&amp;lt;br&amp;gt;&lt;br /&gt;
*Type = HQ&lt;br /&gt;
*b = 0.01&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;u&amp;gt;NOTE&amp;lt;/u&amp;gt;&amp;#039;&amp;#039;&amp;#039; In QGIS, at this stage it is necessary to enter 0 in the f, d, td and a attributes. Most GIS store null numeric field entries as zero, QGIS does not it stores a null entry, however TUFLOW requires these to be entered, for later releases of TUFLOW this will be changed to recognise the QGIS null entry.&lt;br /&gt;
[[File:Tute M01 QGIS 2d bc9.png|frame|none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The remaining attributes are to be left blank or with the default value of 0 (including the name).&lt;br /&gt;
The type &amp;quot;HQ&amp;quot; designates this as a Water Level (&amp;quot;H&amp;quot;) versus Flow (&amp;quot;Q&amp;quot;) boundary.  This is a stage-discharge boundary condition. If a Name is specified, the user must define this stage-discharge relationship in the boundary database.  In this case a water surface slope value is specified via the &amp;quot;b&amp;quot; attribute, this value of 0.01 is in metres per metre and corresponds to a 1% water surface slope.  TUFLOW will automatically create a  stage-discharge curve flow this location, based on the underlying topography, roughness and specified water surface slope.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Toggle the editing off and when prompted save the &amp;#039;&amp;#039;&amp;#039;2d_bc_M01_002_L&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===2d_sa Type Boundary===&lt;br /&gt;
The next step is to create an internal inflow boundary using a source-area inflow this is done with a 2d_sa type layer.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Load the &amp;#039;&amp;#039;&amp;#039;2d_sa_empty_R.shp&amp;#039;&amp;#039;&amp;#039; template file from the &amp;#039;&amp;#039;&amp;#039;TUFLOW\model\gis\empty\&amp;#039;&amp;#039;&amp;#039;. Save a copy of the layer in the &amp;#039;&amp;#039;&amp;#039;TUFLOW\model\gis\&amp;#039;&amp;#039;&amp;#039; directory as &amp;#039;&amp;#039;&amp;#039;2d_sa_M01_002_R.shp&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Load the newly created 2d_sa_M01_002_R file and close the template file.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Add the layer to a map window with the DEM.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Add a new shape and digitise a polygon around the dam in the lower right (south-east) of the screen.&amp;lt;/li&amp;gt;&lt;br /&gt;
[[File:Tute M01 QGIS 2d sa1.png|frame|none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;When prompted enter &amp;quot;FC04&amp;quot; under the Name attribute (FC zero four, without the quotes).&amp;lt;/li&amp;gt;&lt;br /&gt;
[[File:Tute M01 QGIS 2d sa2.png|frame|none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Finish the edit by toggle the editing and when prompted, save the file.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
QGIS has been used to create the 2d_bc layer that contains an upstream &amp;quot;QT&amp;quot; type inflow boundary and a downstream &amp;quot;HQ&amp;quot; stage-discharge type boundary.  A second QGIS layer (2d_sa) defines an internal source boundary. Our next step is to assign hydrographs to the boundary locations created in this page. Please return to the tutorial model page [[Module1_test_Archive#TUFLOW_Boundary_Control_File_.28TBC.29_Updates|here]].&lt;/div&gt;</summary>
		<author><name>ElizaCollison</name></author>
	</entry>
</feed>