<?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_Arc_Archive</id>
	<title>Tute M01 Inspect Zpts Arc 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_Arc_Archive"/>
	<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tute_M01_Inspect_Zpts_Arc_Archive&amp;action=history"/>
	<updated>2026-06-05T19:55:04Z</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_Arc_Archive&amp;diff=31457&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. To do this open ArcGIS and open the...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tute_M01_Inspect_Zpts_Arc_Archive&amp;diff=31457&amp;oldid=prev"/>
		<updated>2023-01-09T01:58:16Z</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. To do this open ArcGIS and open the...&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. To do this open ArcGIS and open the DEM, which is provided as part of the &amp;#039;&amp;#039;&amp;#039;Module Data&amp;#039;&amp;#039;&amp;#039; and is named &amp;#039;&amp;#039;&amp;#039;DEM_M01.img&amp;#039;&amp;#039;&amp;#039;. Alternatively a layer file the &amp;#039;&amp;#039;&amp;#039;DEM_M01.img.lyr&amp;#039;&amp;#039;&amp;#039; file can be opened, this opens the same DEM, but with the specific colouring properties shown below.&lt;br /&gt;
&lt;br /&gt;
=Method=&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\shp\&amp;#039;&amp;#039;&amp;#039; directory. The Zpts will appear as a mass of points when zoomed to the full extent.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Tute M01 Arc Zpts All.png|750px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open the &amp;#039;&amp;#039;Arc Toolbox&amp;#039;&amp;#039; (select Window &amp;gt;&amp;gt; Arc Toolbox), from the menu choose &amp;#039;&amp;#039;Spatial Analyst Tools &amp;gt;&amp;gt; Extraction &amp;gt;&amp;gt; Extract Values to Points&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Set the input point features to &amp;#039;&amp;#039;&amp;#039;2d_zpt_M01_5m_002_P&amp;#039;&amp;#039;&amp;#039;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Set the Input raster to &amp;#039;&amp;#039;&amp;#039;DEM_M01.img&amp;#039;&amp;#039;&amp;#039;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Set the output point features to the &amp;#039;&amp;#039;&amp;#039;TUFLOW\model\shp\&amp;#039;&amp;#039;&amp;#039; and the file name to &amp;#039;&amp;#039;&amp;#039;2d_zpt_M01_5m_003_P.shp&amp;#039;&amp;#039;&amp;#039;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;#039;&amp;#039;Ok&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
[[File:Tute M01 Arc Toolboxes.png|frame|left|Spatial Analyst Toolboxes]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Tute M01 Arc Spatial Analyst.png|750px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A dialogue will be displayed while the extraction is being processed, this may take a few seconds.  Once completed, clicking the info tool on one of the updated Zpts within the DEM area should now show an additional data attribute, as per the image below:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Tute M01 Arc Zpt Info.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
ArcGIS has adding a new data column to the which it has inspected from the DEM.  The Zpts that are outside of the DEM have been assigned a value of -9,999 values.  We need to remove these points, to do this:&lt;br /&gt;
&amp;lt;li&amp;gt;Make the newly created &amp;#039;&amp;#039;&amp;#039;2d_zpt_M01_5m_003_P.shp&amp;#039;&amp;#039;&amp;#039; editable by selecting &amp;#039;&amp;#039;Editor &amp;gt;&amp;gt; Start Editing&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Select the null values, by using the menu item. &amp;#039;&amp;#039;Selection &amp;gt;&amp;gt; Select by Attributes&amp;#039;&amp;#039;. Select where &amp;quot;RASTERVALU&amp;quot; =-9999. Select &amp;#039;&amp;#039;Apply&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
[[File:Tute M01 Arc SelectByAttributes.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Delete the selected items by hitting the delete key (or using &amp;#039;&amp;#039;Edit &amp;gt;&amp;gt; Delete&amp;#039;&amp;#039;).&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Stop editing, by selecting &amp;#039;&amp;#039;Editor &amp;gt;&amp;gt; Stop Editing&amp;#039;&amp;#039; and when prompted save the files.&amp;lt;/li&amp;gt;&lt;br /&gt;
The Zpts outside the DEM area should now be removed as per the image below, ensure that the &amp;#039;&amp;#039;&amp;#039;2d_zpt_M01_5m_002_P&amp;#039;&amp;#039;&amp;#039;(superseded) layer is removed or not visible.&amp;lt;br&amp;gt;&lt;br /&gt;
The inspection process created a new data column, however, TUFLOW requires the elevation data to be in the fourth column.  There are two ways of overcoming this:&lt;br /&gt;
* Updating the fourth (elevation) attribute column to have the values of the newly created (RASTERVALU) attribute.&lt;br /&gt;
* Remove the elevation column, so that the RASTERVALU column becomes the fourth column.&lt;br /&gt;
We will demonstrate the second option, the first option will results in the same data being stored twice in the shapefile, which will mean bigger file sizes.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Right click on the &amp;#039;&amp;#039;&amp;#039;2d_zpt_M01_5m_003_P.shp&amp;#039;&amp;#039;&amp;#039; in the ArcMap Layers control and select &amp;#039;&amp;#039;Open Attribute Table&amp;#039;&amp;#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;Select the &amp;#039;&amp;#039;&amp;#039;ELEVATION&amp;#039;&amp;#039; field, right-click on the label and select &amp;#039;&amp;#039;Delete Field&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
[[File:Tute M01 ArcMap remove field.png|frame|none|Deleting the Elevation Field in ArcMap]]&lt;br /&gt;
&amp;lt;li&amp;gt;When prompted select &amp;#039;&amp;#039;Yes&amp;#039;&amp;#039;&amp;lt;/li&amp;gt;&lt;br /&gt;
[[File:Tute M01 ArcMap Remove Field Confirm.png|frame|none|Confirm Delete Field]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
To confirm the delete was successful, click the info tool on one of the Zpts, the elevation field should now been removed:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Tute M01 Arc Zpt Info2.png|none|frame|2d_Zpt fields after removal of &amp;quot;Elevation&amp;quot; field.]]&lt;br /&gt;
&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\shp\2d_zpt_M01_5m_003_P.dbf&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>