<?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_Active_Areas_QGIS_Archive</id>
	<title>Tute M01 Active Areas 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_Active_Areas_QGIS_Archive"/>
	<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tute_M01_Active_Areas_QGIS_Archive&amp;action=history"/>
	<updated>2026-05-11T03:33:22Z</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_Active_Areas_QGIS_Archive&amp;diff=31505&amp;oldid=prev</id>
		<title>ElizaCollison at 02:43, 9 January 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tute_M01_Active_Areas_QGIS_Archive&amp;diff=31505&amp;oldid=prev"/>
		<updated>2023-01-09T02:43:52Z</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:43, 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 29:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&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 a 2d_code layer which sets the code value for cells inside the boundary polygon to active (code = 1).  Please return to the tutorial model module 1 page [[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Module1_test_Archive&lt;/del&gt;#Discussion_on_Command_Order|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 a 2d_code layer which sets the code value for cells inside the boundary polygon to active (code = 1).  Please return to the tutorial model module 1 page [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Tutorial_Module01_Archive&lt;/ins&gt;#Discussion_on_Command_Order|here]].&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-31465:rev-31505: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_Active_Areas_QGIS_Archive&amp;diff=31465&amp;oldid=prev</id>
		<title>ElizaCollison: Created page with &quot;== Introduction == This page details the method for using QGIS to set an active model area. A preliminary model extent is provided for the tutorial model, this will be copied...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tute_M01_Active_Areas_QGIS_Archive&amp;diff=31465&amp;oldid=prev"/>
		<updated>2023-01-09T02:16:30Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Introduction == This page details the method for using QGIS to set an active model area. A preliminary model extent is provided for the tutorial model, this will be copied...&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 set an active model area. A preliminary model extent is provided for the tutorial model, this will be copied into a TUFLOW format file.&lt;br /&gt;
&lt;br /&gt;
== Method ==&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_code_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; folder.&lt;br /&gt;
&amp;lt;li&amp;gt;Right click on the empty (template) layer &amp;#039;&amp;#039;&amp;#039;2d_code_empty_R&amp;#039;&amp;#039;&amp;#039; in the layer control and select &amp;#039;&amp;#039;&amp;#039;Save As...&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Tute M01 QGIS 2d code1.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;Save As&amp;#039;&amp;#039;&amp;#039; section, hit the &amp;#039;&amp;#039;&amp;#039;Browse&amp;#039;&amp;#039;&amp;#039; button and save the file 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_code_M01_002_R.shp&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Tute M01 QGIS 2d code2.png | frame | none]]&lt;br /&gt;
&amp;lt;li&amp;gt;Open the newly saved &amp;#039;&amp;#039;&amp;#039;2d_code_M01_002_R.shp&amp;#039;&amp;#039;&amp;#039; file.&lt;br /&gt;
&amp;lt;li&amp;gt;The empty file can now be closed, to do this right click on the layer in the &amp;#039;&amp;#039;&amp;#039;Layers&amp;#039;&amp;#039;&amp;#039; section and select remove.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Tute M01 QGIS 2d code3.png | frame | none]]&lt;br /&gt;
&amp;lt;li&amp;gt;Load the &amp;#039;&amp;#039;&amp;#039;Boundary_region.shp&amp;#039;&amp;#039;&amp;#039; file from the &amp;#039;&amp;#039;&amp;#039;Module_Data\Module_01\QGIS\&amp;#039;&amp;#039;&amp;#039; folder.&lt;br /&gt;
&amp;lt;li&amp;gt;Set the &amp;#039;&amp;#039;&amp;#039;2d_code_M01_002_R&amp;#039;&amp;#039;&amp;#039; layer as editable, by right-clicking on the layer and selecting &amp;#039;&amp;#039;&amp;#039;Toggle Editing&amp;#039;&amp;#039;&amp;#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Tute M01 QGIS 2d code4.png | frame | none]]&lt;br /&gt;
&amp;lt;li&amp;gt;Select the polygon provided from the &amp;#039;&amp;#039;&amp;#039;Boundary_region&amp;#039;&amp;#039;&amp;#039; layer.  To do this, select the layer in the Layer control section, and hit the &amp;#039;&amp;#039;&amp;#039;Select Single Feature&amp;#039;&amp;#039;&amp;#039; from the menu as shown in the image below. Once this is selected, highlight the polygon (it should change colour when selected).&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Tute M01 QGIS 2d code5.png | frame | none]]&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;#039;&amp;#039;Edit &amp;gt;&amp;gt; Copy Feature&amp;#039;&amp;#039; (Control + C).&lt;br /&gt;
&amp;lt;li&amp;gt;Select the &amp;#039;&amp;#039;&amp;#039;2d_code_M01_002_R&amp;#039;&amp;#039;&amp;#039; layer in the layer control and select &amp;#039;&amp;#039;Edit &amp;gt;&amp;gt; Paste Feature&amp;#039;&amp;#039; (Control + V).&lt;br /&gt;
&amp;lt;li&amp;gt;Select the &amp;#039;&amp;#039;Identify Feature&amp;#039;&amp;#039; button (arrow beside blue i icon), and click on the polygon in the Map Window. The information window should show that the Code Feature is set to 1. This is shown in the image below.&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; If this is not the case, expand the &amp;#039;&amp;#039;Actions&amp;#039;&amp;#039; item and select &amp;#039;&amp;#039;Edit Feature Form&amp;#039;&amp;#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Tute M01 QGIS 2d code6.png | frame | none]]&lt;br /&gt;
&amp;lt;li&amp;gt;To finish the edit, select the toggle editing and when prompted, save the file.&lt;br /&gt;
&amp;lt;li&amp;gt;Enter the following line of text into the TGC file &amp;#039;&amp;#039;&amp;#039;&amp;lt;u&amp;gt;after&amp;lt;/u&amp;gt;&amp;#039;&amp;#039;&amp;#039; the &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;Set Code &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;== 0&amp;lt;/tt&amp;gt;&amp;lt;/font&amp;gt; command and save the TGC file.&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 GIS Code &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_code_M01_002_R.SHP&amp;lt;/tt&amp;gt;&amp;lt;br&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 a 2d_code layer which sets the code value for cells inside the boundary polygon to active (code = 1).  Please return to the tutorial model module 1 page [[Module1_test_Archive#Discussion_on_Command_Order|here]].&lt;/div&gt;</summary>
		<author><name>ElizaCollison</name></author>
	</entry>
</feed>