<?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_MI_2d_zsh_Archive</id>
	<title>Tute M03 MI 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_MI_2d_zsh_Archive"/>
	<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tute_M03_MI_2d_zsh_Archive&amp;action=history"/>
	<updated>2026-06-27T04:48:18Z</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_MI_2d_zsh_Archive&amp;diff=40948&amp;oldid=prev</id>
		<title>Emilie Nielsen at 00:20, 23 September 2024</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tute_M03_MI_2d_zsh_Archive&amp;diff=40948&amp;oldid=prev"/>
		<updated>2024-09-23T00:20:11Z</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:20, 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 39:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 39:&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 M03 MI 2d zsh 02.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 M03 MI 2d zsh 02.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;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 99:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 99:&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;/table&gt;</summary>
		<author><name>Emilie Nielsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Tute_M03_MI_2d_zsh_Archive&amp;diff=31343&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 a MapInfo file. Once the data is in MapInfo format we will manipulate into a TUFLOW 2d Z Shape (2d_...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tute_M03_MI_2d_zsh_Archive&amp;diff=31343&amp;oldid=prev"/>
		<updated>2023-01-06T05:01:16Z</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 a MapInfo file. Once the data is in MapInfo format we will manipulate into a TUFLOW 2d Z Shape (2d_...&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 a MapInfo file. Once the data is in MapInfo 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.  A similar process could be used for space or tab delimited data.&lt;br /&gt;
==Importing Text Data==&lt;br /&gt;
The first step is to import that data into MapInfo, 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 MapInfo, select &amp;#039;&amp;#039;File &amp;gt;&amp;gt;&amp;gt; Open&amp;#039;&amp;#039;.&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;In the &amp;#039;&amp;#039;&amp;#039;Files of Type:&amp;#039;&amp;#039;&amp;#039; drop down box, select &amp;#039;&amp;#039;&amp;#039;Delimited ASCII (*.txt)&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;As the files have the extension .xyz not .txt, type &amp;quot;*.*&amp;quot; into the &amp;#039;&amp;#039;&amp;#039;Filename&amp;#039;&amp;#039;&amp;#039; section and hit enter. Alternatively, the .xyz can be renamed as .txt.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The .xyz files should be visible, select the &amp;#039;&amp;#039;&amp;#039;Creek_Centre_Line.xyz&amp;#039;&amp;#039;&amp;#039; and select &amp;#039;&amp;#039;Open&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
[[File:Tute M03 MI ImportXYZ 01.png|frame|none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In the next dialogue the delimiter character can be specified, in this case it is &amp;quot;,&amp;quot;. Select the &amp;quot;Use First Line for Column Titles&amp;quot; options (as per the image below. Select OK.&amp;lt;/li&amp;gt;&lt;br /&gt;
[[File:Tute M03 MI ImportXYZ 02.png|frame|none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The data should now be displayed in a browser format like the image below. The next step is to manipulate the data into a format suitable for import to TUFLOW.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Tute M03 MI ImportXYZ 03.png|frame|none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==2d Z Shape Format==&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Save a copy of the &amp;#039;&amp;#039;&amp;#039;Creek_Centre_Line_XYZ&amp;#039;&amp;#039;&amp;#039; into the &amp;#039;&amp;#039;&amp;#039;TUFLOW\model\mi\&amp;#039;&amp;#039;&amp;#039; as &amp;#039;&amp;#039;&amp;#039;2d_zsh_M03_thalweg_001.TAB&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Close the &amp;#039;&amp;#039;&amp;#039;Creek_Centre_Line_XYZ&amp;#039;&amp;#039;&amp;#039; file down and open the &amp;#039;&amp;#039;&amp;#039;2d_zsh_M03_thalweg_001.TAB&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
The MapInfo table does not contain any map objects, only the data stored in a tabular format. If you try to add the file to a map window, you will be unable to. We need to create points out of the data stored in the table. To do this:&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;#039;&amp;#039;Table &amp;gt;&amp;gt; Create Points&amp;#039;&amp;#039; from the Menu options.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In the &amp;#039;&amp;#039;Create Points&amp;#039;&amp;#039; dialogue:&lt;br /&gt;
* In the &amp;quot;Create Points for Table&amp;quot; drop menu, select the &amp;#039;&amp;#039;&amp;#039;2d_zsh_M03_thalweg_001&amp;#039;&amp;#039;&amp;#039;;&lt;br /&gt;
* In the projection select the UTM Zone 60, Southern Hemisphere&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;Tip:&amp;#039;&amp;#039;&amp;#039; This is under the &amp;quot;Universal Transverse Mercator (WGS 84) and is the last entry in this category.&lt;br /&gt;
* Set the X and Y fields as the columns to get the X and Y data from.&lt;br /&gt;
When done select OK.&lt;br /&gt;
[[File:Tute M03 MI 2d zsh 01.png|frame|none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The MapInfo file should now contain points, add the layer to a Map Window containing the DEM. You should see the points as per the image below, if the points are not visible, check that they have been created in the correct projection.&lt;br /&gt;
[[File:Tute M03 MI 2d zsh 02.png|frame|none]]&lt;br /&gt;
&amp;lt;br&amp;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;float&amp;quot; type in MapInfo) 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;lt;li&amp;gt;To manipulate the table attributes, select &amp;#039;&amp;#039;Table &amp;gt;&amp;gt; Maintenance &amp;gt;&amp;gt; Table Structure...&amp;#039;&amp;#039; &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;The table already has a &amp;quot;Z&amp;quot; attribute, but we need to add three additional fields, &amp;quot;dZ&amp;quot; (float), &amp;quot;Shape_Width_or_dMax (float) and Shape_Options (character - length 20). Using the &amp;quot;Up&amp;quot; and &amp;quot;Down&amp;quot; buttons, manipulate the data so that the &amp;quot;X&amp;quot; and &amp;quot;Y&amp;quot; columns are the final two columns, as per the image below. As the X and Y columns aren&amp;#039;t used by TUFLOW (the coordinates are stored in the point objects), the X and Y columns could be deleted from the table entirely.&amp;lt;/li&amp;gt;&lt;br /&gt;
[[File:Tute M03 MI 2d zsh 03.png|frame|none]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;After the table structure has been modified, the layer will be removed from any Map Windows. Add the layer the a Map Window containing the DEM.&amp;lt;/li&amp;gt;&lt;br /&gt;
The data contains only points, no lines have been provided, we will need to digitise these.&lt;br /&gt;
&amp;lt;li&amp;gt; Make the layer editable and ensure that the &amp;quot;Snap&amp;quot; utility is enabled (&amp;quot;S&amp;quot; Shortcut key).&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 the backspace key can be used to remove the last vertex digitised.&lt;br /&gt;
[[File:Tute M03 MI 2d zsh 04.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;
&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&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;&amp;#039;&amp;#039;TUFLOW\model\mi\&amp;#039;&amp;#039;&amp;#039; directory;&lt;br /&gt;
* In the 2d_zsh_M03_Rd_Crest_001 create points from the tabular data;&lt;br /&gt;
* Modify the table structure to match the 2d_zsh format; and&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 MapInfo 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>