<?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_M03_Arc_2d_zsh_Archive</id>
	<title>Tute M03 Arc 2d zsh 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_M03_Arc_2d_zsh_Archive"/>
	<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tute_M03_Arc_2d_zsh_Archive&amp;action=history"/>
	<updated>2026-05-11T01:13:01Z</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_M03_Arc_2d_zsh_Archive&amp;diff=40940&amp;oldid=prev</id>
		<title>Emilie Nielsen at 00:14, 23 September 2024</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tute_M03_Arc_2d_zsh_Archive&amp;diff=40940&amp;oldid=prev"/>
		<updated>2024-09-23T00:14:42Z</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:14, 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;&amp;lt;li&amp;gt;Close the &#039;&#039;&#039;Creek_Centre_Line_csv&#039;&#039;&#039; file.&amp;lt;/li&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;Close the &#039;&#039;&#039;Creek_Centre_Line_csv&#039;&#039;&#039; file.&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;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; 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;The 2d Z Shape (2d_zsh) format requires the input data to be in the format outlined in &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Table&lt;/del&gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;4&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;8 of the 2010&lt;/del&gt; TUFLOW &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;manual&lt;/del&gt;. The first four columns of the table should contain the following attributes:&amp;lt;br&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;The 2d Z Shape (2d_zsh) format requires the input data to be in the format outlined in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the&lt;/ins&gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;u&amp;gt;[https://docs&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;tuflow.com/classic-hpc/manual/latest/&lt;/ins&gt; TUFLOW &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Manual]&amp;lt;/u&amp;gt;&lt;/ins&gt;. The first four columns of the table should contain the following attributes:&amp;lt;br&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;* Z&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;* Z&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;* dZ&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;* dZ&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 92:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 92:&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;|}&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;|}&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;As per the creek line above, the elevations are associated with the points and a dummy value of 99 is used on the line (the actual value is unimportant). If no points are in the layer, the elevation on the line object is used, i.e. the elevation along the line does not vary.&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;As per the creek line above, the elevations are associated with the points and a dummy value of 99 is used on the line (the actual value is unimportant). If no points are in the layer, the elevation on the line object is used, i.e. the elevation along the line does not vary.&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;As explained in &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Table&lt;/del&gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;4&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;8 of the 2010&lt;/del&gt; TUFLOW &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;manual&lt;/del&gt;, for a line object the Shape_Width_or_dMax, controls the width of the breakline in metres. Depending on the cell size the following methods of application are used:&amp;lt;br&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;As explained in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the&lt;/ins&gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;u&amp;gt;[https://docs&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;tuflow.com/classic-hpc/manual/latest/&lt;/ins&gt; TUFLOW &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Manual]&amp;lt;/u&amp;gt;&lt;/ins&gt;, for a line object the Shape_Width_or_dMax, controls the width of the breakline in metres. Depending on the cell size the following methods of application are used:&amp;lt;br&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;* Shape_Width_or_dMax = 0 - a &quot;thin&quot; breakline is used, only elevations on the cell side are modified (no change in storage);&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;* Shape_Width_or_dMax = 0 - a &quot;thin&quot; breakline is used, only elevations on the cell side are modified (no change in storage);&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;* Shape_Width_or_dMax less than or equal to 1.5 times the cell size - a line of whole cells are modified (a &quot;thick&quot; breakline); or&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;* Shape_Width_or_dMax less than or equal to 1.5 times the cell size - a line of whole cells are modified (a &quot;thick&quot; breakline); or&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-31344:rev-40940: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_M03_Arc_2d_zsh_Archive&amp;diff=31344&amp;oldid=prev</id>
		<title>ElizaCollison: Created page with &quot;&lt;ol&gt; =Introduction= In this page, we import data from text file format into an ArcMap file. Once the data is in ArcMap format we will manipulate into a TUFLOW 2d Z Shape (2d_z...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tute_M03_Arc_2d_zsh_Archive&amp;diff=31344&amp;oldid=prev"/>
		<updated>2023-01-06T05:01:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;ol&amp;gt; =Introduction= In this page, we import data from text file format into an ArcMap file. Once the data is in ArcMap format we will manipulate into a TUFLOW 2d Z Shape (2d_z...&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 import data from text file format into an ArcMap file. Once the data is in ArcMap format we will manipulate into a TUFLOW 2d Z Shape (2d_zsh) format ready for input into TUFLOW.&lt;br /&gt;
=Method=&lt;br /&gt;
Two separate sets of data have been provided in the &amp;#039;&amp;#039;&amp;#039;\Module_Data\Module_03\&amp;#039;&amp;#039;&amp;#039;. These are simple text files with the .xyz extension, as the name suggest these contain coordinates in a x, y and z format. In this case they are comma separated. For ArcMap to recognise an comma separated value file it must have the extension .csv.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Copy the two .xyz (Creek_Centre_Line and Road_Crest_Survey) and rename the copy with .csv extension, i.e. &amp;#039;&amp;#039;&amp;#039;Road_Crest_Survey.csv&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;Creek_Centre_Line.csv&amp;#039;&amp;#039;&amp;#039;. A similar process could be used for tab delimited data, by saving the file as .txt.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
==Importing Text Data==&lt;br /&gt;
The first step is to import that data into ArcMap, to do this:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In ArcMap select &amp;#039;&amp;#039;File &amp;gt;&amp;gt;&amp;gt; Add Data &amp;gt;&amp;gt;&amp;gt; Add XY data&amp;#039;&amp;#039; from the menu items.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate to the &amp;#039;&amp;#039;&amp;#039;Module_Data\Module_03\&amp;#039;&amp;#039;&amp;#039; folder.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The .csv files should now be visible, select the &amp;#039;&amp;#039;&amp;#039;Creek_Centre_Line.csv&amp;#039;&amp;#039;&amp;#039; and select &amp;#039;&amp;#039;Add&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
[[File:Tute M03 Arc ImportXYZ 02.png|frame|none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In the Coordinate System of Input Coordinates section set the to &amp;#039;&amp;#039;Projected Coordinate Systems &amp;gt;&amp;gt; UTM &amp;gt;&amp;gt; WGS 1984 &amp;gt;&amp;gt; WGS 1984 UTM Zone 60S.prj&amp;#039;&amp;#039;. This is the same as our TUFLOW model.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The file should have opened and have point objects down the creek. If it is not already open the DEM ensure that the points are being displayed onto of the DEM. The points should appear as per the image below, with the points having X, Y and Z attributes. The next step is to manipulate the shapefile into a TUFLOW file format.&amp;lt;/li&amp;gt;&lt;br /&gt;
[[File:Tute M03 Arc ImportXYZ 03.png|frame|none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
==2d Z Shape Format==&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Export a copy of the &amp;#039;&amp;#039;&amp;#039;Creek_Centre_Line_csv events&amp;#039;&amp;#039;&amp;#039; into the &amp;#039;&amp;#039;&amp;#039;TUFLOW\model\gis\&amp;#039;&amp;#039;&amp;#039; as &amp;#039;&amp;#039;&amp;#039;2d_zsh_M03_thalweg_001_P.shp&amp;#039;&amp;#039;&amp;#039;. When prompted, &amp;lt;u&amp;gt;do not&amp;lt;/u&amp;gt; open the new layer.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Close the &amp;#039;&amp;#039;&amp;#039;Creek_Centre_Line_csv&amp;#039;&amp;#039;&amp;#039; file.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The 2d Z Shape (2d_zsh) format requires the input data to be in the format outlined in Table 4.8 of the 2010 TUFLOW manual. The first four columns of the table should contain the following attributes:&amp;lt;br&amp;gt;&lt;br /&gt;
* Z&lt;br /&gt;
* dZ&lt;br /&gt;
* Shape_Width_or_dMax&lt;br /&gt;
* Shape_Options&lt;br /&gt;
The first three are numerical fields (&amp;quot;double&amp;quot; type in ArcMap) and the fourth a character field of length 20. The table can have additional columns, these will be ignored by TUFLOW.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; TUFLOW actually uses the order of the attributes and not the file name when reading a file.  The names are therefore not case sensitive and do not actually have to match, for example the third attribute &amp;quot;Shape_Width_or_dMax&amp;quot; can be truncated to &amp;quot;Shape_Width&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The file already has a &amp;quot;Z&amp;quot; attribute, but we need to add three additional fields, &amp;quot;dZ&amp;quot; (double), &amp;quot;Shape_Width_or_dMax&amp;quot;(double) and &amp;quot;Shape_Options&amp;quot; (character - length 20). To create these fields, open ArcCatalogue and then select then select the &amp;#039;&amp;#039;&amp;#039;2d_zsh_M03_thalweg_001_P.shp&amp;#039;&amp;#039;&amp;#039;, right click on the file and select &amp;#039;&amp;#039;properties&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In the Shapefile Properties dialogue, navigate to the &amp;#039;&amp;#039;&amp;#039;Fields&amp;#039;&amp;#039;&amp;#039; tab.  Type dz into the Field Name underneath Z attribute and set the type to &amp;#039;&amp;#039;double&amp;#039;&amp;#039;. Create two mode fields Shape_Width_or_dMax (double) and Shape_Options (text length = 20), as per the image below:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Tip:&amp;#039;&amp;#039;&amp;#039; In order to edit the fields, the file must not be open in ArcMap.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Tute M03 Arc 2d zsh 01.png|frame|none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;We will manipulate the order of the fields in ArcMap. In ArcMap open the &amp;#039;&amp;#039;&amp;#039;2d_zsh_M03_thalweg_001_P.shp&amp;#039;&amp;#039;&amp;#039; file. Make the layer editable and right click on the layer and select &amp;#039;&amp;#039;Open Attribute Table&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In this dialogue the X and Z can be deleted. The X and Y data is stored in the geographic coordinates so is not required as a separate attribute.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The data contains only points, no lines have been provided, we will need to digitise these. To do this we need to create a line file in the 2d_zsh format. Open the &amp;#039;&amp;#039;&amp;#039;2d_zsh_empty_L.shp&amp;#039;&amp;#039;&amp;#039; file from the &amp;#039;&amp;#039;&amp;#039;TUFLOW\model\gis\empty\&amp;#039;&amp;#039;&amp;#039; folder and export a copy as &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;2d_zsh_M03_thalweg_001_L.shp&amp;#039;&amp;#039;&amp;#039;, close the template (empty) file and open the 2d_zsh_M03_thalweg_001_L file.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;We are going to create a line that joins the points together, this will need to snap to the points, make sure the points have snapping tool is enabled.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Starting at the upstream end, create a polyline joining the points together. The line should snap to all of the points. Make sure to terminate the line and restart it upstream and downstream of the road embankments.&amp;lt;/li&amp;gt;&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;Tip:&amp;#039;&amp;#039;&amp;#039; If you make a mistake, continue and move the vertex later.&lt;br /&gt;
[[File:Tute M03 Arc 2d zsh 03.png|frame|none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;For each of the lines, set the following attribute:&lt;br /&gt;
* Z = 99 (this won&amp;#039;t be used as the elevation data is provided in the points)&lt;br /&gt;
* dZ = 0&lt;br /&gt;
* Shape_Width_or_dMax = 0&lt;br /&gt;
* Shape_Options = Min&amp;lt;/li&amp;gt;&lt;br /&gt;
The &amp;quot;MIN&amp;quot; in the shape options only lowers the elevations if the elevation from the breakline is below the the existing elevations in the Zpts.  &amp;quot;MIN&amp;quot;, &amp;quot;LOWER&amp;quot; and &amp;quot;GULLY&amp;quot; all perform the same function. This will lower a continuous flowpath, by lowering cell centres and cell sides. We will examine the changes made to the model in the check file section later in this tutorial module.&amp;lt;br&amp;gt;&lt;br /&gt;
The breakline to represent the creek centre line is now ready for input into TUFLOW.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Repeat the process described above:&lt;br /&gt;
* Import the &amp;#039;&amp;#039;&amp;#039;Road_Crest_Survey.xyz&amp;#039;&amp;#039;&amp;#039; and create a new file called &amp;#039;&amp;#039;&amp;#039;2d_zsh_M03_Rd_Crest_001_P&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;&amp;#039;&amp;#039;TUFLOW\model\gis\&amp;#039;&amp;#039;&amp;#039; directory;&lt;br /&gt;
* Modify the table structure to match the 2d_zsh format; and&lt;br /&gt;
* Create a new line layer from the &amp;#039;&amp;#039;&amp;#039;2d_zsh_empty_L.shp&amp;#039;&amp;#039;&amp;#039; empty file named &amp;#039;&amp;#039;&amp;#039;2d_zsh_M03_Rd_Crest_001_L&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;&amp;#039;&amp;#039;TUFLOW\model\gis\&amp;#039;&amp;#039;&amp;#039; directory;&lt;br /&gt;
* Digitise three lines, one for each road, as per the image below.&amp;lt;/li&amp;gt;&lt;br /&gt;
[[File:Tute M03 MI 2d zsh 05.png|frame|none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;On the lines shown above, enter the following attributes:&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; class=&amp;quot;wikitable&amp;quot; width=&amp;quot;40%&amp;quot;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| GIS Attribute&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=20%| Line 1&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=20%| Line 2&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot; width=20%| Line 3&lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Z&lt;br /&gt;
! style=&amp;quot;font-weight:normal;&amp;quot;| 99&lt;br /&gt;
! style=&amp;quot;font-weight:normal;&amp;quot;| 99&lt;br /&gt;
! style=&amp;quot;font-weight:normal;&amp;quot;| 99&lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| dZ&lt;br /&gt;
! style=&amp;quot;font-weight:normal;&amp;quot;| 0&lt;br /&gt;
! style=&amp;quot;font-weight:normal;&amp;quot;| 0&lt;br /&gt;
! style=&amp;quot;font-weight:normal;&amp;quot;| 0&lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Shape_Width_or_dMax&lt;br /&gt;
! style=&amp;quot;font-weight:normal;&amp;quot;| 5&lt;br /&gt;
! style=&amp;quot;font-weight:normal;&amp;quot;| 0&lt;br /&gt;
! style=&amp;quot;font-weight:normal;&amp;quot;| 0&lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
! style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Shape_Options&lt;br /&gt;
! style=&amp;quot;font-weight:normal;&amp;quot;| MAX&lt;br /&gt;
! style=&amp;quot;font-weight:normal;&amp;quot;| MAX&lt;br /&gt;
! style=&amp;quot;font-weight:normal;&amp;quot;| MAX&lt;br /&gt;
|}&lt;br /&gt;
As per the creek line above, the elevations are associated with the points and a dummy value of 99 is used on the line (the actual value is unimportant). If no points are in the layer, the elevation on the line object is used, i.e. the elevation along the line does not vary.&amp;lt;br&amp;gt;&lt;br /&gt;
As explained in Table 4.8 of the 2010 TUFLOW manual, for a line object the Shape_Width_or_dMax, controls the width of the breakline in metres. Depending on the cell size the following methods of application are used:&amp;lt;br&amp;gt;&lt;br /&gt;
* Shape_Width_or_dMax = 0 - a &amp;quot;thin&amp;quot; breakline is used, only elevations on the cell side are modified (no change in storage);&lt;br /&gt;
* Shape_Width_or_dMax less than or equal to 1.5 times the cell size - a line of whole cells are modified (a &amp;quot;thick&amp;quot; breakline); or&lt;br /&gt;
* Shape_Width_or_dMax greater the 1.5 times the cell size - a &amp;quot;wide&amp;quot; breakline, elevations in multiple cells are modified. Any Zpts within a distance of half the Shape_Width_or_dMax are modified.&lt;br /&gt;
&lt;br /&gt;
For the tutorial model a cell size of 5m is used, therefore, line 1 will be a &amp;quot;thick&amp;quot; formulation and line 2 and line 3 will be using a &amp;quot;thin&amp;quot; breakline. Later in the module we will looking at the check files to review which Zpts are modified.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
Two datasets have been imported into ArcMap and manipulated into a TUFLOW Z Shape format (2d_zsh).  The next step is to modify the control files, [[Tutorial_Module03_Archive#Modify_Simulation_Control_Files | please return to the module 3 page]].&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;/div&gt;</summary>
		<author><name>ElizaCollison</name></author>
	</entry>
</feed>