<?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_Inspect_Zpts_QGIS_Archive</id>
	<title>Tute M01 Inspect Zpts 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_Inspect_Zpts_QGIS_Archive"/>
	<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tute_M01_Inspect_Zpts_QGIS_Archive&amp;action=history"/>
	<updated>2026-06-27T06:22:52Z</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_Inspect_Zpts_QGIS_Archive&amp;diff=40942&amp;oldid=prev</id>
		<title>Emilie Nielsen at 00:15, 23 September 2024</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tute_M01_Inspect_Zpts_QGIS_Archive&amp;diff=40942&amp;oldid=prev"/>
		<updated>2024-09-23T00:15:31Z</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 10:15, 23 September 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&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;[[File:Tute M01 QGIS Zpts2.png | frame | none]]&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;[[File:Tute M01 QGIS Zpts2.png | frame | none]]&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;&amp;lt;br&amp;gt;&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;&amp;lt;br&amp;gt;&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;&amp;lt;li&amp;gt; Select OK to begin the inspection, the progress should be shown in the &quot;Status&quot; section of the dialogue as below.  This inspection may take a while&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; (now might be a good time to read Section 4.4 of the 2010 TUFLOW manual)&lt;/del&gt;.&amp;lt;/li&amp;gt;&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;&amp;lt;li&amp;gt; Select OK to begin the inspection, the progress should be shown in the &quot;Status&quot; section of the dialogue as below.  This inspection may take a while.&amp;lt;/li&amp;gt;&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;[[File:Tute M01 QGIS Zpts3.png | frame | none]].&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;[[File:Tute M01 QGIS Zpts3.png | frame | none]].&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;&amp;lt;li&amp;gt;Once the inspection has been completed, we need to remove any elevation point (Zpts) where the points are outside the extent of the DEM. During the inspection process these points were given the DEM_M01 value of Null or 0.&amp;lt;br&amp;gt;&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;&amp;lt;li&amp;gt;Once the inspection has been completed, we need to remove any elevation point (Zpts) where the points are outside the extent of the DEM. During the inspection process these points were given the DEM_M01 value of Null or 0.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-31458:rev-40942:wikidiff2=table:1.14.2: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_Inspect_Zpts_QGIS_Archive&amp;diff=31458&amp;oldid=prev</id>
		<title>ElizaCollison: Created page with &quot;&lt;ol&gt; =Introduction= In this page we look at the process on assigning elevations to the TUFLOW Zpts that define the elevations in the model using QGIS. In this process we will...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tute_M01_Inspect_Zpts_QGIS_Archive&amp;diff=31458&amp;oldid=prev"/>
		<updated>2023-01-09T01:58:57Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;ol&amp;gt; =Introduction= In this page we look at the process on assigning elevations to the TUFLOW Zpts that define the elevations in the model using QGIS. In this process we will...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;ol&amp;gt;&lt;br /&gt;
=Introduction=&lt;br /&gt;
In this page we look at the process on assigning elevations to the TUFLOW Zpts that define the elevations in the model using QGIS. In this process we will open a shapefile containing all of the Zpts and then inspect the elevations from a DEM.&amp;lt;br&amp;gt;&lt;br /&gt;
The process is similar to the process in QGIS, MapInfo and ArcGIS. However, this process is significantly slower in QGIS, taking approximately 30 minutes. Therefore, it is recommended that [[Tute_M01_Inspect_Zpts_ASC_Archive|direct input of DEM]] is used instead. Direct input of the DEM has the following benefits:&lt;br /&gt;
* Speed, direct input of the DEM to TUFLOW, is much faster than the process outline below; and&lt;br /&gt;
* Flexibility, if the cell size of the TUFLOW model is changed, the process below will need to be repeated, for a direct input of DEM or TIN, this is not necessary.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The process of inspecting the Zpts in QGIS is outlined below for completeness.&lt;br /&gt;
&lt;br /&gt;
=Method=&lt;br /&gt;
&amp;lt;li&amp;gt;Open QGIS and ensure that the DEM is open, the DEM can be found in the &amp;#039;&amp;#039;&amp;#039;Module_Data\DEM\QGIS\&amp;#039;&amp;#039;&amp;#039; directory.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Open the blank Zpt layer &amp;#039;&amp;#039;&amp;#039;2d_zpt_M01_5m_002_P.shp&amp;#039;&amp;#039;&amp;#039;, this was written in the &amp;#039;&amp;#039;&amp;#039;TUFLOW\Model\gis\&amp;#039;&amp;#039;&amp;#039; directory. The Zpts will appear as a mass of points when zoomed to the full extent. The zpts should appear as per the image below.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Tip:&amp;#039;&amp;#039;&amp;#039; The layer can be added be either using the &amp;#039;&amp;#039;&amp;#039;Layer &amp;gt;&amp;gt; Add Vector Layer&amp;#039;&amp;#039;&amp;#039; dialogue, using the shortcut keys &amp;#039;&amp;#039;&amp;#039;Control + Shift + V&amp;#039;&amp;#039;&amp;#039;, or by dragging the &amp;#039;&amp;#039;&amp;#039;2d_zpt_M01_5m_002_P.shp&amp;#039;&amp;#039;&amp;#039; from windows explorer onto the &amp;#039;&amp;#039;&amp;#039;Layers&amp;#039;&amp;#039;&amp;#039; area of QGIS.&lt;br /&gt;
&lt;br /&gt;
[[File:Tute M01 QGIS Zpts1.png | frame | none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Ensure that the &amp;#039;&amp;#039;&amp;#039;point sampling tool&amp;#039;&amp;#039;&amp;#039; plugin is installed. Instructions on installing this can be found on the [[QGIS_Point_Sampling_Plugin |QGIS Point Sampling Tips]] page.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Start the plugin, by selecting &amp;#039;&amp;#039;&amp;#039;Plugins &amp;gt;&amp;gt;&amp;gt; Analyses &amp;gt;&amp;gt;&amp;gt; Point Sampling Tool&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In the Point Sampling Tool Dialogue:&lt;br /&gt;
:* Ensure that the layer containing sampling points is set to &amp;#039;&amp;#039;&amp;#039;2d_zpt_M01_5m_002_P&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
:* Set the output point vector layer to &amp;#039;&amp;#039;&amp;#039;\TUFLOW\model\gis\2d_zpt_M01_5m_003_P.shp&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
:* Select the following layers 2d_zpt_M01_5m_002_P : n, 2d_zpt_M01_5m_002_P : m, 2d_zpt_M01_5m_002_P : type and DEM_M01 : band 1 (the Elevation from the source point is omitted as this contains only null elevations).&amp;lt;/li&amp;gt;&lt;br /&gt;
The Point Sampling Tool dialogue should appear as below:&lt;br /&gt;
[[File:Tute M01 QGIS Zpts2.png | frame | none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Select OK to begin the inspection, the progress should be shown in the &amp;quot;Status&amp;quot; section of the dialogue as below.  This inspection may take a while (now might be a good time to read Section 4.4 of the 2010 TUFLOW manual).&amp;lt;/li&amp;gt;&lt;br /&gt;
[[File:Tute M01 QGIS Zpts3.png | frame | none]].&lt;br /&gt;
&amp;lt;li&amp;gt;Once the inspection has been completed, we need to remove any elevation point (Zpts) where the points are outside the extent of the DEM. During the inspection process these points were given the DEM_M01 value of Null or 0.&amp;lt;br&amp;gt;&lt;br /&gt;
In order to select the points with a DEM_M01 value of zero, right click on the &amp;#039;&amp;#039;&amp;#039;2d_zpt_M01_5m_003_P&amp;#039;&amp;#039;&amp;#039; entry in the layers table of contents and select &amp;#039;&amp;#039;&amp;#039;Open Attribute Table.&amp;#039;&amp;#039;&amp;#039;&amp;lt;/li&amp;gt;&lt;br /&gt;
[[File:Tute M01 QGIS Zpts4.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;&amp;#039;Attribute Table&amp;#039;&amp;#039;&amp;#039; dialogue:&lt;br /&gt;
* Set the layer to be editable using the toggle editing button which is shaped like a blue pen;&lt;br /&gt;
* Type &amp;quot;Null&amp;quot; (without the quotes) into the &amp;quot;Look For&amp;quot; section, at the bottom of the dialogue; and&lt;br /&gt;
* Set the field to look for &amp;quot;Null&amp;quot; to be DEM_M01, using the drop down box.&amp;lt;br&amp;gt;&lt;br /&gt;
Once these have been filled out, the dialogue should appear as below, when finished, select search.&amp;lt;/li&amp;gt;&lt;br /&gt;
[[File:Tute M01 QGIS Zpts5.png | frame | none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;After a few seconds, the &amp;quot;Null&amp;quot; entries should be highlighted, select the &amp;#039;&amp;#039;&amp;#039;Delete Selected Features&amp;#039;&amp;#039;&amp;#039; (Control + D) option.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;You will be prompted to confirm the delete, the items to be deleted will be highlighted.  There should be 10,969 features to be deleted. Select &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039; to confirm.&amp;lt;/li&amp;gt;&lt;br /&gt;
[[File:Tute M01 QGIS Zpts6.png | frame | none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The delete process may take a minute, once completed, select the &amp;quot;Toggle Editing&amp;quot; button to complete the edits. When prompted select, &amp;#039;&amp;#039;&amp;#039;Save&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
[[File:Tute M01 QGIS Zpts7.png | frame | none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
We have now updated the GIS layer, the next step is to modify the TUFLOW geometry control file to read the new shapefile.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save the current TGC file as &amp;#039;&amp;#039;&amp;#039;M01_5m_003.tgc&amp;#039;&amp;#039;&amp;#039;.  Comment out or delete the Write MI and Stop lines entered previously (these are no longer needed).&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Add the following lines to the TGC file and save.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Set Zpts &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== 75&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Read RowCol Zpts  &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;== &amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;tt&amp;gt;..\model\gis\2d_zpt_M01_5m_003_P.shp&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
The Zpts have been inspected from the DEM, the geometry control file (.tgc) updated to use the inspected Zpts.  Please return to the tutorial model module 1 page where the next step is to [[Module1_test_Archive#Define_Preliminary_Active_and_Inactive_Areas_of_the_2D_Domain|define the active areas]].&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;/div&gt;</summary>
		<author><name>ElizaCollison</name></author>
	</entry>
</feed>