<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tuflow.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Professional+Wiki</id>
	<title>Tuflow - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tuflow.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Professional+Wiki"/>
	<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/Special:Contributions/Professional_Wiki"/>
	<updated>2026-04-22T17:39:26Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Wiki:GNU_Free_Documentation_License_1.3_or_later&amp;diff=45138</id>
		<title>Wiki:GNU Free Documentation License 1.3 or later</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Wiki:GNU_Free_Documentation_License_1.3_or_later&amp;diff=45138"/>
		<updated>2025-10-10T18:12:52Z</updated>

		<summary type="html">&lt;p&gt;Professional Wiki: new&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Content is available under [https://www.gnu.org/licenses/fdl-1.3.html GNU Free Documentation License 1.3 or later] unless otherwise noted.&lt;/div&gt;</summary>
		<author><name>Professional Wiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Template:Video&amp;diff=35318</id>
		<title>Template:Video</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Template:Video&amp;diff=35318"/>
		<updated>2023-12-01T15:07:38Z</updated>

		<summary type="html">&lt;p&gt;Professional Wiki: sync with fvwiki&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float: right&amp;quot;&amp;gt;__TOC__&amp;lt;/div&amp;gt;&lt;br /&gt;
== Descripton ==&lt;br /&gt;
This is the &#039;&#039;&#039;Video&#039;&#039;&#039; template. It uses the [[Widget:Video|Video]] widget and supports easy embedding of a file by automatically extracting the &amp;quot;&amp;lt;code&amp;gt;url&amp;lt;/code&amp;gt;&amp;quot; parameter from the &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt;&amp;quot; from the specified file name. However, it is still possible to use the &amp;quot;&amp;lt;code&amp;gt;url&amp;lt;/code&amp;gt;&amp;quot; parameter for externally hosted files. It was created by [https://professional.wiki Karsten Hoffmeyer] for [https://www.pro.wiki ProWiki].&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
Either parameter &amp;quot;&amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt;&amp;quot; or parameter &amp;quot;&amp;lt;code&amp;gt;url&amp;lt;/code&amp;gt;&amp;quot; must be specified. If one does not provide a value for the parameter &amp;quot;&amp;lt;code&amp;gt;width&amp;lt;/code&amp;gt;&amp;quot;, the template uses the default value of 425.&lt;br /&gt;
&lt;br /&gt;
=== local file ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Video&lt;br /&gt;
 |name=Animation_M01_Boundary_01b_test2.mp4&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== local file with deviating width ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Video&lt;br /&gt;
 |name=Animation_M01_Boundary_01b_test2.mp4&lt;br /&gt;
 |width=800&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== external file ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Video&lt;br /&gt;
 |url=https://pornel.net/Performance.ogg&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== local file with deviating width ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Video&lt;br /&gt;
 |url=https://pornel.net/Performance.ogg&lt;br /&gt;
 |width=300&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NOEDITSECTION__&lt;br /&gt;
[[Category:Template]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;max-width: {{{width|425}}}px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding-left: 20px;&amp;quot;&amp;gt;&lt;br /&gt;
{{#widget:Video&lt;br /&gt;
 |url={{#if: {{{url|}}} |{{{url|}}} |{{filepath: {{{name|}}} }} }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{{#if:&lt;br /&gt;
 {{{url|}}}&lt;br /&gt;
 |[[Category:Pages with an embedded, externally hosted video file]]&lt;br /&gt;
 |[[Category:Pages with an embedded, locally hosted video file]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Professional Wiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Widget:Video&amp;diff=35317</id>
		<title>Widget:Video</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Widget:Video&amp;diff=35317"/>
		<updated>2023-12-01T14:59:08Z</updated>

		<summary type="html">&lt;p&gt;Professional Wiki: chg&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;big&amp;gt;This widget allows you to embed responsive &#039;&#039;&#039;[https://github.com/etianen/html5media HTML5 Video Media]&#039;&#039;&#039; on your wiki page.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It was created by [https://professional.wiki Karsten Hoffmeyer] for [https://www.pro.wiki ProWiki].&lt;br /&gt;
&lt;br /&gt;
[[Category:Widget]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;nowiki/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;position: relative; overflow: hidden; padding-top: 56.25%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;script src=&amp;quot;//api.html5media.info/1.2.2/html5media.min.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;video controls preload style=&amp;quot;position: absolute; top: 0; left: 0; width: 100%; height: 100%;&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;source src=&amp;quot;&amp;lt;!--{$url|validate:url|escape:html|regex_replace:&amp;quot;#^(?!(https?:)?//).*#i&amp;quot;:&#039;&#039;}--&amp;gt;&amp;quot;&amp;gt;&lt;br /&gt;
      Your browser does not support the &amp;lt;video&amp;gt; tag.&lt;br /&gt;
    &amp;lt;/video&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Professional Wiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Widget:Video&amp;diff=33459</id>
		<title>Widget:Video</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Widget:Video&amp;diff=33459"/>
		<updated>2023-05-26T08:58:22Z</updated>

		<summary type="html">&lt;p&gt;Professional Wiki: chg&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;big&amp;gt;This widget allows you to embed responsive &#039;&#039;&#039;[https://github.com/etianen/html5media HTML5 Video Media]&#039;&#039;&#039; on your wiki page.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Created by [https://professional.wiki/ Karsten Hoffmeyer]&lt;br /&gt;
&lt;br /&gt;
[[Category:Widget]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;nowiki/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;position: relative; overflow: hidden; padding-top: 56.25%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;script src=&amp;quot;//api.html5media.info/1.2.2/html5media.min.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;video controls preload style=&amp;quot;position: absolute; top: 0; left: 0; width: 100%; height: 100%;&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;source src=&amp;quot;&amp;lt;!--{$url|validate:url|escape:html|regex_replace:&amp;quot;#^(?!(https?:)?//).*#i&amp;quot;:&#039;&#039;}--&amp;gt;&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;/video&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Professional Wiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Widget:Video&amp;diff=33458</id>
		<title>Widget:Video</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Widget:Video&amp;diff=33458"/>
		<updated>2023-05-26T08:57:51Z</updated>

		<summary type="html">&lt;p&gt;Professional Wiki: chg&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;big&amp;gt;This widget allows you to embed responsive &#039;&#039;&#039;[https://github.com/etianen/html5media HTML5 Video Media]&#039;&#039;&#039; on your wiki page.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Created by [https://professional.wiki/ Karsten Hoffmeyer]&lt;br /&gt;
&lt;br /&gt;
[[Category:Widget]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;nowiki/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;position: relative; overflow: hidden; padding-top: 56.25%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;script src=&amp;quot;//api.html5media.info/1.2.2/html5media.min.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;video controls preload style=&amp;quot;position: absolute; top: 0; left: 0; width: 100%; height: 100%;&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;source src=&amp;quot;&amp;lt;!--{$url|validate:url|escape:html|regex_replace:&amp;quot;#^(?!(https?:)?//).*#i&amp;quot;:&#039;&#039;}--&amp;gt;&amp;quot;&amp;gt;&lt;br /&gt;
      Das Video-Tag wird von Ihrem Browser nicht unterstützt.&lt;br /&gt;
    &amp;lt;/video&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Professional Wiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Template:Video&amp;diff=33457</id>
		<title>Template:Video</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Template:Video&amp;diff=33457"/>
		<updated>2023-05-26T08:57:13Z</updated>

		<summary type="html">&lt;p&gt;Professional Wiki: chg&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float: right&amp;quot;&amp;gt;__TOC__&amp;lt;/div&amp;gt;&lt;br /&gt;
== Descripton ==&lt;br /&gt;
This is the &#039;&#039;&#039;Video&#039;&#039;&#039; template. It uses the [[Widget:Video|Video]] widget and supports easy embedding of a file by automatically extracting the &amp;quot;&amp;lt;code&amp;gt;url&amp;lt;/code&amp;gt;&amp;quot; parameter from the &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt;&amp;quot; from the specified file name. However, it is still possible to use the &amp;quot;&amp;lt;code&amp;gt;url&amp;lt;/code&amp;gt;&amp;quot; parameter for externally hosted files. Note that this does not work for external files on Vimeo, YouTube, etc.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
Either parameter &amp;quot;&amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt;&amp;quot; or parameter &amp;quot;&amp;lt;code&amp;gt;url&amp;lt;/code&amp;gt;&amp;quot; must be specified. If one does not provide a value for the parameter &amp;quot;&amp;lt;code&amp;gt;width&amp;lt;/code&amp;gt;&amp;quot;, the template uses the default value of 425.&lt;br /&gt;
&lt;br /&gt;
=== local file ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Video&lt;br /&gt;
 |name=Animation_M01_Boundary_01b_test2.mp4&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== local file with deviating width ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Video&lt;br /&gt;
 |name=Animation_M01_Boundary_01b_test2.mp4&lt;br /&gt;
 |width=800&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== external file ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Video&lt;br /&gt;
 |url=https://pornel.net/Performance.ogg&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== local file with deviating width ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Video&lt;br /&gt;
 |url=https://pornel.net/Performance.ogg&lt;br /&gt;
 |width=300&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Template]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;max-width: {{{width|425}}}px&amp;quot;&amp;gt;&lt;br /&gt;
: {{#widget:Video&lt;br /&gt;
 |url={{#if: {{{url|}}} |{{{url|}}} |{{filepath: {{{name|}}} }} }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;div&amp;gt;{{#if:&lt;br /&gt;
 {{{url|}}}&lt;br /&gt;
 |[[Category:Pages with an embedded, externally hosted video file]]&lt;br /&gt;
 |[[Category:Pages with an embedded, locally hosted video file]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Professional Wiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Category:Pages_with_an_embedded_video_file&amp;diff=33456</id>
		<title>Category:Pages with an embedded video file</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Category:Pages_with_an_embedded_video_file&amp;diff=33456"/>
		<updated>2023-05-26T08:47:41Z</updated>

		<summary type="html">&lt;p&gt;Professional Wiki: chg&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__HIDDENCAT__&lt;/div&gt;</summary>
		<author><name>Professional Wiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Category:Pages_with_an_embedded,_externally_hosted_video_file&amp;diff=33455</id>
		<title>Category:Pages with an embedded, externally hosted video file</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Category:Pages_with_an_embedded,_externally_hosted_video_file&amp;diff=33455"/>
		<updated>2023-05-26T08:44:28Z</updated>

		<summary type="html">&lt;p&gt;Professional Wiki: new&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__HIDDENCAT__&lt;br /&gt;
[[Category:Pages with an embedded video file]]&lt;/div&gt;</summary>
		<author><name>Professional Wiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Category:Pages_with_an_embedded_video_file&amp;diff=33454</id>
		<title>Category:Pages with an embedded video file</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Category:Pages_with_an_embedded_video_file&amp;diff=33454"/>
		<updated>2023-05-26T08:44:03Z</updated>

		<summary type="html">&lt;p&gt;Professional Wiki: new&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__HIDDENCAT__&lt;br /&gt;
[[Category:Pages with an embedded video file]]&lt;/div&gt;</summary>
		<author><name>Professional Wiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Category:Hidden_categories&amp;diff=33453</id>
		<title>Category:Hidden categories</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Category:Hidden_categories&amp;diff=33453"/>
		<updated>2023-05-26T08:43:47Z</updated>

		<summary type="html">&lt;p&gt;Professional Wiki: new&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__HIDDENCAT__&lt;/div&gt;</summary>
		<author><name>Professional Wiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Category:Pages_with_an_embedded,_locally_hosted_video_file&amp;diff=33452</id>
		<title>Category:Pages with an embedded, locally hosted video file</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Category:Pages_with_an_embedded,_locally_hosted_video_file&amp;diff=33452"/>
		<updated>2023-05-26T08:43:34Z</updated>

		<summary type="html">&lt;p&gt;Professional Wiki: new&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__HIDDENCAT__&lt;br /&gt;
[[Category:Pages with an embedded video file]]&lt;/div&gt;</summary>
		<author><name>Professional Wiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Tutorial_M01_Define_Active_Area_QGIS_GPKG&amp;diff=33450</id>
		<title>Tutorial M01 Define Active Area QGIS GPKG</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tutorial_M01_Define_Active_Area_QGIS_GPKG&amp;diff=33450"/>
		<updated>2023-05-26T08:31:01Z</updated>

		<summary type="html">&lt;p&gt;Professional Wiki: use template syntax&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;font size = 18&amp;gt;Page Under Construction&amp;lt;/font&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
= Introduction =&lt;br /&gt;
QGIS is used to set an active model area.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Testing mp4 here&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video&lt;br /&gt;
 |name=Animation_M01_Boundary_01b_test2.mp4&lt;br /&gt;
 |width=1274&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Method =&lt;br /&gt;
Use the TUFLOW plugin to create the code polygon layer:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Click on the ‘Import Empty File’ symbol from the TUFLOW Plugin toolbar. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:M01 ImportEmpty.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;This opens the Dialog shown below. The TUFLOW plugin accesses the &#039;Empty Directory&#039; created when the project was configured and provides a list of files to choose from. It appends the &#039;Empty Type&#039; to the beginning of the &#039;RUN ID&#039; and the &#039;Geometry Type&#039; letter to the end. This becomes the name of the file. Make the following selections:&lt;br /&gt;
:*Select &#039;2d_code&#039; from the Empty Type list.&lt;br /&gt;
:*In the Run ID box write: &#039;M01_001&#039;.&lt;br /&gt;
:*Tick the &#039;Regions&#039; Geometry Type.&lt;br /&gt;
:*In the Spatial Database Options, select &#039;All to one&#039;. Navigate to the &#039;&#039;&#039;Module_01/TUFLOW/model/gis&#039;&#039;&#039; folder and save the GeoPackage database as &#039;&#039;&#039;M01_001.gpkg&#039;&#039;&#039;.&lt;br /&gt;
:*Click &#039;OK&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;A layer called &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; in a region format with the relevant TUFLOW attributes is created. The TUFLOW plugin automatically creates a GeoPackage database called &#039;&#039;&#039;M01_001.gpkg&#039;&#039;&#039; in the &#039;&#039;&#039;Module_01\TUFLOW\model\gis&#039;&#039;&#039; folder, saves the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer within it and opens it in the QGIS Layers panel.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_GPKG_Code_01.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Load in the &#039;&#039;&#039;Model_Boundary.gpkg&#039;&#039;&#039; from the &#039;&#039;&#039;Module_01\Tutorial_Data&#039;&#039;&#039; folder by either:&lt;br /&gt;
:*Drag and drop the .gpkg into the QGIS workspace, or&lt;br /&gt;
:*Navigate to the file through the Browser Panel and double click.&lt;br /&gt;
&amp;lt;li&amp;gt;The region object in the &#039;&#039;&#039;Model_Boundary&#039;&#039;&#039; is not in the TUFLOW file format and needs to be copied into the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer to have the correct attributes.&lt;br /&gt;
&amp;lt;li&amp;gt;Make the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer editable by right clicking the layer and selecting &#039;Toggle Editing&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;Select the &#039;&#039;&#039;Model_Boundary&#039;&#039;&#039; file by left clicking on it once in the Layers panel and use the &#039;Select Features&#039; tool to highlight it. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Select &#039;Edit&#039; from the top QGIS tab and &#039;Copy Features&#039; from the drop down menu.  &lt;br /&gt;
&amp;lt;li&amp;gt;Select the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer in the Layers panel by left clicking on it once. Select &#039;Edit&#039; from the top QGIS tab and click &#039;Paste Features&#039; from the drop down menu.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_GPKG_Code_02.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Define the area as active:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;At present the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; is not active. Using the &#039;Identify Features&#039; tool click on the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; region in QGIS. The attribute &#039;Code&#039; has a value of &#039;NULL&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;Right click on the &#039;NULL&#039; value and select &#039;Edit Feature From&#039;, change the value to &#039;1&#039; and click &#039;OK&#039;. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The feature ID &#039;fid&#039; attribute is unique to GeoPackages. QGIS will automatically assign a value. &lt;br /&gt;
&amp;lt;li&amp;gt;Toggle the editing off to save the edits.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_GPKG_Code_03a.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Use the TUFLOW plugin for styling the code polygon layer to make it easier to work with:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Change the symbology of the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer to make it easier to work with. &lt;br /&gt;
&amp;lt;li&amp;gt;Left click the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; in the Layers panel to select it.&lt;br /&gt;
&amp;lt;li&amp;gt;Select ‘Apply TUFLOW Styles to Current Layer’.&lt;br /&gt;
&amp;lt;li&amp;gt;This updates the styling of the layer to display points on the region vertices and set the opacity to 25%.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_Code_04c.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
:*The 2d_code layer was created setting the code value for cells inside the polygon to active (code = 1).&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[Tutorial_M01#Active_and_Inactive_Areas_of_the_2D_Domain| Back to Module 1 Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Professional Wiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Template:Video&amp;diff=33449</id>
		<title>Template:Video</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Template:Video&amp;diff=33449"/>
		<updated>2023-05-26T08:30:42Z</updated>

		<summary type="html">&lt;p&gt;Professional Wiki: chg&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float: right&amp;quot;&amp;gt;__TOC__&amp;lt;/div&amp;gt;&lt;br /&gt;
== Descripton ==&lt;br /&gt;
This is the &#039;&#039;&#039;Video&#039;&#039;&#039; template. It uses the [[Widget:Video|Video]] widget and supports easy embedding of a file by automatically extracting the &amp;quot;&amp;lt;code&amp;gt;url&amp;lt;/code&amp;gt;&amp;quot; parameter from the &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt;&amp;quot; from the specified file name. However, it is still possible to use the &amp;quot;&amp;lt;code&amp;gt;url&amp;lt;/code&amp;gt;&amp;quot; parameter for externally hosted files.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
Either parameter &amp;quot;&amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt;&amp;quot; or parameter &amp;quot;&amp;lt;code&amp;gt;url&amp;lt;/code&amp;gt;&amp;quot; must be specified. If one does not provide a value for the parameter &amp;quot;&amp;lt;code&amp;gt;width&amp;lt;/code&amp;gt;&amp;quot;, the template uses the default value of 425.&lt;br /&gt;
&lt;br /&gt;
=== local file ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Video&lt;br /&gt;
 |name=Animation_M01_Boundary_01b_test2.mp4&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== local file with deviating width ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Video&lt;br /&gt;
 |name=Animation_M01_Boundary_01b_test2.mp4&lt;br /&gt;
 |width=800&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== external file ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Video&lt;br /&gt;
 |url=https://pornel.net/Performance.ogg&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== local file with deviating width ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Video&lt;br /&gt;
 |url=https://pornel.net/Performance.ogg&lt;br /&gt;
 |width=300&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Template]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;max-width: {{{width|425}}}px&amp;quot;&amp;gt;&lt;br /&gt;
: {{#widget:Video&lt;br /&gt;
 |url={{#if: {{{url|}}} |{{{url|}}} |{{filepath: {{{name|}}} }} }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;div&amp;gt;{{#if:&lt;br /&gt;
 {{{url|}}}&lt;br /&gt;
 |[[Category:Pages with an embedded, externally hosted video file]]&lt;br /&gt;
 |[[Category:Pages with an embedded, locally hosted video file]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Professional Wiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Template:Video&amp;diff=33448</id>
		<title>Template:Video</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Template:Video&amp;diff=33448"/>
		<updated>2023-05-26T08:29:42Z</updated>

		<summary type="html">&lt;p&gt;Professional Wiki: new&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float: right&amp;quot;&amp;gt;__TOC__&amp;lt;/div&amp;gt;&lt;br /&gt;
== Descripton ==&lt;br /&gt;
This is the &#039;&#039;&#039;Video&#039;&#039;&#039; template. It uses the [[Widget:Video|Video]] widget and supports easy embedding of a file by automatically extracting the &amp;quot;&amp;lt;code&amp;gt;url&amp;lt;/code&amp;gt;&amp;quot; parameter from the &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt;&amp;quot; from the specified file name. However, it is still possible to use the &amp;quot;&amp;lt;code&amp;gt;url&amp;lt;/code&amp;gt;&amp;quot; parameter for externally hosted files.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
Either parameter &amp;quot;&amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt;&amp;quot; or parameter &amp;quot;&amp;lt;code&amp;gt;url&amp;lt;/code&amp;gt;&amp;quot; must be specified. If one does not provide a value for the parameter &amp;quot;&amp;lt;code&amp;gt;width&amp;lt;/code&amp;gt;&amp;quot;, the template uses the default value of 425.&lt;br /&gt;
&lt;br /&gt;
=== local file ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Video&lt;br /&gt;
 |name=Animation_M01_Boundary_01b_test2.mp4&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== local file with deviating width ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Video&lt;br /&gt;
 |name=Animation_M01_Boundary_01b_test2.mp4&lt;br /&gt;
 |width=800&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== external file ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Video&lt;br /&gt;
 |url=https://pornel.net/Performance.ogg&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== local file with deviating width ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Video&lt;br /&gt;
 |url=https://pornel.net/Performance.ogg&lt;br /&gt;
 |width=300&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Template]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;max-width: {{{width|425}}}px&amp;quot;&amp;gt;&lt;br /&gt;
: {{#widget:VideoResponsive&lt;br /&gt;
 |url={{#if: {{{url|}}} |{{{url|}}} |{{filepath: {{{name|}}} }} }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;div&amp;gt;{{#if:&lt;br /&gt;
 {{{url|}}}&lt;br /&gt;
 |[[Category:Pages with an embedded, externally hosted video file]]&lt;br /&gt;
 |[[Category:Pages with an embedded, locally hosted video file]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Professional Wiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Widget:Video&amp;diff=33447</id>
		<title>Widget:Video</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Widget:Video&amp;diff=33447"/>
		<updated>2023-05-26T08:20:38Z</updated>

		<summary type="html">&lt;p&gt;Professional Wiki: chg&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;big&amp;gt;This widget allows you to embed responsive &#039;&#039;&#039;[https://github.com/etianen/html5media HTML5 Video Media]&#039;&#039;&#039; on your wiki page.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Created by [https://professional.wiki/en/city-wiki Karsten Hoffmeyer]&lt;br /&gt;
&lt;br /&gt;
[[Category:Widget]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;nowiki/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;position: relative; overflow: hidden; padding-top: 56.25%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;script src=&amp;quot;//api.html5media.info/1.2.2/html5media.min.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;video controls preload style=&amp;quot;position: absolute; top: 0; left: 0; width: 100%; height: 100%;&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;source src=&amp;quot;&amp;lt;!--{$url|validate:url|escape:html|regex_replace:&amp;quot;#^(?!(https?:)?//).*#i&amp;quot;:&#039;&#039;}--&amp;gt;&amp;quot;&amp;gt;&lt;br /&gt;
      Das Video-Tag wird von Ihrem Browser nicht unterstützt.&lt;br /&gt;
    &amp;lt;/video&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Professional Wiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Widget:Video&amp;diff=33446</id>
		<title>Widget:Video</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Widget:Video&amp;diff=33446"/>
		<updated>2023-05-26T08:20:28Z</updated>

		<summary type="html">&lt;p&gt;Professional Wiki: new&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;big&amp;gt;This widget allows you to embed responsive &#039;&#039;&#039;[https://github.com/etianen/html5media HTML5 Video Media]&#039;&#039;&#039; on your wiki page.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Created by [https://professional.wiki/en/city-wiki Karsten Hoffmeyer]&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Widget]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;nowiki/&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;position: relative; overflow: hidden; padding-top: 56.25%;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;script src=&amp;quot;//api.html5media.info/1.2.2/html5media.min.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;video controls preload style=&amp;quot;position: absolute; top: 0; left: 0; width: 100%; height: 100%;&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;source src=&amp;quot;&amp;lt;!--{$url|validate:url|escape:html|regex_replace:&amp;quot;#^(?!(https?:)?//).*#i&amp;quot;:&#039;&#039;}--&amp;gt;&amp;quot;&amp;gt;&lt;br /&gt;
      Das Video-Tag wird von Ihrem Browser nicht unterstützt.&lt;br /&gt;
    &amp;lt;/video&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Professional Wiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Tutorial_M01_Define_Active_Area_QGIS_GPKG&amp;diff=33445</id>
		<title>Tutorial M01 Define Active Area QGIS GPKG</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tutorial_M01_Define_Active_Area_QGIS_GPKG&amp;diff=33445"/>
		<updated>2023-05-26T07:59:22Z</updated>

		<summary type="html">&lt;p&gt;Professional Wiki: oops&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;font size = 18&amp;gt;Page Under Construction&amp;lt;/font&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
= Introduction =&lt;br /&gt;
QGIS is used to set an active model area.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Testing mp4 here&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_Boundary_01b_test2.mp4|1274px]]&lt;br /&gt;
&lt;br /&gt;
= Method =&lt;br /&gt;
Use the TUFLOW plugin to create the code polygon layer:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Click on the ‘Import Empty File’ symbol from the TUFLOW Plugin toolbar. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:M01 ImportEmpty.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;This opens the Dialog shown below. The TUFLOW plugin accesses the &#039;Empty Directory&#039; created when the project was configured and provides a list of files to choose from. It appends the &#039;Empty Type&#039; to the beginning of the &#039;RUN ID&#039; and the &#039;Geometry Type&#039; letter to the end. This becomes the name of the file. Make the following selections:&lt;br /&gt;
:*Select &#039;2d_code&#039; from the Empty Type list.&lt;br /&gt;
:*In the Run ID box write: &#039;M01_001&#039;.&lt;br /&gt;
:*Tick the &#039;Regions&#039; Geometry Type.&lt;br /&gt;
:*In the Spatial Database Options, select &#039;All to one&#039;. Navigate to the &#039;&#039;&#039;Module_01/TUFLOW/model/gis&#039;&#039;&#039; folder and save the GeoPackage database as &#039;&#039;&#039;M01_001.gpkg&#039;&#039;&#039;.&lt;br /&gt;
:*Click &#039;OK&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;A layer called &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; in a region format with the relevant TUFLOW attributes is created. The TUFLOW plugin automatically creates a GeoPackage database called &#039;&#039;&#039;M01_001.gpkg&#039;&#039;&#039; in the &#039;&#039;&#039;Module_01\TUFLOW\model\gis&#039;&#039;&#039; folder, saves the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer within it and opens it in the QGIS Layers panel.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_GPKG_Code_01.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Load in the &#039;&#039;&#039;Model_Boundary.gpkg&#039;&#039;&#039; from the &#039;&#039;&#039;Module_01\Tutorial_Data&#039;&#039;&#039; folder by either:&lt;br /&gt;
:*Drag and drop the .gpkg into the QGIS workspace, or&lt;br /&gt;
:*Navigate to the file through the Browser Panel and double click.&lt;br /&gt;
&amp;lt;li&amp;gt;The region object in the &#039;&#039;&#039;Model_Boundary&#039;&#039;&#039; is not in the TUFLOW file format and needs to be copied into the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer to have the correct attributes.&lt;br /&gt;
&amp;lt;li&amp;gt;Make the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer editable by right clicking the layer and selecting &#039;Toggle Editing&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;Select the &#039;&#039;&#039;Model_Boundary&#039;&#039;&#039; file by left clicking on it once in the Layers panel and use the &#039;Select Features&#039; tool to highlight it. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Select &#039;Edit&#039; from the top QGIS tab and &#039;Copy Features&#039; from the drop down menu.  &lt;br /&gt;
&amp;lt;li&amp;gt;Select the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer in the Layers panel by left clicking on it once. Select &#039;Edit&#039; from the top QGIS tab and click &#039;Paste Features&#039; from the drop down menu.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_GPKG_Code_02.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Define the area as active:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;At present the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; is not active. Using the &#039;Identify Features&#039; tool click on the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; region in QGIS. The attribute &#039;Code&#039; has a value of &#039;NULL&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;Right click on the &#039;NULL&#039; value and select &#039;Edit Feature From&#039;, change the value to &#039;1&#039; and click &#039;OK&#039;. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The feature ID &#039;fid&#039; attribute is unique to GeoPackages. QGIS will automatically assign a value. &lt;br /&gt;
&amp;lt;li&amp;gt;Toggle the editing off to save the edits.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_GPKG_Code_03a.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Use the TUFLOW plugin for styling the code polygon layer to make it easier to work with:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Change the symbology of the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer to make it easier to work with. &lt;br /&gt;
&amp;lt;li&amp;gt;Left click the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; in the Layers panel to select it.&lt;br /&gt;
&amp;lt;li&amp;gt;Select ‘Apply TUFLOW Styles to Current Layer’.&lt;br /&gt;
&amp;lt;li&amp;gt;This updates the styling of the layer to display points on the region vertices and set the opacity to 25%.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_Code_04c.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
:*The 2d_code layer was created setting the code value for cells inside the polygon to active (code = 1).&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[Tutorial_M01#Active_and_Inactive_Areas_of_the_2D_Domain| Back to Module 1 Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Professional Wiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Tutorial_M01_Define_Active_Area_QGIS_GPKG&amp;diff=33444</id>
		<title>Tutorial M01 Define Active Area QGIS GPKG</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tutorial_M01_Define_Active_Area_QGIS_GPKG&amp;diff=33444"/>
		<updated>2023-05-26T07:58:59Z</updated>

		<summary type="html">&lt;p&gt;Professional Wiki: test&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;font size = 18&amp;gt;Page Under Construction&amp;lt;/font&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
= Introduction =&lt;br /&gt;
QGIS is used to set an active model area.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Testing mp4 here&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_Boundary_01b_test2.mp4|1274]]&lt;br /&gt;
&lt;br /&gt;
= Method =&lt;br /&gt;
Use the TUFLOW plugin to create the code polygon layer:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Click on the ‘Import Empty File’ symbol from the TUFLOW Plugin toolbar. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:M01 ImportEmpty.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;This opens the Dialog shown below. The TUFLOW plugin accesses the &#039;Empty Directory&#039; created when the project was configured and provides a list of files to choose from. It appends the &#039;Empty Type&#039; to the beginning of the &#039;RUN ID&#039; and the &#039;Geometry Type&#039; letter to the end. This becomes the name of the file. Make the following selections:&lt;br /&gt;
:*Select &#039;2d_code&#039; from the Empty Type list.&lt;br /&gt;
:*In the Run ID box write: &#039;M01_001&#039;.&lt;br /&gt;
:*Tick the &#039;Regions&#039; Geometry Type.&lt;br /&gt;
:*In the Spatial Database Options, select &#039;All to one&#039;. Navigate to the &#039;&#039;&#039;Module_01/TUFLOW/model/gis&#039;&#039;&#039; folder and save the GeoPackage database as &#039;&#039;&#039;M01_001.gpkg&#039;&#039;&#039;.&lt;br /&gt;
:*Click &#039;OK&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;A layer called &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; in a region format with the relevant TUFLOW attributes is created. The TUFLOW plugin automatically creates a GeoPackage database called &#039;&#039;&#039;M01_001.gpkg&#039;&#039;&#039; in the &#039;&#039;&#039;Module_01\TUFLOW\model\gis&#039;&#039;&#039; folder, saves the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer within it and opens it in the QGIS Layers panel.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_GPKG_Code_01.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Load in the &#039;&#039;&#039;Model_Boundary.gpkg&#039;&#039;&#039; from the &#039;&#039;&#039;Module_01\Tutorial_Data&#039;&#039;&#039; folder by either:&lt;br /&gt;
:*Drag and drop the .gpkg into the QGIS workspace, or&lt;br /&gt;
:*Navigate to the file through the Browser Panel and double click.&lt;br /&gt;
&amp;lt;li&amp;gt;The region object in the &#039;&#039;&#039;Model_Boundary&#039;&#039;&#039; is not in the TUFLOW file format and needs to be copied into the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer to have the correct attributes.&lt;br /&gt;
&amp;lt;li&amp;gt;Make the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer editable by right clicking the layer and selecting &#039;Toggle Editing&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;Select the &#039;&#039;&#039;Model_Boundary&#039;&#039;&#039; file by left clicking on it once in the Layers panel and use the &#039;Select Features&#039; tool to highlight it. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Select &#039;Edit&#039; from the top QGIS tab and &#039;Copy Features&#039; from the drop down menu.  &lt;br /&gt;
&amp;lt;li&amp;gt;Select the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer in the Layers panel by left clicking on it once. Select &#039;Edit&#039; from the top QGIS tab and click &#039;Paste Features&#039; from the drop down menu.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_GPKG_Code_02.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Define the area as active:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;At present the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; is not active. Using the &#039;Identify Features&#039; tool click on the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; region in QGIS. The attribute &#039;Code&#039; has a value of &#039;NULL&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;Right click on the &#039;NULL&#039; value and select &#039;Edit Feature From&#039;, change the value to &#039;1&#039; and click &#039;OK&#039;. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The feature ID &#039;fid&#039; attribute is unique to GeoPackages. QGIS will automatically assign a value. &lt;br /&gt;
&amp;lt;li&amp;gt;Toggle the editing off to save the edits.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_GPKG_Code_03a.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Use the TUFLOW plugin for styling the code polygon layer to make it easier to work with:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Change the symbology of the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer to make it easier to work with. &lt;br /&gt;
&amp;lt;li&amp;gt;Left click the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; in the Layers panel to select it.&lt;br /&gt;
&amp;lt;li&amp;gt;Select ‘Apply TUFLOW Styles to Current Layer’.&lt;br /&gt;
&amp;lt;li&amp;gt;This updates the styling of the layer to display points on the region vertices and set the opacity to 25%.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_Code_04c.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
:*The 2d_code layer was created setting the code value for cells inside the polygon to active (code = 1).&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[Tutorial_M01#Active_and_Inactive_Areas_of_the_2D_Domain| Back to Module 1 Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Professional Wiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Tutorial_M01_Define_Active_Area_QGIS_GPKG&amp;diff=33394</id>
		<title>Tutorial M01 Define Active Area QGIS GPKG</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tutorial_M01_Define_Active_Area_QGIS_GPKG&amp;diff=33394"/>
		<updated>2023-05-25T08:07:59Z</updated>

		<summary type="html">&lt;p&gt;Professional Wiki: chg&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;font size = 18&amp;gt;Page Under Construction&amp;lt;/font&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
= Introduction =&lt;br /&gt;
QGIS is used to set an active model area.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Testing mp4 here&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_Code_01c_test.mp4|1274px]]&lt;br /&gt;
&lt;br /&gt;
= Method =&lt;br /&gt;
Use the TUFLOW plugin to create the code polygon layer:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Click on the ‘Import Empty File’ symbol from the TUFLOW Plugin toolbar. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:M01 ImportEmpty.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;This opens the Dialog shown below. The TUFLOW plugin accesses the &#039;Empty Directory&#039; created when the project was configured and provides a list of files to choose from. It appends the &#039;Empty Type&#039; to the beginning of the &#039;RUN ID&#039; and the &#039;Geometry Type&#039; letter to the end. This becomes the name of the file. Make the following selections:&lt;br /&gt;
:*Select &#039;2d_code&#039; from the Empty Type list.&lt;br /&gt;
:*In the Run ID box write: &#039;M01_001&#039;.&lt;br /&gt;
:*Tick the &#039;Regions&#039; Geometry Type.&lt;br /&gt;
:*In the Spatial Database Options, select &#039;All to one&#039;. Navigate to the &#039;&#039;&#039;Module_01/TUFLOW/model/gis&#039;&#039;&#039; folder and save the GeoPackage database as &#039;&#039;&#039;M01_001.gpkg&#039;&#039;&#039;.&lt;br /&gt;
:*Click &#039;OK&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;A layer called &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; in a region format with the relevant TUFLOW attributes is created. The TUFLOW plugin automatically create a GeoPackage database, &#039;&#039;&#039;Module_01\TUFLOW\model\gis&#039;&#039;&#039;, saves the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer within it and opens it in the QGIS Layers panel.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_GPKG_Code_01.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The model extent is provided in a common GeoPackage:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Load in the &#039;&#039;&#039;Model_Boundary.gpkg&#039;&#039;&#039; from the &#039;&#039;&#039;Module_01\Tutorial_Data&#039;&#039;&#039; folder. Either drag and drop the .gpkg into QGIS or navigate to the file through the Browser Panel and double click.&lt;br /&gt;
&amp;lt;li&amp;gt;The region object in the &#039;&#039;&#039;Model_Boundary&#039;&#039;&#039; is not in the TUFLOW file format and needs to be copied into the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer to have the correct attributes.&lt;br /&gt;
&amp;lt;li&amp;gt;Make the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer editable by right clicking the layer and selecting &#039;Toggle Editing&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;Select the &#039;&#039;&#039;Model_Boundary&#039;&#039;&#039; file by left clicking on it once in the Layers panel and use the &#039;Select Features&#039; tool to highlight it. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Select &#039;Edit&#039; from the top QGIS tab and &#039;Copy Features&#039; from the drop down menu.  &lt;br /&gt;
&amp;lt;li&amp;gt;Select the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer in the Layers panel by left clicking on it once. Select &#039;Edit&#039; from the top QGIS tab and click &#039;Paste Features&#039; from the drop down menu.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_Code_02c.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Define the area as active:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;At present the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; is not active. Using the &#039;Identify Features&#039; tool click on the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; region in QGIS. The attribute &#039;Code&#039; has a value of &#039;NULL&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;Right click on the &#039;NULL&#039; value and select &#039;Edit Feature From&#039;, change the value to &#039;1&#039; and click &#039;OK&#039;. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The feature ID &#039;fid&#039; attribute is unique to GeoPackages. QGIS will automatically assign a value. &lt;br /&gt;
&amp;lt;li&amp;gt;Toggle the editing off to save the edits.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_GPKG_Code_03.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Use the TUFLOW plugin for styling the code polygon layer to make it easier to work with:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Change the symbology of the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer to make it easier to work with. &lt;br /&gt;
&amp;lt;li&amp;gt;Left click the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; in the Layers panel to select it.&lt;br /&gt;
&amp;lt;li&amp;gt;Select ‘Apply TUFLOW Styles to Current Layer’.&lt;br /&gt;
&amp;lt;li&amp;gt;This updates the styling of the layer to display points on the region vertices and set the opacity to 25%.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_Code_04c.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
:*The 2d_code layer was created setting the code value for cells inside the polygon to active (code = 1).&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[Tutorial_M01#Active_and_Inactive_Areas_of_the_2D_Domain| Back to Module 1 Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Professional Wiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Tutorial_M01_Define_Active_Area_QGIS_GPKG&amp;diff=33393</id>
		<title>Tutorial M01 Define Active Area QGIS GPKG</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tutorial_M01_Define_Active_Area_QGIS_GPKG&amp;diff=33393"/>
		<updated>2023-05-25T08:07:23Z</updated>

		<summary type="html">&lt;p&gt;Professional Wiki: chg&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;font size = 18&amp;gt;Page Under Construction&amp;lt;/font&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
= Introduction =&lt;br /&gt;
QGIS is used to set an active model area.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Testing mp4 here&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_Code_01c_test.mp4|1200px]]&lt;br /&gt;
&lt;br /&gt;
= Method =&lt;br /&gt;
Use the TUFLOW plugin to create the code polygon layer:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Click on the ‘Import Empty File’ symbol from the TUFLOW Plugin toolbar. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:M01 ImportEmpty.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;This opens the Dialog shown below. The TUFLOW plugin accesses the &#039;Empty Directory&#039; created when the project was configured and provides a list of files to choose from. It appends the &#039;Empty Type&#039; to the beginning of the &#039;RUN ID&#039; and the &#039;Geometry Type&#039; letter to the end. This becomes the name of the file. Make the following selections:&lt;br /&gt;
:*Select &#039;2d_code&#039; from the Empty Type list.&lt;br /&gt;
:*In the Run ID box write: &#039;M01_001&#039;.&lt;br /&gt;
:*Tick the &#039;Regions&#039; Geometry Type.&lt;br /&gt;
:*In the Spatial Database Options, select &#039;All to one&#039;. Navigate to the &#039;&#039;&#039;Module_01/TUFLOW/model/gis&#039;&#039;&#039; folder and save the GeoPackage database as &#039;&#039;&#039;M01_001.gpkg&#039;&#039;&#039;.&lt;br /&gt;
:*Click &#039;OK&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;A layer called &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; in a region format with the relevant TUFLOW attributes is created. The TUFLOW plugin automatically create a GeoPackage database, &#039;&#039;&#039;Module_01\TUFLOW\model\gis&#039;&#039;&#039;, saves the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer within it and opens it in the QGIS Layers panel.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_GPKG_Code_01.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The model extent is provided in a common GeoPackage:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Load in the &#039;&#039;&#039;Model_Boundary.gpkg&#039;&#039;&#039; from the &#039;&#039;&#039;Module_01\Tutorial_Data&#039;&#039;&#039; folder. Either drag and drop the .gpkg into QGIS or navigate to the file through the Browser Panel and double click.&lt;br /&gt;
&amp;lt;li&amp;gt;The region object in the &#039;&#039;&#039;Model_Boundary&#039;&#039;&#039; is not in the TUFLOW file format and needs to be copied into the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer to have the correct attributes.&lt;br /&gt;
&amp;lt;li&amp;gt;Make the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer editable by right clicking the layer and selecting &#039;Toggle Editing&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;Select the &#039;&#039;&#039;Model_Boundary&#039;&#039;&#039; file by left clicking on it once in the Layers panel and use the &#039;Select Features&#039; tool to highlight it. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Select &#039;Edit&#039; from the top QGIS tab and &#039;Copy Features&#039; from the drop down menu.  &lt;br /&gt;
&amp;lt;li&amp;gt;Select the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer in the Layers panel by left clicking on it once. Select &#039;Edit&#039; from the top QGIS tab and click &#039;Paste Features&#039; from the drop down menu.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_Code_02c.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Define the area as active:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;At present the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; is not active. Using the &#039;Identify Features&#039; tool click on the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; region in QGIS. The attribute &#039;Code&#039; has a value of &#039;NULL&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;Right click on the &#039;NULL&#039; value and select &#039;Edit Feature From&#039;, change the value to &#039;1&#039; and click &#039;OK&#039;. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The feature ID &#039;fid&#039; attribute is unique to GeoPackages. QGIS will automatically assign a value. &lt;br /&gt;
&amp;lt;li&amp;gt;Toggle the editing off to save the edits.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_GPKG_Code_03.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Use the TUFLOW plugin for styling the code polygon layer to make it easier to work with:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Change the symbology of the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer to make it easier to work with. &lt;br /&gt;
&amp;lt;li&amp;gt;Left click the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; in the Layers panel to select it.&lt;br /&gt;
&amp;lt;li&amp;gt;Select ‘Apply TUFLOW Styles to Current Layer’.&lt;br /&gt;
&amp;lt;li&amp;gt;This updates the styling of the layer to display points on the region vertices and set the opacity to 25%.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_Code_04c.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
:*The 2d_code layer was created setting the code value for cells inside the polygon to active (code = 1).&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[Tutorial_M01#Active_and_Inactive_Areas_of_the_2D_Domain| Back to Module 1 Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Professional Wiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Tutorial_M01_Define_Active_Area_QGIS_GPKG&amp;diff=33392</id>
		<title>Tutorial M01 Define Active Area QGIS GPKG</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Tutorial_M01_Define_Active_Area_QGIS_GPKG&amp;diff=33392"/>
		<updated>2023-05-25T08:05:18Z</updated>

		<summary type="html">&lt;p&gt;Professional Wiki: change dimension&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;font size = 18&amp;gt;Page Under Construction&amp;lt;/font&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
= Introduction =&lt;br /&gt;
QGIS is used to set an active model area.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Testing mp4 here&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_Code_01c_test.mp4|800px]]&lt;br /&gt;
&lt;br /&gt;
= Method =&lt;br /&gt;
Use the TUFLOW plugin to create the code polygon layer:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Click on the ‘Import Empty File’ symbol from the TUFLOW Plugin toolbar. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:M01 ImportEmpty.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;This opens the Dialog shown below. The TUFLOW plugin accesses the &#039;Empty Directory&#039; created when the project was configured and provides a list of files to choose from. It appends the &#039;Empty Type&#039; to the beginning of the &#039;RUN ID&#039; and the &#039;Geometry Type&#039; letter to the end. This becomes the name of the file. Make the following selections:&lt;br /&gt;
:*Select &#039;2d_code&#039; from the Empty Type list.&lt;br /&gt;
:*In the Run ID box write: &#039;M01_001&#039;.&lt;br /&gt;
:*Tick the &#039;Regions&#039; Geometry Type.&lt;br /&gt;
:*In the Spatial Database Options, select &#039;All to one&#039;. Navigate to the &#039;&#039;&#039;Module_01/TUFLOW/model/gis&#039;&#039;&#039; folder and save the GeoPackage database as &#039;&#039;&#039;M01_001.gpkg&#039;&#039;&#039;.&lt;br /&gt;
:*Click &#039;OK&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;A layer called &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; in a region format with the relevant TUFLOW attributes is created. The TUFLOW plugin automatically create a GeoPackage database, &#039;&#039;&#039;Module_01\TUFLOW\model\gis&#039;&#039;&#039;, saves the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer within it and opens it in the QGIS Layers panel.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_GPKG_Code_01.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The model extent is provided in a common GeoPackage:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Load in the &#039;&#039;&#039;Model_Boundary.gpkg&#039;&#039;&#039; from the &#039;&#039;&#039;Module_01\Tutorial_Data&#039;&#039;&#039; folder. Either drag and drop the .gpkg into QGIS or navigate to the file through the Browser Panel and double click.&lt;br /&gt;
&amp;lt;li&amp;gt;The region object in the &#039;&#039;&#039;Model_Boundary&#039;&#039;&#039; is not in the TUFLOW file format and needs to be copied into the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer to have the correct attributes.&lt;br /&gt;
&amp;lt;li&amp;gt;Make the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer editable by right clicking the layer and selecting &#039;Toggle Editing&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;Select the &#039;&#039;&#039;Model_Boundary&#039;&#039;&#039; file by left clicking on it once in the Layers panel and use the &#039;Select Features&#039; tool to highlight it. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Select &#039;Edit&#039; from the top QGIS tab and &#039;Copy Features&#039; from the drop down menu.  &lt;br /&gt;
&amp;lt;li&amp;gt;Select the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer in the Layers panel by left clicking on it once. Select &#039;Edit&#039; from the top QGIS tab and click &#039;Paste Features&#039; from the drop down menu.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_Code_02c.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Define the area as active:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;At present the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; is not active. Using the &#039;Identify Features&#039; tool click on the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; region in QGIS. The attribute &#039;Code&#039; has a value of &#039;NULL&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;Right click on the &#039;NULL&#039; value and select &#039;Edit Feature From&#039;, change the value to &#039;1&#039; and click &#039;OK&#039;. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The feature ID &#039;fid&#039; attribute is unique to GeoPackages. QGIS will automatically assign a value. &lt;br /&gt;
&amp;lt;li&amp;gt;Toggle the editing off to save the edits.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_GPKG_Code_03.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
Use the TUFLOW plugin for styling the code polygon layer to make it easier to work with:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Change the symbology of the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; layer to make it easier to work with. &lt;br /&gt;
&amp;lt;li&amp;gt;Left click the &#039;&#039;&#039;2d_code_M01_001_R&#039;&#039;&#039; in the Layers panel to select it.&lt;br /&gt;
&amp;lt;li&amp;gt;Select ‘Apply TUFLOW Styles to Current Layer’.&lt;br /&gt;
&amp;lt;li&amp;gt;This updates the styling of the layer to display points on the region vertices and set the opacity to 25%.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Animation_M01_Code_04c.gif]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
:*The 2d_code layer was created setting the code value for cells inside the polygon to active (code = 1).&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[Tutorial_M01#Active_and_Inactive_Areas_of_the_2D_Domain| Back to Module 1 Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Professional Wiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=User:Professional_Wiki&amp;diff=33231</id>
		<title>User:Professional Wiki</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=User:Professional_Wiki&amp;diff=33231"/>
		<updated>2023-05-09T08:35:06Z</updated>

		<summary type="html">&lt;p&gt;Professional Wiki: chg&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;max-width: 30em&amp;quot;&amp;gt;&lt;br /&gt;
This is the user account of &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[https://professional.wiki/ &amp;lt;span style=&amp;quot;color: #32739b; font-weight: 900&amp;quot;&amp;gt;Professional Wiki&amp;lt;/span&amp;gt;]&amp;lt;/span&amp;gt; which is or was used for work on and related to this wiki.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[https://professional.wiki/en/about &amp;lt;span style=&amp;quot;color: #32739b; font-weight: 900&amp;quot;&amp;gt;Professional Wiki&amp;lt;/span&amp;gt;]&amp;lt;/span&amp;gt; creates, manages, upgrades and hosts &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[https://professional.wiki/en/wikis-for-companies &amp;lt;span style=&amp;quot;color: #32739b&amp;quot;&amp;gt;wikis for companies&amp;lt;/span&amp;gt;]&amp;lt;/span&amp;gt;. We are a group of seasoned MediaWiki professionals with extensive expertise. See the following pages for a detailed overview of what we offer you:&lt;br /&gt;
* &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[https://www.pro.wiki &amp;lt;span style=&amp;quot;color: #32739b&amp;quot;&amp;gt;ProWiki hosting&amp;lt;/span&amp;gt;]&amp;lt;/span&amp;gt; by Professional Wiki&lt;br /&gt;
* &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[https://professional.wiki/en/support &amp;lt;span style=&amp;quot;color: #32739b&amp;quot;&amp;gt;Professional Wiki support&amp;lt;/span&amp;gt;]&amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[https://professional.wiki/en/mediawiki-development &amp;lt;span style=&amp;quot;color: #32739b&amp;quot;&amp;gt;Professional Wiki development&amp;lt;/span&amp;gt;]&amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[https://professional.wiki/en/contact &amp;lt;span style=&amp;quot;color: #32739b&amp;quot;&amp;gt;Professional Wiki training&amp;lt;/span&amp;gt;]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[https://professional.wiki/en/about &amp;lt;span style=&amp;quot;color: #32739b&amp;quot;&amp;gt;Professional Wiki blog&amp;lt;/span&amp;gt;]&amp;lt;/span&amp;gt; we publish news and articles concerning all things MediaWiki, Semantic MediaWiki, and Wikibase.&lt;br /&gt;
&lt;br /&gt;
Feel free to &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[https://professional.wiki/en/contact &amp;lt;span style=&amp;quot;color: #32739b; font-weight: 900&amp;quot;&amp;gt;contact us&amp;lt;/span&amp;gt;]&amp;lt;/span&amp;gt; to start or improve you MediaWiki journey!&lt;br /&gt;
&lt;br /&gt;
Concerning Wikibase, you can also have a look at the dedicated homepage of the &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[https://wikibase.consulting/ &amp;lt;span style=&amp;quot;color: #32739b; font-weight: 900&amp;quot;&amp;gt;The Wikibase Consultancy&amp;lt;/span&amp;gt;]&amp;lt;/span&amp;gt; to learn how you can adopt it best and integrate it with Wikidata.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Professional Wiki</name></author>
	</entry>
</feed>