<?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=Melissa.Moghanloo</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=Melissa.Moghanloo"/>
	<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/Special:Contributions/Melissa.Moghanloo"/>
	<updated>2026-04-09T11:22:34Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Plotting_1D_Flow_Regime&amp;diff=44324</id>
		<title>TUFLOW Viewer - Plotting 1D Flow Regime</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Plotting_1D_Flow_Regime&amp;diff=44324"/>
		<updated>2025-07-02T04:41:41Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Tool Description===&lt;br /&gt;
Flow regime can be a very useful output to understand and debug 1D results, in particular, culverts.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Flow regime results are output from ESTRY by default (i.e. there is no special output type or command required in the ECF). Since the 2020-01-AA TUFLOW release, flow regime results will be imported into TUFLOW Viewer when time series results are loaded. There are several methods to view the flow regime results:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Select &#039;Flow Regime&#039; in the &#039;&#039;&#039;Result Type&#039;&#039;&#039; widget (underneath &#039;Time Series&#039;).&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Plotting 1D Flow Regime_1a.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This will display the flow regime as points and lock the y-axis to the available flow regime types as per the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt;. The plot will group the types by outlet and inlet control regimes - &#039;G&#039; is no flow, everything below &#039;G&#039; on the plot will be inlet control and everything above &#039;G&#039; is outlet control.&amp;lt;Br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Plotting 1D Flow Regime_2a_03.png]]&amp;lt;br&amp;gt;&amp;lt;Br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Right clicking certain time series results [[File:results_2.png | 15px]] (e.g. &#039;Flow&#039;, &#039;Level&#039;, or &#039;Velocity&#039;) will give the user the option of checking on &#039;&#039;&#039;Flow Regime&#039;&#039;&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Plotting 1D Flow Regime_3a.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will plot the flow regime as letters and map it to the chosen result type, making visualising the result a lot easier. For example, in the image below the small jump in velocity at approximately 0.4 hrs is shown to be a change in flow regime (it goes from &#039;C&#039; to &#039;E&#039; then to &#039;B&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Plotting 1D Flow Regime_4a.png]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flow Regimes (Source: TUFLOW Manual)&#039;&#039;&#039;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Plotting_TimeSeries_FlowRegime_Legend.PNG]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
{{Video|name=TUFLOW Viewer_Plotting 1D Flow Regime_1a.mp4|width=1350}}&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Viewer#Time_Series_Output| Back to TUFLOW Viewer Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Plotting_1D_Flow_Regime_1a.mp4&amp;diff=44323</id>
		<title>File:TUFLOW Viewer Plotting 1D Flow Regime 1a.mp4</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Plotting_1D_Flow_Regime_1a.mp4&amp;diff=44323"/>
		<updated>2025-07-02T04:40:26Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Plotting_1D_Flow_Regime&amp;diff=44322</id>
		<title>TUFLOW Viewer - Plotting 1D Flow Regime</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Plotting_1D_Flow_Regime&amp;diff=44322"/>
		<updated>2025-07-02T04:39:33Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Tool Description===&lt;br /&gt;
Flow regime can be a very useful output to understand and debug 1D results, in particular, culverts.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Flow regime results are output from ESTRY by default (i.e. there is no special output type or command required in the ECF). Since the 2020-01-AA TUFLOW release, flow regime results will be imported into TUFLOW Viewer when time series results are loaded. There are several methods to view the flow regime results:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Select &#039;Flow Regime&#039; in the &#039;&#039;&#039;Result Type&#039;&#039;&#039; widget (underneath &#039;Time Series&#039;).&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Plotting 1D Flow Regime_1a.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This will display the flow regime as points and lock the y-axis to the available flow regime types as per the &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]&amp;lt;/u&amp;gt;. The plot will group the types by outlet and inlet control regimes - &#039;G&#039; is no flow, everything below &#039;G&#039; on the plot will be inlet control and everything above &#039;G&#039; is outlet control.&amp;lt;Br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Plotting 1D Flow Regime_2a_03.png]]&amp;lt;br&amp;gt;&amp;lt;Br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Right clicking certain time series results [[File:results_2.png | 15px]] (e.g. &#039;Flow&#039;, &#039;Level&#039;, or &#039;Velocity&#039;) will give the user the option of checking on &#039;&#039;&#039;Flow Regime&#039;&#039;&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Plotting 1D Flow Regime_3a.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will plot the flow regime as letters and map it to the chosen result type, making visualising the result a lot easier. For example, in the image below the small jump in velocity at approximately 0.4 hrs is shown to be a change in flow regime (it goes from &#039;C&#039; to &#039;E&#039; then to &#039;B&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Plotting 1D Flow Regime_4a.png]]&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flow Regimes (Source: TUFLOW Manual)&#039;&#039;&#039;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Plotting_TimeSeries_FlowRegime_Legend.PNG]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
[[File: Plotting_TimeSeries_FlowRegime_Example.gif]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Viewer#Time_Series_Output| Back to TUFLOW Viewer Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Plotting_1D_Flow_Regime_4a.png&amp;diff=44321</id>
		<title>File:TUFLOW Viewer Plotting 1D Flow Regime 4a.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Plotting_1D_Flow_Regime_4a.png&amp;diff=44321"/>
		<updated>2025-07-02T04:36:07Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Plotting_1D_Flow_Regime_3a.png&amp;diff=44320</id>
		<title>File:TUFLOW Viewer Plotting 1D Flow Regime 3a.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Plotting_1D_Flow_Regime_3a.png&amp;diff=44320"/>
		<updated>2025-07-02T04:35:54Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Plotting_1D_Flow_Regime_2a_03.png&amp;diff=44319</id>
		<title>File:TUFLOW Viewer Plotting 1D Flow Regime 2a 03.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Plotting_1D_Flow_Regime_2a_03.png&amp;diff=44319"/>
		<updated>2025-07-02T04:35:37Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Plotting_1D_Flow_Regime_1a.png&amp;diff=44316</id>
		<title>File:TUFLOW Viewer Plotting 1D Flow Regime 1a.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Plotting_1D_Flow_Regime_1a.png&amp;diff=44316"/>
		<updated>2025-07-02T04:11:47Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Plots&amp;diff=44280</id>
		<title>TUFLOW Viewer - Batch Exporting Plots</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Plots&amp;diff=44280"/>
		<updated>2025-07-01T05:08:12Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Tool Description===&lt;br /&gt;
TUFLOW Viewer offers a tool to batch export plots using a vector layer as the plot location selection object. the tool includes the ability to plot from results that have not been loaded into QGIS yet.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool will use the current plot settings at the time of the export request for all outputs. This includes line styles, axis settings, and legend settings. As an alternative to exporting images, the tool can also export csv files, in which case the plot settings won&#039;t have any effect on the export. The tool currently only supports the standard time series (from a point layer) or standard cross-sections (from a line layer). It does not support Isodate (date-time) formats.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Batch Export Tool is initiated using the TUFLOW Viewer drop menu: &#039;&#039;&#039;Export &amp;gt;&amp;gt; Batch Plot and Export Features&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
The following image highlights the tool input and output options:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;GIS Layer&#039;&#039;&#039;: Vector layer containing objects defining the location where results are to be extracted from.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Name Attribute&#039;&#039;&#039;: Name attribute field used as file name for export and chart title. If &#039;&#039;&#039;-None-&#039;&#039;&#039; is selected, the tool uses the feature FID.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Result Mesh&#039;&#039;&#039;: Mesh layers to extract data from. You can choose to add from a file that is not yet loaded into QGIS. Only results that are selected in the list will be processed.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Add from a file&#039;&#039;&#039;: Button to browse to results that are not already present in QGIS. If no result layer is currently present in QGIS, &#039;&#039;&#039;Result Types&#039;&#039;&#039; and &#039;&#039;&#039;Timestep&#039;&#039;&#039; options below are not populated. As such, it is recommended that at least one result layer is loaded so that these are populated, making selection of appropriate options in the following fields easier.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Result Types&#039;&#039;&#039;: Result types for plotting (e.g. bed elevation, water level). Can select from the dropdown if results are loaded in QGIS or user can type them (for more than one, separate result types with &#039;;;&#039; (e.g. Water Level;;Velocity).&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Time Step&#039;&#039;&#039;: Output time step for cross section plotting (not used for time series). Required for cross-sections. If no results are present in QGIS the user will need to input a timestep manually.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Export&#039;&#039;&#039;: Choose either all features or only currently selected features (in the QGIS map window) to iterate through.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Format&#039;&#039;&#039;: Choose either CSV or Image.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Output Folder&#039;&#039;&#039;: Folder location for outputs.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Plots_1a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt;&#039;&#039; Exporting static data as a time series (e.g. Bed Elevation) is possible and will be exported as a single value over the time period.&amp;lt;Br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Viewer#Exporting_Data.2C_Plots.2C_Maps_and_Animations| Back to TUFLOW Viewer Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Plots_1a.png&amp;diff=44279</id>
		<title>File:TUFLOW Viewer Batch Exporting Plots 1a.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Plots_1a.png&amp;diff=44279"/>
		<updated>2025-07-01T05:07:48Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44278</id>
		<title>TUFLOW Viewer - Batch Exporting Maps</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44278"/>
		<updated>2025-07-01T04:43:55Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TUFLOW Viewer offers the ability to batch export maps using mesh layers. This tool does not seek to replace other similar tools that may be inherently built in to QGIS, however does offer the ability to:&lt;br /&gt;
* Automatically add plots from the mesh layer to the maps.&lt;br /&gt;
* Automatically load mesh results, plot, and export maps.&lt;br /&gt;
It also offers convenience functionality for adding items (such as a legend, images and scales), however these can also be added manually in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following steps through the process of batch exporting maps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Open the batch export map tool via &#039;&#039;&#039;Export &amp;gt;&amp;gt; Export Maps&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_1a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; In the layout tab, the user has the option to use a &#039;&#039;&#039;Default Layout&#039;&#039;&#039; or a &#039;&#039;&#039;Custom Layout&#039;&#039;&#039;. A custom layout uses a &#039;&#039;&#039;Print Layout Template (.qpt)&#039;&#039;&#039; as an input. The recommended workflow is to:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; initially.&lt;br /&gt;
&amp;lt;li&amp;gt; Customise the layout using the print layout in QGIS.&lt;br /&gt;
&amp;lt;li&amp;gt; Export the print layout as a template (.qpt).&lt;br /&gt;
&amp;lt;li&amp;gt; Use &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; using the created template file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_2a.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; During Step 1 above, the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; lets the user specify some items to add to the layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Page Properties&#039;&#039;&#039; - defines the page size and the orientation of the exported maps. A page border is added by default, however can be turned off or edited in this section.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_3a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend, Scale Bar, North Arrow&#039;&#039;&#039; - the next three items will add common map items. Users can edit the properties of the item and add things like a background and border.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:TUFLOW Viewer_Batch Exporting Maps_4a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Label&#039;&#039;&#039; - Users can also add a custom label with dynamic text. This is useful if the user would like to add information to the map such as the result name, result type, or date the map was produced. This can be done by using the buttons on the right-hand side of the label properties. User&#039;s can also add their own text to the label, however this will be static.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Map Number&#039;&#039;&#039; - will add a map number to the label based on the order that the maps are exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Name&#039;&#039;&#039; - will add the result name to the label (e.g. M03_5m_001).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Type&#039;&#039;&#039; - will add the result type to the label (e.g. Depth - Max).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Date&#039;&#039;&#039; - will add the date the map was exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Workspace Location&#039;&#039;&#039; - will add the workspace path to the label.&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_5a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plots&#039;&#039;&#039; - These are dynamic plot objects that will be added to the maps. To add a plot, the plot must already be available in one of the TUFLOW Viewer plotting windows.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:TUFLOW Viewer_Batch Exporting Maps_6a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add a plot.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the source of the plot lines that will be added (i.e. time series, cross section etc.).&lt;br /&gt;
&amp;lt;li&amp;gt; Select the plotting lines to add to the plot. Users can add more than one line or split the lines onto multiple plots. If the line is on secondary axis, this will be retained unless the need for the secondary axis becomes redundant (e.g. it&#039;s the only line on the plot).&lt;br /&gt;
:* In addition to the plotted result types, users have the option of specifying &#039;&#039;&#039;Active Dataset&#039;&#039;&#039; and &#039;&#039;&#039;Active Dataset [Water Level For Depth]&#039;&#039;&#039;. This will use the plot location, but plot the active scalar result of the map. The latter option will use water level if the active scalar is depth. This option will not work for plotting from a vector layer if the user is using one of the fields for the plot legend entry (this will need to be turned off in the &#039;&#039;&#039;Settings &amp;gt;&amp;gt; Options &amp;gt;&amp;gt; Plotting&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the position. This is only the starting position and can be moved later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the plot properties. When the user clicks this button, TUFLOW Viewer will calculate the min/max for the plot axes. For lines on the cross-section and vertical profile plots, this can take some time as TUFLOW Viewer will need to step through every timestep to find the min/max values.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_7a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plot Title&#039;&#039;&#039; - can be useful to indicate where the plot was extracted from by aligning the title with labels in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis labels&#039;&#039;&#039; - will be populated with default values.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis Limits&#039;&#039;&#039; - will be populated with calculated extents and the extents can be recalculated using &#039;&#039;&#039;Auto Calc&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend&#039;&#039;&#039; - legend can be added or removed. Legend location options are not as extensive as the TUFLOW Viewer itself, most notably &#039;Auto&#039; is not available.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Grid lines&#039;&#039;&#039; - can be toggled on/off.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Figure Size&#039;&#039;&#039; - will default to 100 x 100. This can be changed in the print layout and the plot will be re-rendered prior to the animation to fit the desired size.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; If the plot point/line was drawn by the user (not a vector layer), a graphic object will be added to the appropriate location to indicate the extraction location. This can be toggled off by unchecking this box.&lt;br /&gt;
&amp;lt;li&amp;gt; Label for the graphic object - this can be changed later in the print layout&lt;br /&gt;
&amp;lt;li&amp;gt; Label position relative to the graphic object&lt;br /&gt;
&amp;lt;li&amp;gt; Label properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_8a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Label font settings&lt;br /&gt;
&amp;lt;li&amp;gt; Background and box settings&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Images&#039;&#039;&#039; - Adds static images (e.g. company logo) to the maps. Adding images can also be added / edited later in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_9a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add an image.&lt;br /&gt;
&amp;lt;li&amp;gt; Browse or copy the file path location of the image to be added.&lt;br /&gt;
&amp;lt;li&amp;gt; Position - this is the starting position and can be changed later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Image properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_10a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Image size options - this can be changed later in the print layout.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Add maps in the &#039;&#039;&#039;Export Maps&#039;&#039;&#039; tab.&lt;br /&gt;
* &#039;&#039;&#039;Result&#039;&#039;&#039; - result file (e.g. the .xmdf file). Results can be chosen from mesh layers that are already loaded into QGIS, or a file path can be specified and the tool will automatically load the mesh when required.&lt;br /&gt;
* &#039;&#039;&#039;Scalar Type&#039;&#039;&#039; - scalar result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Vector Type&#039;&#039;&#039; - vector result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Time&#039;&#039;&#039; - timestep used for the map. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Output&#039;&#039;&#039; - output location of map.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_11a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Users can import a list of maps from a csv file using the &#039;&#039;&#039;Import&#039;&#039;&#039; button. This allows users to use a program such as MS Excel to populate the map list.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_12a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited File&#039;&#039;&#039; - csv (or other text file) containing the map list.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited Format&#039;&#039;&#039; - delimited format of the input file.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Header Rows&#039;&#039;&#039; - number of header rows to discard.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Columns&#039;&#039;&#039; - the columns that correspond to the appropriate columns in the tool. If the column names match the names in the tool, the import tool will automatically populate these values.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Once all layout items have been chosen and added, clicking &#039;&#039;&#039;Preview&#039;&#039;&#039; will allow the user to view how it&#039;s going to look.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_13a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Clicking the preview button will open up the layout in the QGIS print layout. In this layout, the user can modify, move, resize, add, and remove items in the layout. The following items must retain their IDs:&lt;br /&gt;
* The dynamic label must have the ID &#039;title&#039;.&lt;br /&gt;
* Dynamic plots will have an ID &#039;plot_&amp;lt;n&amp;gt;&#039; where &amp;lt;n&amp;gt; is the plot index (starting at index 0) based on the order they were added in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
* The graphic objects have an ID corresponding to their ID in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
Some of the useful information and tools in the print layout are:&lt;br /&gt;
* All plot items are listed in the &#039;Items&#039; box and their corresponding ID. Items can be selected in this box to show their properties and allow users to edit them (they can also be selected in the print layout).&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_13a.png]]&lt;br /&gt;
* Item properties can be edited using the &#039;&#039;&#039;Item Properties&#039;&#039;&#039; tab below the &#039;Items&#039; box.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_14a.png]]&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Interactively Edit Map Extent&#039;&#039;&#039; [[File: Interactively_edit_map_extent_icon_01a.png]] to edit the zoom and position of the map in the print layout.&lt;br /&gt;
* When the map zoom and extents are adjusted the graphic objects will no longer be in the correct position, however that&#039;s ok because the next time either the preview is clicked or if the export maps tool is run, they will be placed in their correct position.&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Select / Move Item&#039;&#039;&#039; [[File: select_move_item_icon_01a.png]] to move and resize items in the print layout.&lt;br /&gt;
* Use &#039;&#039;&#039;Add Item&#039;&#039;&#039; menu to add other custom items such as a north arrow or scale bar.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_15a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Save the print layout as a template (.qpt) via the menu &#039;&#039;&#039;Layout &amp;gt;&amp;gt; Save as Template&#039;&#039;&#039;.&amp;lt;Br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_16a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Close the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; radio button in the layout tab in the export animation dialog and browse the saved template file (.qpt).&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_17a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
Note that all the default layout items will be overridden with the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; except for the plots and dynamic text. The plot position and size from the custom layout template will be used, however the plot content will still be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;. Likewise for the dynamic text, the text will be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; The &#039;&#039;&#039;Preview&#039;&#039;&#039; button can be used multiple times to check that the layout is correctly being imported from the template.&lt;br /&gt;
&amp;lt;li&amp;gt; Click &#039;&#039;&#039;Ok&#039;&#039;&#039; to run the tool and export the maps.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Viewer#Exporting_Data.2C_Plots.2C_Maps_and_Animations| Back to TUFLOW Viewer Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_13a.png&amp;diff=44277</id>
		<title>File:TUFLOW Viewer Batch Exporting Maps 13a.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_13a.png&amp;diff=44277"/>
		<updated>2025-07-01T04:43:04Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44276</id>
		<title>TUFLOW Viewer - Batch Exporting Maps</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44276"/>
		<updated>2025-07-01T04:41:59Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TUFLOW Viewer offers the ability to batch export maps using mesh layers. This tool does not seek to replace other similar tools that may be inherently built in to QGIS, however does offer the ability to:&lt;br /&gt;
* Automatically add plots from the mesh layer to the maps.&lt;br /&gt;
* Automatically load mesh results, plot, and export maps.&lt;br /&gt;
It also offers convenience functionality for adding items (such as a legend, images and scales), however these can also be added manually in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following steps through the process of batch exporting maps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Open the batch export map tool via &#039;&#039;&#039;Export &amp;gt;&amp;gt; Export Maps&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_1a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; In the layout tab, the user has the option to use a &#039;&#039;&#039;Default Layout&#039;&#039;&#039; or a &#039;&#039;&#039;Custom Layout&#039;&#039;&#039;. A custom layout uses a &#039;&#039;&#039;Print Layout Template (.qpt)&#039;&#039;&#039; as an input. The recommended workflow is to:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; initially.&lt;br /&gt;
&amp;lt;li&amp;gt; Customise the layout using the print layout in QGIS.&lt;br /&gt;
&amp;lt;li&amp;gt; Export the print layout as a template (.qpt).&lt;br /&gt;
&amp;lt;li&amp;gt; Use &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; using the created template file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_2a.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; During Step 1 above, the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; lets the user specify some items to add to the layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Page Properties&#039;&#039;&#039; - defines the page size and the orientation of the exported maps. A page border is added by default, however can be turned off or edited in this section.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_3a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend, Scale Bar, North Arrow&#039;&#039;&#039; - the next three items will add common map items. Users can edit the properties of the item and add things like a background and border.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:TUFLOW Viewer_Batch Exporting Maps_4a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Label&#039;&#039;&#039; - Users can also add a custom label with dynamic text. This is useful if the user would like to add information to the map such as the result name, result type, or date the map was produced. This can be done by using the buttons on the right-hand side of the label properties. User&#039;s can also add their own text to the label, however this will be static.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Map Number&#039;&#039;&#039; - will add a map number to the label based on the order that the maps are exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Name&#039;&#039;&#039; - will add the result name to the label (e.g. M03_5m_001).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Type&#039;&#039;&#039; - will add the result type to the label (e.g. Depth - Max).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Date&#039;&#039;&#039; - will add the date the map was exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Workspace Location&#039;&#039;&#039; - will add the workspace path to the label.&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_5a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plots&#039;&#039;&#039; - These are dynamic plot objects that will be added to the maps. To add a plot, the plot must already be available in one of the TUFLOW Viewer plotting windows.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:TUFLOW Viewer_Batch Exporting Maps_6a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add a plot.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the source of the plot lines that will be added (i.e. time series, cross section etc.).&lt;br /&gt;
&amp;lt;li&amp;gt; Select the plotting lines to add to the plot. Users can add more than one line or split the lines onto multiple plots. If the line is on secondary axis, this will be retained unless the need for the secondary axis becomes redundant (e.g. it&#039;s the only line on the plot).&lt;br /&gt;
:* In addition to the plotted result types, users have the option of specifying &#039;&#039;&#039;Active Dataset&#039;&#039;&#039; and &#039;&#039;&#039;Active Dataset [Water Level For Depth]&#039;&#039;&#039;. This will use the plot location, but plot the active scalar result of the map. The latter option will use water level if the active scalar is depth. This option will not work for plotting from a vector layer if the user is using one of the fields for the plot legend entry (this will need to be turned off in the &#039;&#039;&#039;Settings &amp;gt;&amp;gt; Options &amp;gt;&amp;gt; Plotting&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the position. This is only the starting position and can be moved later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the plot properties. When the user clicks this button, TUFLOW Viewer will calculate the min/max for the plot axes. For lines on the cross-section and vertical profile plots, this can take some time as TUFLOW Viewer will need to step through every timestep to find the min/max values.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_7a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plot Title&#039;&#039;&#039; - can be useful to indicate where the plot was extracted from by aligning the title with labels in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis labels&#039;&#039;&#039; - will be populated with default values.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis Limits&#039;&#039;&#039; - will be populated with calculated extents and the extents can be recalculated using &#039;&#039;&#039;Auto Calc&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend&#039;&#039;&#039; - legend can be added or removed. Legend location options are not as extensive as the TUFLOW Viewer itself, most notably &#039;Auto&#039; is not available.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Grid lines&#039;&#039;&#039; - can be toggled on/off.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Figure Size&#039;&#039;&#039; - will default to 100 x 100. This can be changed in the print layout and the plot will be re-rendered prior to the animation to fit the desired size.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; If the plot point/line was drawn by the user (not a vector layer), a graphic object will be added to the appropriate location to indicate the extraction location. This can be toggled off by unchecking this box.&lt;br /&gt;
&amp;lt;li&amp;gt; Label for the graphic object - this can be changed later in the print layout&lt;br /&gt;
&amp;lt;li&amp;gt; Label position relative to the graphic object&lt;br /&gt;
&amp;lt;li&amp;gt; Label properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_8a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Label font settings&lt;br /&gt;
&amp;lt;li&amp;gt; Background and box settings&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Images&#039;&#039;&#039; - Adds static images (e.g. company logo) to the maps. Adding images can also be added / edited later in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_9a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add an image.&lt;br /&gt;
&amp;lt;li&amp;gt; Browse or copy the file path location of the image to be added.&lt;br /&gt;
&amp;lt;li&amp;gt; Position - this is the starting position and can be changed later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Image properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_10a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Image size options - this can be changed later in the print layout.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Add maps in the &#039;&#039;&#039;Export Maps&#039;&#039;&#039; tab.&lt;br /&gt;
* &#039;&#039;&#039;Result&#039;&#039;&#039; - result file (e.g. the .xmdf file). Results can be chosen from mesh layers that are already loaded into QGIS, or a file path can be specified and the tool will automatically load the mesh when required.&lt;br /&gt;
* &#039;&#039;&#039;Scalar Type&#039;&#039;&#039; - scalar result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Vector Type&#039;&#039;&#039; - vector result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Time&#039;&#039;&#039; - timestep used for the map. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Output&#039;&#039;&#039; - output location of map.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_11a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Users can import a list of maps from a csv file using the &#039;&#039;&#039;Import&#039;&#039;&#039; button. This allows users to use a program such as MS Excel to populate the map list.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_12a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited File&#039;&#039;&#039; - csv (or other text file) containing the map list.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited Format&#039;&#039;&#039; - delimited format of the input file.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Header Rows&#039;&#039;&#039; - number of header rows to discard.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Columns&#039;&#039;&#039; - the columns that correspond to the appropriate columns in the tool. If the column names match the names in the tool, the import tool will automatically populate these values.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Once all layout items have been chosen and added, clicking &#039;&#039;&#039;Preview&#039;&#039;&#039; will allow the user to view how it&#039;s going to look.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_12a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Clicking the preview button will open up the layout in the QGIS print layout. In this layout, the user can modify, move, resize, add, and remove items in the layout. The following items must retain their IDs:&lt;br /&gt;
* The dynamic label must have the ID &#039;title&#039;.&lt;br /&gt;
* Dynamic plots will have an ID &#039;plot_&amp;lt;n&amp;gt;&#039; where &amp;lt;n&amp;gt; is the plot index (starting at index 0) based on the order they were added in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
* The graphic objects have an ID corresponding to their ID in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
Some of the useful information and tools in the print layout are:&lt;br /&gt;
* All plot items are listed in the &#039;Items&#039; box and their corresponding ID. Items can be selected in this box to show their properties and allow users to edit them (they can also be selected in the print layout).&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_13a.png]]&lt;br /&gt;
* Item properties can be edited using the &#039;&#039;&#039;Item Properties&#039;&#039;&#039; tab below the &#039;Items&#039; box.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_14a.png]]&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Interactively Edit Map Extent&#039;&#039;&#039; [[File: Interactively_edit_map_extent_icon_01a.png]] to edit the zoom and position of the map in the print layout.&lt;br /&gt;
* When the map zoom and extents are adjusted the graphic objects will no longer be in the correct position, however that&#039;s ok because the next time either the preview is clicked or if the export maps tool is run, they will be placed in their correct position.&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Select / Move Item&#039;&#039;&#039; [[File: select_move_item_icon_01a.png]] to move and resize items in the print layout.&lt;br /&gt;
* Use &#039;&#039;&#039;Add Item&#039;&#039;&#039; menu to add other custom items such as a north arrow or scale bar.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_15a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Save the print layout as a template (.qpt) via the menu &#039;&#039;&#039;Layout &amp;gt;&amp;gt; Save as Template&#039;&#039;&#039;.&amp;lt;Br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_16a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Close the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; radio button in the layout tab in the export animation dialog and browse the saved template file (.qpt).&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_17a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
Note that all the default layout items will be overridden with the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; except for the plots and dynamic text. The plot position and size from the custom layout template will be used, however the plot content will still be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;. Likewise for the dynamic text, the text will be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; The &#039;&#039;&#039;Preview&#039;&#039;&#039; button can be used multiple times to check that the layout is correctly being imported from the template.&lt;br /&gt;
&amp;lt;li&amp;gt; Click &#039;&#039;&#039;Ok&#039;&#039;&#039; to run the tool and export the maps.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Viewer#Exporting_Data.2C_Plots.2C_Maps_and_Animations| Back to TUFLOW Viewer Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_12a.png&amp;diff=44275</id>
		<title>File:TUFLOW Viewer Batch Exporting Maps 12a.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_12a.png&amp;diff=44275"/>
		<updated>2025-07-01T04:38:24Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44274</id>
		<title>TUFLOW Viewer - Batch Exporting Maps</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44274"/>
		<updated>2025-07-01T04:16:43Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TUFLOW Viewer offers the ability to batch export maps using mesh layers. This tool does not seek to replace other similar tools that may be inherently built in to QGIS, however does offer the ability to:&lt;br /&gt;
* Automatically add plots from the mesh layer to the maps.&lt;br /&gt;
* Automatically load mesh results, plot, and export maps.&lt;br /&gt;
It also offers convenience functionality for adding items (such as a legend, images and scales), however these can also be added manually in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following steps through the process of batch exporting maps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Open the batch export map tool via &#039;&#039;&#039;Export &amp;gt;&amp;gt; Export Maps&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_1a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; In the layout tab, the user has the option to use a &#039;&#039;&#039;Default Layout&#039;&#039;&#039; or a &#039;&#039;&#039;Custom Layout&#039;&#039;&#039;. A custom layout uses a &#039;&#039;&#039;Print Layout Template (.qpt)&#039;&#039;&#039; as an input. The recommended workflow is to:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; initially.&lt;br /&gt;
&amp;lt;li&amp;gt; Customise the layout using the print layout in QGIS.&lt;br /&gt;
&amp;lt;li&amp;gt; Export the print layout as a template (.qpt).&lt;br /&gt;
&amp;lt;li&amp;gt; Use &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; using the created template file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_2a.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; During Step 1 above, the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; lets the user specify some items to add to the layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Page Properties&#039;&#039;&#039; - defines the page size and the orientation of the exported maps. A page border is added by default, however can be turned off or edited in this section.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_3a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend, Scale Bar, North Arrow&#039;&#039;&#039; - the next three items will add common map items. Users can edit the properties of the item and add things like a background and border.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:TUFLOW Viewer_Batch Exporting Maps_4a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Label&#039;&#039;&#039; - Users can also add a custom label with dynamic text. This is useful if the user would like to add information to the map such as the result name, result type, or date the map was produced. This can be done by using the buttons on the right-hand side of the label properties. User&#039;s can also add their own text to the label, however this will be static.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Map Number&#039;&#039;&#039; - will add a map number to the label based on the order that the maps are exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Name&#039;&#039;&#039; - will add the result name to the label (e.g. M03_5m_001).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Type&#039;&#039;&#039; - will add the result type to the label (e.g. Depth - Max).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Date&#039;&#039;&#039; - will add the date the map was exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Workspace Location&#039;&#039;&#039; - will add the workspace path to the label.&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_5a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plots&#039;&#039;&#039; - These are dynamic plot objects that will be added to the maps. To add a plot, the plot must already be available in one of the TUFLOW Viewer plotting windows.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:TUFLOW Viewer_Batch Exporting Maps_6a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add a plot.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the source of the plot lines that will be added (i.e. time series, cross section etc.).&lt;br /&gt;
&amp;lt;li&amp;gt; Select the plotting lines to add to the plot. Users can add more than one line or split the lines onto multiple plots. If the line is on secondary axis, this will be retained unless the need for the secondary axis becomes redundant (e.g. it&#039;s the only line on the plot).&lt;br /&gt;
:* In addition to the plotted result types, users have the option of specifying &#039;&#039;&#039;Active Dataset&#039;&#039;&#039; and &#039;&#039;&#039;Active Dataset [Water Level For Depth]&#039;&#039;&#039;. This will use the plot location, but plot the active scalar result of the map. The latter option will use water level if the active scalar is depth. This option will not work for plotting from a vector layer if the user is using one of the fields for the plot legend entry (this will need to be turned off in the &#039;&#039;&#039;Settings &amp;gt;&amp;gt; Options &amp;gt;&amp;gt; Plotting&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the position. This is only the starting position and can be moved later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the plot properties. When the user clicks this button, TUFLOW Viewer will calculate the min/max for the plot axes. For lines on the cross-section and vertical profile plots, this can take some time as TUFLOW Viewer will need to step through every timestep to find the min/max values.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_7a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plot Title&#039;&#039;&#039; - can be useful to indicate where the plot was extracted from by aligning the title with labels in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis labels&#039;&#039;&#039; - will be populated with default values.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis Limits&#039;&#039;&#039; - will be populated with calculated extents and the extents can be recalculated using &#039;&#039;&#039;Auto Calc&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend&#039;&#039;&#039; - legend can be added or removed. Legend location options are not as extensive as the TUFLOW Viewer itself, most notably &#039;Auto&#039; is not available.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Grid lines&#039;&#039;&#039; - can be toggled on/off.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Figure Size&#039;&#039;&#039; - will default to 100 x 100. This can be changed in the print layout and the plot will be re-rendered prior to the animation to fit the desired size.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; If the plot point/line was drawn by the user (not a vector layer), a graphic object will be added to the appropriate location to indicate the extraction location. This can be toggled off by unchecking this box.&lt;br /&gt;
&amp;lt;li&amp;gt; Label for the graphic object - this can be changed later in the print layout&lt;br /&gt;
&amp;lt;li&amp;gt; Label position relative to the graphic object&lt;br /&gt;
&amp;lt;li&amp;gt; Label properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_8a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Label font settings&lt;br /&gt;
&amp;lt;li&amp;gt; Background and box settings&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Images&#039;&#039;&#039; - Adds static images (e.g. company logo) to the maps. Adding images can also be added / edited later in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_9a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add an image.&lt;br /&gt;
&amp;lt;li&amp;gt; Browse or copy the file path location of the image to be added.&lt;br /&gt;
&amp;lt;li&amp;gt; Position - this is the starting position and can be changed later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Image properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_10a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Image size options - this can be changed later in the print layout.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Add maps in the &#039;&#039;&#039;Export Maps&#039;&#039;&#039; tab.&lt;br /&gt;
* &#039;&#039;&#039;Result&#039;&#039;&#039; - result file (e.g. the .xmdf file). Results can be chosen from mesh layers that are already loaded into QGIS, or a file path can be specified and the tool will automatically load the mesh when required.&lt;br /&gt;
* &#039;&#039;&#039;Scalar Type&#039;&#039;&#039; - scalar result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Vector Type&#039;&#039;&#039; - vector result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Time&#039;&#039;&#039; - timestep used for the map. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Output&#039;&#039;&#039; - output location of map.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_11a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Users can import a list of maps from a csv file using the &#039;&#039;&#039;Import&#039;&#039;&#039; button. This allows users to use a program such as MS Excel to populate the map list.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_11a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited File&#039;&#039;&#039; - csv (or other text file) containing the map list.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited Format&#039;&#039;&#039; - delimited format of the input file.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Header Rows&#039;&#039;&#039; - number of header rows to discard.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Columns&#039;&#039;&#039; - the columns that correspond to the appropriate columns in the tool. If the column names match the names in the tool, the import tool will automatically populate these values.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Once all layout items have been chosen and added, clicking &#039;&#039;&#039;Preview&#039;&#039;&#039; will allow the user to view how it&#039;s going to look.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_12a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Clicking the preview button will open up the layout in the QGIS print layout. In this layout, the user can modify, move, resize, add, and remove items in the layout. The following items must retain their IDs:&lt;br /&gt;
* The dynamic label must have the ID &#039;title&#039;.&lt;br /&gt;
* Dynamic plots will have an ID &#039;plot_&amp;lt;n&amp;gt;&#039; where &amp;lt;n&amp;gt; is the plot index (starting at index 0) based on the order they were added in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
* The graphic objects have an ID corresponding to their ID in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
Some of the useful information and tools in the print layout are:&lt;br /&gt;
* All plot items are listed in the &#039;Items&#039; box and their corresponding ID. Items can be selected in this box to show their properties and allow users to edit them (they can also be selected in the print layout).&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_13a.png]]&lt;br /&gt;
* Item properties can be edited using the &#039;&#039;&#039;Item Properties&#039;&#039;&#039; tab below the &#039;Items&#039; box.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_14a.png]]&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Interactively Edit Map Extent&#039;&#039;&#039; [[File: Interactively_edit_map_extent_icon_01a.png]] to edit the zoom and position of the map in the print layout.&lt;br /&gt;
* When the map zoom and extents are adjusted the graphic objects will no longer be in the correct position, however that&#039;s ok because the next time either the preview is clicked or if the export maps tool is run, they will be placed in their correct position.&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Select / Move Item&#039;&#039;&#039; [[File: select_move_item_icon_01a.png]] to move and resize items in the print layout.&lt;br /&gt;
* Use &#039;&#039;&#039;Add Item&#039;&#039;&#039; menu to add other custom items such as a north arrow or scale bar.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_15a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Save the print layout as a template (.qpt) via the menu &#039;&#039;&#039;Layout &amp;gt;&amp;gt; Save as Template&#039;&#039;&#039;.&amp;lt;Br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_16a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Close the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; radio button in the layout tab in the export animation dialog and browse the saved template file (.qpt).&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_17a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
Note that all the default layout items will be overridden with the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; except for the plots and dynamic text. The plot position and size from the custom layout template will be used, however the plot content will still be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;. Likewise for the dynamic text, the text will be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; The &#039;&#039;&#039;Preview&#039;&#039;&#039; button can be used multiple times to check that the layout is correctly being imported from the template.&lt;br /&gt;
&amp;lt;li&amp;gt; Click &#039;&#039;&#039;Ok&#039;&#039;&#039; to run the tool and export the maps.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Viewer#Exporting_Data.2C_Plots.2C_Maps_and_Animations| Back to TUFLOW Viewer Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_11a.png&amp;diff=44273</id>
		<title>File:TUFLOW Viewer Batch Exporting Maps 11a.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_11a.png&amp;diff=44273"/>
		<updated>2025-07-01T04:15:50Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44272</id>
		<title>TUFLOW Viewer - Batch Exporting Maps</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44272"/>
		<updated>2025-07-01T04:14:25Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TUFLOW Viewer offers the ability to batch export maps using mesh layers. This tool does not seek to replace other similar tools that may be inherently built in to QGIS, however does offer the ability to:&lt;br /&gt;
* Automatically add plots from the mesh layer to the maps.&lt;br /&gt;
* Automatically load mesh results, plot, and export maps.&lt;br /&gt;
It also offers convenience functionality for adding items (such as a legend, images and scales), however these can also be added manually in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following steps through the process of batch exporting maps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Open the batch export map tool via &#039;&#039;&#039;Export &amp;gt;&amp;gt; Export Maps&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_1a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; In the layout tab, the user has the option to use a &#039;&#039;&#039;Default Layout&#039;&#039;&#039; or a &#039;&#039;&#039;Custom Layout&#039;&#039;&#039;. A custom layout uses a &#039;&#039;&#039;Print Layout Template (.qpt)&#039;&#039;&#039; as an input. The recommended workflow is to:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; initially.&lt;br /&gt;
&amp;lt;li&amp;gt; Customise the layout using the print layout in QGIS.&lt;br /&gt;
&amp;lt;li&amp;gt; Export the print layout as a template (.qpt).&lt;br /&gt;
&amp;lt;li&amp;gt; Use &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; using the created template file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_2a.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; During Step 1 above, the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; lets the user specify some items to add to the layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Page Properties&#039;&#039;&#039; - defines the page size and the orientation of the exported maps. A page border is added by default, however can be turned off or edited in this section.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_3a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend, Scale Bar, North Arrow&#039;&#039;&#039; - the next three items will add common map items. Users can edit the properties of the item and add things like a background and border.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:TUFLOW Viewer_Batch Exporting Maps_4a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Label&#039;&#039;&#039; - Users can also add a custom label with dynamic text. This is useful if the user would like to add information to the map such as the result name, result type, or date the map was produced. This can be done by using the buttons on the right-hand side of the label properties. User&#039;s can also add their own text to the label, however this will be static.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Map Number&#039;&#039;&#039; - will add a map number to the label based on the order that the maps are exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Name&#039;&#039;&#039; - will add the result name to the label (e.g. M03_5m_001).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Type&#039;&#039;&#039; - will add the result type to the label (e.g. Depth - Max).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Date&#039;&#039;&#039; - will add the date the map was exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Workspace Location&#039;&#039;&#039; - will add the workspace path to the label.&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_5a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plots&#039;&#039;&#039; - These are dynamic plot objects that will be added to the maps. To add a plot, the plot must already be available in one of the TUFLOW Viewer plotting windows.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:TUFLOW Viewer_Batch Exporting Maps_6a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add a plot.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the source of the plot lines that will be added (i.e. time series, cross section etc.).&lt;br /&gt;
&amp;lt;li&amp;gt; Select the plotting lines to add to the plot. Users can add more than one line or split the lines onto multiple plots. If the line is on secondary axis, this will be retained unless the need for the secondary axis becomes redundant (e.g. it&#039;s the only line on the plot).&lt;br /&gt;
:* In addition to the plotted result types, users have the option of specifying &#039;&#039;&#039;Active Dataset&#039;&#039;&#039; and &#039;&#039;&#039;Active Dataset [Water Level For Depth]&#039;&#039;&#039;. This will use the plot location, but plot the active scalar result of the map. The latter option will use water level if the active scalar is depth. This option will not work for plotting from a vector layer if the user is using one of the fields for the plot legend entry (this will need to be turned off in the &#039;&#039;&#039;Settings &amp;gt;&amp;gt; Options &amp;gt;&amp;gt; Plotting&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the position. This is only the starting position and can be moved later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the plot properties. When the user clicks this button, TUFLOW Viewer will calculate the min/max for the plot axes. For lines on the cross-section and vertical profile plots, this can take some time as TUFLOW Viewer will need to step through every timestep to find the min/max values.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_7a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plot Title&#039;&#039;&#039; - can be useful to indicate where the plot was extracted from by aligning the title with labels in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis labels&#039;&#039;&#039; - will be populated with default values.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis Limits&#039;&#039;&#039; - will be populated with calculated extents and the extents can be recalculated using &#039;&#039;&#039;Auto Calc&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend&#039;&#039;&#039; - legend can be added or removed. Legend location options are not as extensive as the TUFLOW Viewer itself, most notably &#039;Auto&#039; is not available.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Grid lines&#039;&#039;&#039; - can be toggled on/off.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Figure Size&#039;&#039;&#039; - will default to 100 x 100. This can be changed in the print layout and the plot will be re-rendered prior to the animation to fit the desired size.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; If the plot point/line was drawn by the user (not a vector layer), a graphic object will be added to the appropriate location to indicate the extraction location. This can be toggled off by unchecking this box.&lt;br /&gt;
&amp;lt;li&amp;gt; Label for the graphic object - this can be changed later in the print layout&lt;br /&gt;
&amp;lt;li&amp;gt; Label position relative to the graphic object&lt;br /&gt;
&amp;lt;li&amp;gt; Label properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_8a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Label font settings&lt;br /&gt;
&amp;lt;li&amp;gt; Background and box settings&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Images&#039;&#039;&#039; - Adds static images (e.g. company logo) to the maps. Adding images can also be added / edited later in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_9a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add an image.&lt;br /&gt;
&amp;lt;li&amp;gt; Browse or copy the file path location of the image to be added.&lt;br /&gt;
&amp;lt;li&amp;gt; Position - this is the starting position and can be changed later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Image properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_10a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Image size options - this can be changed later in the print layout.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Add maps in the &#039;&#039;&#039;Export Maps&#039;&#039;&#039; tab.&lt;br /&gt;
* &#039;&#039;&#039;Result&#039;&#039;&#039; - result file (e.g. the .xmdf file). Results can be chosen from mesh layers that are already loaded into QGIS, or a file path can be specified and the tool will automatically load the mesh when required.&lt;br /&gt;
* &#039;&#039;&#039;Scalar Type&#039;&#039;&#039; - scalar result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Vector Type&#039;&#039;&#039; - vector result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Time&#039;&#039;&#039; - timestep used for the map. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Output&#039;&#039;&#039; - output location of map.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: batch_exporting_maps_18b.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Users can import a list of maps from a csv file using the &#039;&#039;&#039;Import&#039;&#039;&#039; button. This allows users to use a program such as MS Excel to populate the map list.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_11a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited File&#039;&#039;&#039; - csv (or other text file) containing the map list.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited Format&#039;&#039;&#039; - delimited format of the input file.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Header Rows&#039;&#039;&#039; - number of header rows to discard.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Columns&#039;&#039;&#039; - the columns that correspond to the appropriate columns in the tool. If the column names match the names in the tool, the import tool will automatically populate these values.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Once all layout items have been chosen and added, clicking &#039;&#039;&#039;Preview&#039;&#039;&#039; will allow the user to view how it&#039;s going to look.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_12a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Clicking the preview button will open up the layout in the QGIS print layout. In this layout, the user can modify, move, resize, add, and remove items in the layout. The following items must retain their IDs:&lt;br /&gt;
* The dynamic label must have the ID &#039;title&#039;.&lt;br /&gt;
* Dynamic plots will have an ID &#039;plot_&amp;lt;n&amp;gt;&#039; where &amp;lt;n&amp;gt; is the plot index (starting at index 0) based on the order they were added in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
* The graphic objects have an ID corresponding to their ID in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
Some of the useful information and tools in the print layout are:&lt;br /&gt;
* All plot items are listed in the &#039;Items&#039; box and their corresponding ID. Items can be selected in this box to show their properties and allow users to edit them (they can also be selected in the print layout).&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_13a.png]]&lt;br /&gt;
* Item properties can be edited using the &#039;&#039;&#039;Item Properties&#039;&#039;&#039; tab below the &#039;Items&#039; box.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_14a.png]]&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Interactively Edit Map Extent&#039;&#039;&#039; [[File: Interactively_edit_map_extent_icon_01a.png]] to edit the zoom and position of the map in the print layout.&lt;br /&gt;
* When the map zoom and extents are adjusted the graphic objects will no longer be in the correct position, however that&#039;s ok because the next time either the preview is clicked or if the export maps tool is run, they will be placed in their correct position.&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Select / Move Item&#039;&#039;&#039; [[File: select_move_item_icon_01a.png]] to move and resize items in the print layout.&lt;br /&gt;
* Use &#039;&#039;&#039;Add Item&#039;&#039;&#039; menu to add other custom items such as a north arrow or scale bar.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_15a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Save the print layout as a template (.qpt) via the menu &#039;&#039;&#039;Layout &amp;gt;&amp;gt; Save as Template&#039;&#039;&#039;.&amp;lt;Br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_16a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Close the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; radio button in the layout tab in the export animation dialog and browse the saved template file (.qpt).&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_17a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
Note that all the default layout items will be overridden with the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; except for the plots and dynamic text. The plot position and size from the custom layout template will be used, however the plot content will still be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;. Likewise for the dynamic text, the text will be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; The &#039;&#039;&#039;Preview&#039;&#039;&#039; button can be used multiple times to check that the layout is correctly being imported from the template.&lt;br /&gt;
&amp;lt;li&amp;gt; Click &#039;&#039;&#039;Ok&#039;&#039;&#039; to run the tool and export the maps.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Viewer#Exporting_Data.2C_Plots.2C_Maps_and_Animations| Back to TUFLOW Viewer Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_10a.png&amp;diff=44271</id>
		<title>File:TUFLOW Viewer Batch Exporting Maps 10a.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_10a.png&amp;diff=44271"/>
		<updated>2025-07-01T04:12:56Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44270</id>
		<title>TUFLOW Viewer - Batch Exporting Maps</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44270"/>
		<updated>2025-07-01T04:10:22Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TUFLOW Viewer offers the ability to batch export maps using mesh layers. This tool does not seek to replace other similar tools that may be inherently built in to QGIS, however does offer the ability to:&lt;br /&gt;
* Automatically add plots from the mesh layer to the maps.&lt;br /&gt;
* Automatically load mesh results, plot, and export maps.&lt;br /&gt;
It also offers convenience functionality for adding items (such as a legend, images and scales), however these can also be added manually in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following steps through the process of batch exporting maps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Open the batch export map tool via &#039;&#039;&#039;Export &amp;gt;&amp;gt; Export Maps&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_1a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; In the layout tab, the user has the option to use a &#039;&#039;&#039;Default Layout&#039;&#039;&#039; or a &#039;&#039;&#039;Custom Layout&#039;&#039;&#039;. A custom layout uses a &#039;&#039;&#039;Print Layout Template (.qpt)&#039;&#039;&#039; as an input. The recommended workflow is to:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; initially.&lt;br /&gt;
&amp;lt;li&amp;gt; Customise the layout using the print layout in QGIS.&lt;br /&gt;
&amp;lt;li&amp;gt; Export the print layout as a template (.qpt).&lt;br /&gt;
&amp;lt;li&amp;gt; Use &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; using the created template file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_2a.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; During Step 1 above, the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; lets the user specify some items to add to the layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Page Properties&#039;&#039;&#039; - defines the page size and the orientation of the exported maps. A page border is added by default, however can be turned off or edited in this section.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_3a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend, Scale Bar, North Arrow&#039;&#039;&#039; - the next three items will add common map items. Users can edit the properties of the item and add things like a background and border.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:TUFLOW Viewer_Batch Exporting Maps_4a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Label&#039;&#039;&#039; - Users can also add a custom label with dynamic text. This is useful if the user would like to add information to the map such as the result name, result type, or date the map was produced. This can be done by using the buttons on the right-hand side of the label properties. User&#039;s can also add their own text to the label, however this will be static.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Map Number&#039;&#039;&#039; - will add a map number to the label based on the order that the maps are exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Name&#039;&#039;&#039; - will add the result name to the label (e.g. M03_5m_001).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Type&#039;&#039;&#039; - will add the result type to the label (e.g. Depth - Max).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Date&#039;&#039;&#039; - will add the date the map was exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Workspace Location&#039;&#039;&#039; - will add the workspace path to the label.&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_5a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plots&#039;&#039;&#039; - These are dynamic plot objects that will be added to the maps. To add a plot, the plot must already be available in one of the TUFLOW Viewer plotting windows.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:TUFLOW Viewer_Batch Exporting Maps_6a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add a plot.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the source of the plot lines that will be added (i.e. time series, cross section etc.).&lt;br /&gt;
&amp;lt;li&amp;gt; Select the plotting lines to add to the plot. Users can add more than one line or split the lines onto multiple plots. If the line is on secondary axis, this will be retained unless the need for the secondary axis becomes redundant (e.g. it&#039;s the only line on the plot).&lt;br /&gt;
:* In addition to the plotted result types, users have the option of specifying &#039;&#039;&#039;Active Dataset&#039;&#039;&#039; and &#039;&#039;&#039;Active Dataset [Water Level For Depth]&#039;&#039;&#039;. This will use the plot location, but plot the active scalar result of the map. The latter option will use water level if the active scalar is depth. This option will not work for plotting from a vector layer if the user is using one of the fields for the plot legend entry (this will need to be turned off in the &#039;&#039;&#039;Settings &amp;gt;&amp;gt; Options &amp;gt;&amp;gt; Plotting&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the position. This is only the starting position and can be moved later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the plot properties. When the user clicks this button, TUFLOW Viewer will calculate the min/max for the plot axes. For lines on the cross-section and vertical profile plots, this can take some time as TUFLOW Viewer will need to step through every timestep to find the min/max values.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_7a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plot Title&#039;&#039;&#039; - can be useful to indicate where the plot was extracted from by aligning the title with labels in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis labels&#039;&#039;&#039; - will be populated with default values.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis Limits&#039;&#039;&#039; - will be populated with calculated extents and the extents can be recalculated using &#039;&#039;&#039;Auto Calc&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend&#039;&#039;&#039; - legend can be added or removed. Legend location options are not as extensive as the TUFLOW Viewer itself, most notably &#039;Auto&#039; is not available.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Grid lines&#039;&#039;&#039; - can be toggled on/off.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Figure Size&#039;&#039;&#039; - will default to 100 x 100. This can be changed in the print layout and the plot will be re-rendered prior to the animation to fit the desired size.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; If the plot point/line was drawn by the user (not a vector layer), a graphic object will be added to the appropriate location to indicate the extraction location. This can be toggled off by unchecking this box.&lt;br /&gt;
&amp;lt;li&amp;gt; Label for the graphic object - this can be changed later in the print layout&lt;br /&gt;
&amp;lt;li&amp;gt; Label position relative to the graphic object&lt;br /&gt;
&amp;lt;li&amp;gt; Label properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_8a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Label font settings&lt;br /&gt;
&amp;lt;li&amp;gt; Background and box settings&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Images&#039;&#039;&#039; - Adds static images (e.g. company logo) to the maps. Adding images can also be added / edited later in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_9a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add an image.&lt;br /&gt;
&amp;lt;li&amp;gt; Browse or copy the file path location of the image to be added.&lt;br /&gt;
&amp;lt;li&amp;gt; Position - this is the starting position and can be changed later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Image properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_10a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Image size options - this can be changed later in the print layout.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Add maps in the &#039;&#039;&#039;Export Maps&#039;&#039;&#039; tab.&lt;br /&gt;
* &#039;&#039;&#039;Result&#039;&#039;&#039; - result file (e.g. the .xmdf file). Results can be chosen from mesh layers that are already loaded into QGIS, or a file path can be specified and the tool will automatically load the mesh when required.&lt;br /&gt;
* &#039;&#039;&#039;Scalar Type&#039;&#039;&#039; - scalar result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Vector Type&#039;&#039;&#039; - vector result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Time&#039;&#039;&#039; - timestep used for the map. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Output&#039;&#039;&#039; - output location of map.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: batch_exporting_maps_18b.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Users can import a list of maps from a csv file using the &#039;&#039;&#039;Import&#039;&#039;&#039; button. This allows users to use a program such as MS Excel to populate the map list.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_11a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited File&#039;&#039;&#039; - csv (or other text file) containing the map list.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited Format&#039;&#039;&#039; - delimited format of the input file.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Header Rows&#039;&#039;&#039; - number of header rows to discard.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Columns&#039;&#039;&#039; - the columns that correspond to the appropriate columns in the tool. If the column names match the names in the tool, the import tool will automatically populate these values.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Once all layout items have been chosen and added, clicking &#039;&#039;&#039;Preview&#039;&#039;&#039; will allow the user to view how it&#039;s going to look.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_12a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Clicking the preview button will open up the layout in the QGIS print layout. In this layout, the user can modify, move, resize, add, and remove items in the layout. The following items must retain their IDs:&lt;br /&gt;
* The dynamic label must have the ID &#039;title&#039;.&lt;br /&gt;
* Dynamic plots will have an ID &#039;plot_&amp;lt;n&amp;gt;&#039; where &amp;lt;n&amp;gt; is the plot index (starting at index 0) based on the order they were added in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
* The graphic objects have an ID corresponding to their ID in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
Some of the useful information and tools in the print layout are:&lt;br /&gt;
* All plot items are listed in the &#039;Items&#039; box and their corresponding ID. Items can be selected in this box to show their properties and allow users to edit them (they can also be selected in the print layout).&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_13a.png]]&lt;br /&gt;
* Item properties can be edited using the &#039;&#039;&#039;Item Properties&#039;&#039;&#039; tab below the &#039;Items&#039; box.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_14a.png]]&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Interactively Edit Map Extent&#039;&#039;&#039; [[File: Interactively_edit_map_extent_icon_01a.png]] to edit the zoom and position of the map in the print layout.&lt;br /&gt;
* When the map zoom and extents are adjusted the graphic objects will no longer be in the correct position, however that&#039;s ok because the next time either the preview is clicked or if the export maps tool is run, they will be placed in their correct position.&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Select / Move Item&#039;&#039;&#039; [[File: select_move_item_icon_01a.png]] to move and resize items in the print layout.&lt;br /&gt;
* Use &#039;&#039;&#039;Add Item&#039;&#039;&#039; menu to add other custom items such as a north arrow or scale bar.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_15a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Save the print layout as a template (.qpt) via the menu &#039;&#039;&#039;Layout &amp;gt;&amp;gt; Save as Template&#039;&#039;&#039;.&amp;lt;Br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_16a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Close the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; radio button in the layout tab in the export animation dialog and browse the saved template file (.qpt).&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_17a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
Note that all the default layout items will be overridden with the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; except for the plots and dynamic text. The plot position and size from the custom layout template will be used, however the plot content will still be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;. Likewise for the dynamic text, the text will be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; The &#039;&#039;&#039;Preview&#039;&#039;&#039; button can be used multiple times to check that the layout is correctly being imported from the template.&lt;br /&gt;
&amp;lt;li&amp;gt; Click &#039;&#039;&#039;Ok&#039;&#039;&#039; to run the tool and export the maps.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Viewer#Exporting_Data.2C_Plots.2C_Maps_and_Animations| Back to TUFLOW Viewer Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_9a.png&amp;diff=44269</id>
		<title>File:TUFLOW Viewer Batch Exporting Maps 9a.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_9a.png&amp;diff=44269"/>
		<updated>2025-07-01T04:08:20Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44268</id>
		<title>TUFLOW Viewer - Batch Exporting Maps</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44268"/>
		<updated>2025-07-01T03:53:10Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TUFLOW Viewer offers the ability to batch export maps using mesh layers. This tool does not seek to replace other similar tools that may be inherently built in to QGIS, however does offer the ability to:&lt;br /&gt;
* Automatically add plots from the mesh layer to the maps.&lt;br /&gt;
* Automatically load mesh results, plot, and export maps.&lt;br /&gt;
It also offers convenience functionality for adding items (such as a legend, images and scales), however these can also be added manually in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following steps through the process of batch exporting maps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Open the batch export map tool via &#039;&#039;&#039;Export &amp;gt;&amp;gt; Export Maps&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_1a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; In the layout tab, the user has the option to use a &#039;&#039;&#039;Default Layout&#039;&#039;&#039; or a &#039;&#039;&#039;Custom Layout&#039;&#039;&#039;. A custom layout uses a &#039;&#039;&#039;Print Layout Template (.qpt)&#039;&#039;&#039; as an input. The recommended workflow is to:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; initially.&lt;br /&gt;
&amp;lt;li&amp;gt; Customise the layout using the print layout in QGIS.&lt;br /&gt;
&amp;lt;li&amp;gt; Export the print layout as a template (.qpt).&lt;br /&gt;
&amp;lt;li&amp;gt; Use &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; using the created template file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_2a.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; During Step 1 above, the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; lets the user specify some items to add to the layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Page Properties&#039;&#039;&#039; - defines the page size and the orientation of the exported maps. A page border is added by default, however can be turned off or edited in this section.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_3a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend, Scale Bar, North Arrow&#039;&#039;&#039; - the next three items will add common map items. Users can edit the properties of the item and add things like a background and border.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:TUFLOW Viewer_Batch Exporting Maps_4a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Label&#039;&#039;&#039; - Users can also add a custom label with dynamic text. This is useful if the user would like to add information to the map such as the result name, result type, or date the map was produced. This can be done by using the buttons on the right-hand side of the label properties. User&#039;s can also add their own text to the label, however this will be static.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Map Number&#039;&#039;&#039; - will add a map number to the label based on the order that the maps are exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Name&#039;&#039;&#039; - will add the result name to the label (e.g. M03_5m_001).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Type&#039;&#039;&#039; - will add the result type to the label (e.g. Depth - Max).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Date&#039;&#039;&#039; - will add the date the map was exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Workspace Location&#039;&#039;&#039; - will add the workspace path to the label.&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_5a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plots&#039;&#039;&#039; - These are dynamic plot objects that will be added to the maps. To add a plot, the plot must already be available in one of the TUFLOW Viewer plotting windows.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:TUFLOW Viewer_Batch Exporting Maps_6a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add a plot.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the source of the plot lines that will be added (i.e. time series, cross section etc.).&lt;br /&gt;
&amp;lt;li&amp;gt; Select the plotting lines to add to the plot. Users can add more than one line or split the lines onto multiple plots. If the line is on secondary axis, this will be retained unless the need for the secondary axis becomes redundant (e.g. it&#039;s the only line on the plot).&lt;br /&gt;
:* In addition to the plotted result types, users have the option of specifying &#039;&#039;&#039;Active Dataset&#039;&#039;&#039; and &#039;&#039;&#039;Active Dataset [Water Level For Depth]&#039;&#039;&#039;. This will use the plot location, but plot the active scalar result of the map. The latter option will use water level if the active scalar is depth. This option will not work for plotting from a vector layer if the user is using one of the fields for the plot legend entry (this will need to be turned off in the &#039;&#039;&#039;Settings &amp;gt;&amp;gt; Options &amp;gt;&amp;gt; Plotting&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the position. This is only the starting position and can be moved later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the plot properties. When the user clicks this button, TUFLOW Viewer will calculate the min/max for the plot axes. For lines on the cross-section and vertical profile plots, this can take some time as TUFLOW Viewer will need to step through every timestep to find the min/max values.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_7a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plot Title&#039;&#039;&#039; - can be useful to indicate where the plot was extracted from by aligning the title with labels in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis labels&#039;&#039;&#039; - will be populated with default values.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis Limits&#039;&#039;&#039; - will be populated with calculated extents and the extents can be recalculated using &#039;&#039;&#039;Auto Calc&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend&#039;&#039;&#039; - legend can be added or removed. Legend location options are not as extensive as the TUFLOW Viewer itself, most notably &#039;Auto&#039; is not available.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Grid lines&#039;&#039;&#039; - can be toggled on/off.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Figure Size&#039;&#039;&#039; - will default to 100 x 100. This can be changed in the print layout and the plot will be re-rendered prior to the animation to fit the desired size.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; If the plot point/line was drawn by the user (not a vector layer), a graphic object will be added to the appropriate location to indicate the extraction location. This can be toggled off by unchecking this box.&lt;br /&gt;
&amp;lt;li&amp;gt; Label for the graphic object - this can be changed later in the print layout&lt;br /&gt;
&amp;lt;li&amp;gt; Label position relative to the graphic object&lt;br /&gt;
&amp;lt;li&amp;gt; Label properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_8a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Label font settings&lt;br /&gt;
&amp;lt;li&amp;gt; Background and box settings&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Images&#039;&#039;&#039; - Adds static images (e.g. company logo) to the maps. Adding images can also be added / edited later in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_09b.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add an image.&lt;br /&gt;
&amp;lt;li&amp;gt; Browse or copy the file path location of the image to be added.&lt;br /&gt;
&amp;lt;li&amp;gt; Position - this is the starting position and can be changed later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Image properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_10a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Image size options - this can be changed later in the print layout.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Add maps in the &#039;&#039;&#039;Export Maps&#039;&#039;&#039; tab.&lt;br /&gt;
* &#039;&#039;&#039;Result&#039;&#039;&#039; - result file (e.g. the .xmdf file). Results can be chosen from mesh layers that are already loaded into QGIS, or a file path can be specified and the tool will automatically load the mesh when required.&lt;br /&gt;
* &#039;&#039;&#039;Scalar Type&#039;&#039;&#039; - scalar result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Vector Type&#039;&#039;&#039; - vector result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Time&#039;&#039;&#039; - timestep used for the map. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Output&#039;&#039;&#039; - output location of map.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: batch_exporting_maps_18b.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Users can import a list of maps from a csv file using the &#039;&#039;&#039;Import&#039;&#039;&#039; button. This allows users to use a program such as MS Excel to populate the map list.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_11a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited File&#039;&#039;&#039; - csv (or other text file) containing the map list.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited Format&#039;&#039;&#039; - delimited format of the input file.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Header Rows&#039;&#039;&#039; - number of header rows to discard.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Columns&#039;&#039;&#039; - the columns that correspond to the appropriate columns in the tool. If the column names match the names in the tool, the import tool will automatically populate these values.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Once all layout items have been chosen and added, clicking &#039;&#039;&#039;Preview&#039;&#039;&#039; will allow the user to view how it&#039;s going to look.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_12a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Clicking the preview button will open up the layout in the QGIS print layout. In this layout, the user can modify, move, resize, add, and remove items in the layout. The following items must retain their IDs:&lt;br /&gt;
* The dynamic label must have the ID &#039;title&#039;.&lt;br /&gt;
* Dynamic plots will have an ID &#039;plot_&amp;lt;n&amp;gt;&#039; where &amp;lt;n&amp;gt; is the plot index (starting at index 0) based on the order they were added in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
* The graphic objects have an ID corresponding to their ID in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
Some of the useful information and tools in the print layout are:&lt;br /&gt;
* All plot items are listed in the &#039;Items&#039; box and their corresponding ID. Items can be selected in this box to show their properties and allow users to edit them (they can also be selected in the print layout).&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_13a.png]]&lt;br /&gt;
* Item properties can be edited using the &#039;&#039;&#039;Item Properties&#039;&#039;&#039; tab below the &#039;Items&#039; box.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_14a.png]]&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Interactively Edit Map Extent&#039;&#039;&#039; [[File: Interactively_edit_map_extent_icon_01a.png]] to edit the zoom and position of the map in the print layout.&lt;br /&gt;
* When the map zoom and extents are adjusted the graphic objects will no longer be in the correct position, however that&#039;s ok because the next time either the preview is clicked or if the export maps tool is run, they will be placed in their correct position.&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Select / Move Item&#039;&#039;&#039; [[File: select_move_item_icon_01a.png]] to move and resize items in the print layout.&lt;br /&gt;
* Use &#039;&#039;&#039;Add Item&#039;&#039;&#039; menu to add other custom items such as a north arrow or scale bar.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_15a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Save the print layout as a template (.qpt) via the menu &#039;&#039;&#039;Layout &amp;gt;&amp;gt; Save as Template&#039;&#039;&#039;.&amp;lt;Br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_16a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Close the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; radio button in the layout tab in the export animation dialog and browse the saved template file (.qpt).&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_17a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
Note that all the default layout items will be overridden with the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; except for the plots and dynamic text. The plot position and size from the custom layout template will be used, however the plot content will still be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;. Likewise for the dynamic text, the text will be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; The &#039;&#039;&#039;Preview&#039;&#039;&#039; button can be used multiple times to check that the layout is correctly being imported from the template.&lt;br /&gt;
&amp;lt;li&amp;gt; Click &#039;&#039;&#039;Ok&#039;&#039;&#039; to run the tool and export the maps.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Viewer#Exporting_Data.2C_Plots.2C_Maps_and_Animations| Back to TUFLOW Viewer Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_8a.png&amp;diff=44267</id>
		<title>File:TUFLOW Viewer Batch Exporting Maps 8a.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_8a.png&amp;diff=44267"/>
		<updated>2025-07-01T03:52:21Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44266</id>
		<title>TUFLOW Viewer - Batch Exporting Maps</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44266"/>
		<updated>2025-07-01T03:50:04Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TUFLOW Viewer offers the ability to batch export maps using mesh layers. This tool does not seek to replace other similar tools that may be inherently built in to QGIS, however does offer the ability to:&lt;br /&gt;
* Automatically add plots from the mesh layer to the maps.&lt;br /&gt;
* Automatically load mesh results, plot, and export maps.&lt;br /&gt;
It also offers convenience functionality for adding items (such as a legend, images and scales), however these can also be added manually in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following steps through the process of batch exporting maps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Open the batch export map tool via &#039;&#039;&#039;Export &amp;gt;&amp;gt; Export Maps&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_1a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; In the layout tab, the user has the option to use a &#039;&#039;&#039;Default Layout&#039;&#039;&#039; or a &#039;&#039;&#039;Custom Layout&#039;&#039;&#039;. A custom layout uses a &#039;&#039;&#039;Print Layout Template (.qpt)&#039;&#039;&#039; as an input. The recommended workflow is to:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; initially.&lt;br /&gt;
&amp;lt;li&amp;gt; Customise the layout using the print layout in QGIS.&lt;br /&gt;
&amp;lt;li&amp;gt; Export the print layout as a template (.qpt).&lt;br /&gt;
&amp;lt;li&amp;gt; Use &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; using the created template file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_2a.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; During Step 1 above, the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; lets the user specify some items to add to the layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Page Properties&#039;&#039;&#039; - defines the page size and the orientation of the exported maps. A page border is added by default, however can be turned off or edited in this section.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_3a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend, Scale Bar, North Arrow&#039;&#039;&#039; - the next three items will add common map items. Users can edit the properties of the item and add things like a background and border.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:TUFLOW Viewer_Batch Exporting Maps_4a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Label&#039;&#039;&#039; - Users can also add a custom label with dynamic text. This is useful if the user would like to add information to the map such as the result name, result type, or date the map was produced. This can be done by using the buttons on the right-hand side of the label properties. User&#039;s can also add their own text to the label, however this will be static.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Map Number&#039;&#039;&#039; - will add a map number to the label based on the order that the maps are exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Name&#039;&#039;&#039; - will add the result name to the label (e.g. M03_5m_001).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Type&#039;&#039;&#039; - will add the result type to the label (e.g. Depth - Max).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Date&#039;&#039;&#039; - will add the date the map was exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Workspace Location&#039;&#039;&#039; - will add the workspace path to the label.&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_5a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plots&#039;&#039;&#039; - These are dynamic plot objects that will be added to the maps. To add a plot, the plot must already be available in one of the TUFLOW Viewer plotting windows.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:TUFLOW Viewer_Batch Exporting Maps_6a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add a plot.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the source of the plot lines that will be added (i.e. time series, cross section etc.).&lt;br /&gt;
&amp;lt;li&amp;gt; Select the plotting lines to add to the plot. Users can add more than one line or split the lines onto multiple plots. If the line is on secondary axis, this will be retained unless the need for the secondary axis becomes redundant (e.g. it&#039;s the only line on the plot).&lt;br /&gt;
:* In addition to the plotted result types, users have the option of specifying &#039;&#039;&#039;Active Dataset&#039;&#039;&#039; and &#039;&#039;&#039;Active Dataset [Water Level For Depth]&#039;&#039;&#039;. This will use the plot location, but plot the active scalar result of the map. The latter option will use water level if the active scalar is depth. This option will not work for plotting from a vector layer if the user is using one of the fields for the plot legend entry (this will need to be turned off in the &#039;&#039;&#039;Settings &amp;gt;&amp;gt; Options &amp;gt;&amp;gt; Plotting&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the position. This is only the starting position and can be moved later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the plot properties. When the user clicks this button, TUFLOW Viewer will calculate the min/max for the plot axes. For lines on the cross-section and vertical profile plots, this can take some time as TUFLOW Viewer will need to step through every timestep to find the min/max values.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_7a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plot Title&#039;&#039;&#039; - can be useful to indicate where the plot was extracted from by aligning the title with labels in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis labels&#039;&#039;&#039; - will be populated with default values.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis Limits&#039;&#039;&#039; - will be populated with calculated extents and the extents can be recalculated using &#039;&#039;&#039;Auto Calc&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend&#039;&#039;&#039; - legend can be added or removed. Legend location options are not as extensive as the TUFLOW Viewer itself, most notably &#039;Auto&#039; is not available.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Grid lines&#039;&#039;&#039; - can be toggled on/off.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Figure Size&#039;&#039;&#039; - will default to 100 x 100. This can be changed in the print layout and the plot will be re-rendered prior to the animation to fit the desired size.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; If the plot point/line was drawn by the user (not a vector layer), a graphic object will be added to the appropriate location to indicate the extraction location. This can be toggled off by unchecking this box.&lt;br /&gt;
&amp;lt;li&amp;gt; Label for the graphic object - this can be changed later in the print layout&lt;br /&gt;
&amp;lt;li&amp;gt; Label position relative to the graphic object&lt;br /&gt;
&amp;lt;li&amp;gt; Label properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_08a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Label font settings&lt;br /&gt;
&amp;lt;li&amp;gt; Background and box settings&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Images&#039;&#039;&#039; - Adds static images (e.g. company logo) to the maps. Adding images can also be added / edited later in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_09b.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add an image.&lt;br /&gt;
&amp;lt;li&amp;gt; Browse or copy the file path location of the image to be added.&lt;br /&gt;
&amp;lt;li&amp;gt; Position - this is the starting position and can be changed later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Image properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_10a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Image size options - this can be changed later in the print layout.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Add maps in the &#039;&#039;&#039;Export Maps&#039;&#039;&#039; tab.&lt;br /&gt;
* &#039;&#039;&#039;Result&#039;&#039;&#039; - result file (e.g. the .xmdf file). Results can be chosen from mesh layers that are already loaded into QGIS, or a file path can be specified and the tool will automatically load the mesh when required.&lt;br /&gt;
* &#039;&#039;&#039;Scalar Type&#039;&#039;&#039; - scalar result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Vector Type&#039;&#039;&#039; - vector result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Time&#039;&#039;&#039; - timestep used for the map. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Output&#039;&#039;&#039; - output location of map.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: batch_exporting_maps_18b.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Users can import a list of maps from a csv file using the &#039;&#039;&#039;Import&#039;&#039;&#039; button. This allows users to use a program such as MS Excel to populate the map list.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_11a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited File&#039;&#039;&#039; - csv (or other text file) containing the map list.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited Format&#039;&#039;&#039; - delimited format of the input file.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Header Rows&#039;&#039;&#039; - number of header rows to discard.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Columns&#039;&#039;&#039; - the columns that correspond to the appropriate columns in the tool. If the column names match the names in the tool, the import tool will automatically populate these values.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Once all layout items have been chosen and added, clicking &#039;&#039;&#039;Preview&#039;&#039;&#039; will allow the user to view how it&#039;s going to look.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_12a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Clicking the preview button will open up the layout in the QGIS print layout. In this layout, the user can modify, move, resize, add, and remove items in the layout. The following items must retain their IDs:&lt;br /&gt;
* The dynamic label must have the ID &#039;title&#039;.&lt;br /&gt;
* Dynamic plots will have an ID &#039;plot_&amp;lt;n&amp;gt;&#039; where &amp;lt;n&amp;gt; is the plot index (starting at index 0) based on the order they were added in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
* The graphic objects have an ID corresponding to their ID in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
Some of the useful information and tools in the print layout are:&lt;br /&gt;
* All plot items are listed in the &#039;Items&#039; box and their corresponding ID. Items can be selected in this box to show their properties and allow users to edit them (they can also be selected in the print layout).&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_13a.png]]&lt;br /&gt;
* Item properties can be edited using the &#039;&#039;&#039;Item Properties&#039;&#039;&#039; tab below the &#039;Items&#039; box.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_14a.png]]&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Interactively Edit Map Extent&#039;&#039;&#039; [[File: Interactively_edit_map_extent_icon_01a.png]] to edit the zoom and position of the map in the print layout.&lt;br /&gt;
* When the map zoom and extents are adjusted the graphic objects will no longer be in the correct position, however that&#039;s ok because the next time either the preview is clicked or if the export maps tool is run, they will be placed in their correct position.&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Select / Move Item&#039;&#039;&#039; [[File: select_move_item_icon_01a.png]] to move and resize items in the print layout.&lt;br /&gt;
* Use &#039;&#039;&#039;Add Item&#039;&#039;&#039; menu to add other custom items such as a north arrow or scale bar.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_15a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Save the print layout as a template (.qpt) via the menu &#039;&#039;&#039;Layout &amp;gt;&amp;gt; Save as Template&#039;&#039;&#039;.&amp;lt;Br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_16a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Close the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; radio button in the layout tab in the export animation dialog and browse the saved template file (.qpt).&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_17a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
Note that all the default layout items will be overridden with the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; except for the plots and dynamic text. The plot position and size from the custom layout template will be used, however the plot content will still be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;. Likewise for the dynamic text, the text will be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; The &#039;&#039;&#039;Preview&#039;&#039;&#039; button can be used multiple times to check that the layout is correctly being imported from the template.&lt;br /&gt;
&amp;lt;li&amp;gt; Click &#039;&#039;&#039;Ok&#039;&#039;&#039; to run the tool and export the maps.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Viewer#Exporting_Data.2C_Plots.2C_Maps_and_Animations| Back to TUFLOW Viewer Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_7a.png&amp;diff=44265</id>
		<title>File:TUFLOW Viewer Batch Exporting Maps 7a.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_7a.png&amp;diff=44265"/>
		<updated>2025-07-01T03:49:08Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44264</id>
		<title>TUFLOW Viewer - Batch Exporting Maps</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44264"/>
		<updated>2025-07-01T03:32:14Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TUFLOW Viewer offers the ability to batch export maps using mesh layers. This tool does not seek to replace other similar tools that may be inherently built in to QGIS, however does offer the ability to:&lt;br /&gt;
* Automatically add plots from the mesh layer to the maps.&lt;br /&gt;
* Automatically load mesh results, plot, and export maps.&lt;br /&gt;
It also offers convenience functionality for adding items (such as a legend, images and scales), however these can also be added manually in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following steps through the process of batch exporting maps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Open the batch export map tool via &#039;&#039;&#039;Export &amp;gt;&amp;gt; Export Maps&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_1a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; In the layout tab, the user has the option to use a &#039;&#039;&#039;Default Layout&#039;&#039;&#039; or a &#039;&#039;&#039;Custom Layout&#039;&#039;&#039;. A custom layout uses a &#039;&#039;&#039;Print Layout Template (.qpt)&#039;&#039;&#039; as an input. The recommended workflow is to:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; initially.&lt;br /&gt;
&amp;lt;li&amp;gt; Customise the layout using the print layout in QGIS.&lt;br /&gt;
&amp;lt;li&amp;gt; Export the print layout as a template (.qpt).&lt;br /&gt;
&amp;lt;li&amp;gt; Use &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; using the created template file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_2a.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; During Step 1 above, the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; lets the user specify some items to add to the layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Page Properties&#039;&#039;&#039; - defines the page size and the orientation of the exported maps. A page border is added by default, however can be turned off or edited in this section.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_3a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend, Scale Bar, North Arrow&#039;&#039;&#039; - the next three items will add common map items. Users can edit the properties of the item and add things like a background and border.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:TUFLOW Viewer_Batch Exporting Maps_4a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Label&#039;&#039;&#039; - Users can also add a custom label with dynamic text. This is useful if the user would like to add information to the map such as the result name, result type, or date the map was produced. This can be done by using the buttons on the right-hand side of the label properties. User&#039;s can also add their own text to the label, however this will be static.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Map Number&#039;&#039;&#039; - will add a map number to the label based on the order that the maps are exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Name&#039;&#039;&#039; - will add the result name to the label (e.g. M03_5m_001).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Type&#039;&#039;&#039; - will add the result type to the label (e.g. Depth - Max).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Date&#039;&#039;&#039; - will add the date the map was exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Workspace Location&#039;&#039;&#039; - will add the workspace path to the label.&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_5a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plots&#039;&#039;&#039; - These are dynamic plot objects that will be added to the maps. To add a plot, the plot must already be available in one of the TUFLOW Viewer plotting windows.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:TUFLOW Viewer_Batch Exporting Maps_6a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add a plot.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the source of the plot lines that will be added (i.e. time series, cross section etc.).&lt;br /&gt;
&amp;lt;li&amp;gt; Select the plotting lines to add to the plot. Users can add more than one line or split the lines onto multiple plots. If the line is on secondary axis, this will be retained unless the need for the secondary axis becomes redundant (e.g. it&#039;s the only line on the plot).&lt;br /&gt;
:* In addition to the plotted result types, users have the option of specifying &#039;&#039;&#039;Active Dataset&#039;&#039;&#039; and &#039;&#039;&#039;Active Dataset [Water Level For Depth]&#039;&#039;&#039;. This will use the plot location, but plot the active scalar result of the map. The latter option will use water level if the active scalar is depth. This option will not work for plotting from a vector layer if the user is using one of the fields for the plot legend entry (this will need to be turned off in the &#039;&#039;&#039;Settings &amp;gt;&amp;gt; Options &amp;gt;&amp;gt; Plotting&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the position. This is only the starting position and can be moved later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the plot properties. When the user clicks this button, TUFLOW Viewer will calculate the min/max for the plot axes. For lines on the cross-section and vertical profile plots, this can take some time as TUFLOW Viewer will need to step through every timestep to find the min/max values.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_07a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plot Title&#039;&#039;&#039; - can be useful to indicate where the plot was extracted from by aligning the title with labels in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis labels&#039;&#039;&#039; - will be populated with default values.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis Limits&#039;&#039;&#039; - will be populated with calculated extents and the extents can be recalculated using &#039;&#039;&#039;Auto Calc&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend&#039;&#039;&#039; - legend can be added or removed. Legend location options are not as extensive as the TUFLOW Viewer itself, most notably &#039;Auto&#039; is not available.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Grid lines&#039;&#039;&#039; - can be toggled on/off.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Figure Size&#039;&#039;&#039; - will default to 100 x 100. This can be changed in the print layout and the plot will be re-rendered prior to the animation to fit the desired size.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; If the plot point/line was drawn by the user (not a vector layer), a graphic object will be added to the appropriate location to indicate the extraction location. This can be toggled off by unchecking this box.&lt;br /&gt;
&amp;lt;li&amp;gt; Label for the graphic object - this can be changed later in the print layout&lt;br /&gt;
&amp;lt;li&amp;gt; Label position relative to the graphic object&lt;br /&gt;
&amp;lt;li&amp;gt; Label properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_08a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Label font settings&lt;br /&gt;
&amp;lt;li&amp;gt; Background and box settings&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Images&#039;&#039;&#039; - Adds static images (e.g. company logo) to the maps. Adding images can also be added / edited later in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_09b.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add an image.&lt;br /&gt;
&amp;lt;li&amp;gt; Browse or copy the file path location of the image to be added.&lt;br /&gt;
&amp;lt;li&amp;gt; Position - this is the starting position and can be changed later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Image properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_10a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Image size options - this can be changed later in the print layout.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Add maps in the &#039;&#039;&#039;Export Maps&#039;&#039;&#039; tab.&lt;br /&gt;
* &#039;&#039;&#039;Result&#039;&#039;&#039; - result file (e.g. the .xmdf file). Results can be chosen from mesh layers that are already loaded into QGIS, or a file path can be specified and the tool will automatically load the mesh when required.&lt;br /&gt;
* &#039;&#039;&#039;Scalar Type&#039;&#039;&#039; - scalar result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Vector Type&#039;&#039;&#039; - vector result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Time&#039;&#039;&#039; - timestep used for the map. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Output&#039;&#039;&#039; - output location of map.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: batch_exporting_maps_18b.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Users can import a list of maps from a csv file using the &#039;&#039;&#039;Import&#039;&#039;&#039; button. This allows users to use a program such as MS Excel to populate the map list.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_11a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited File&#039;&#039;&#039; - csv (or other text file) containing the map list.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited Format&#039;&#039;&#039; - delimited format of the input file.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Header Rows&#039;&#039;&#039; - number of header rows to discard.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Columns&#039;&#039;&#039; - the columns that correspond to the appropriate columns in the tool. If the column names match the names in the tool, the import tool will automatically populate these values.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Once all layout items have been chosen and added, clicking &#039;&#039;&#039;Preview&#039;&#039;&#039; will allow the user to view how it&#039;s going to look.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_12a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Clicking the preview button will open up the layout in the QGIS print layout. In this layout, the user can modify, move, resize, add, and remove items in the layout. The following items must retain their IDs:&lt;br /&gt;
* The dynamic label must have the ID &#039;title&#039;.&lt;br /&gt;
* Dynamic plots will have an ID &#039;plot_&amp;lt;n&amp;gt;&#039; where &amp;lt;n&amp;gt; is the plot index (starting at index 0) based on the order they were added in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
* The graphic objects have an ID corresponding to their ID in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
Some of the useful information and tools in the print layout are:&lt;br /&gt;
* All plot items are listed in the &#039;Items&#039; box and their corresponding ID. Items can be selected in this box to show their properties and allow users to edit them (they can also be selected in the print layout).&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_13a.png]]&lt;br /&gt;
* Item properties can be edited using the &#039;&#039;&#039;Item Properties&#039;&#039;&#039; tab below the &#039;Items&#039; box.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_14a.png]]&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Interactively Edit Map Extent&#039;&#039;&#039; [[File: Interactively_edit_map_extent_icon_01a.png]] to edit the zoom and position of the map in the print layout.&lt;br /&gt;
* When the map zoom and extents are adjusted the graphic objects will no longer be in the correct position, however that&#039;s ok because the next time either the preview is clicked or if the export maps tool is run, they will be placed in their correct position.&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Select / Move Item&#039;&#039;&#039; [[File: select_move_item_icon_01a.png]] to move and resize items in the print layout.&lt;br /&gt;
* Use &#039;&#039;&#039;Add Item&#039;&#039;&#039; menu to add other custom items such as a north arrow or scale bar.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_15a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Save the print layout as a template (.qpt) via the menu &#039;&#039;&#039;Layout &amp;gt;&amp;gt; Save as Template&#039;&#039;&#039;.&amp;lt;Br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_16a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Close the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; radio button in the layout tab in the export animation dialog and browse the saved template file (.qpt).&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_17a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
Note that all the default layout items will be overridden with the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; except for the plots and dynamic text. The plot position and size from the custom layout template will be used, however the plot content will still be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;. Likewise for the dynamic text, the text will be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; The &#039;&#039;&#039;Preview&#039;&#039;&#039; button can be used multiple times to check that the layout is correctly being imported from the template.&lt;br /&gt;
&amp;lt;li&amp;gt; Click &#039;&#039;&#039;Ok&#039;&#039;&#039; to run the tool and export the maps.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Viewer#Exporting_Data.2C_Plots.2C_Maps_and_Animations| Back to TUFLOW Viewer Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_6a.png&amp;diff=44263</id>
		<title>File:TUFLOW Viewer Batch Exporting Maps 6a.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_6a.png&amp;diff=44263"/>
		<updated>2025-07-01T03:31:29Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44262</id>
		<title>TUFLOW Viewer - Batch Exporting Maps</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44262"/>
		<updated>2025-07-01T03:17:27Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TUFLOW Viewer offers the ability to batch export maps using mesh layers. This tool does not seek to replace other similar tools that may be inherently built in to QGIS, however does offer the ability to:&lt;br /&gt;
* Automatically add plots from the mesh layer to the maps.&lt;br /&gt;
* Automatically load mesh results, plot, and export maps.&lt;br /&gt;
It also offers convenience functionality for adding items (such as a legend, images and scales), however these can also be added manually in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following steps through the process of batch exporting maps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Open the batch export map tool via &#039;&#039;&#039;Export &amp;gt;&amp;gt; Export Maps&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_1a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; In the layout tab, the user has the option to use a &#039;&#039;&#039;Default Layout&#039;&#039;&#039; or a &#039;&#039;&#039;Custom Layout&#039;&#039;&#039;. A custom layout uses a &#039;&#039;&#039;Print Layout Template (.qpt)&#039;&#039;&#039; as an input. The recommended workflow is to:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; initially.&lt;br /&gt;
&amp;lt;li&amp;gt; Customise the layout using the print layout in QGIS.&lt;br /&gt;
&amp;lt;li&amp;gt; Export the print layout as a template (.qpt).&lt;br /&gt;
&amp;lt;li&amp;gt; Use &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; using the created template file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_2a.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; During Step 1 above, the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; lets the user specify some items to add to the layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Page Properties&#039;&#039;&#039; - defines the page size and the orientation of the exported maps. A page border is added by default, however can be turned off or edited in this section.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_3a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend, Scale Bar, North Arrow&#039;&#039;&#039; - the next three items will add common map items. Users can edit the properties of the item and add things like a background and border.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:TUFLOW Viewer_Batch Exporting Maps_4a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Label&#039;&#039;&#039; - Users can also add a custom label with dynamic text. This is useful if the user would like to add information to the map such as the result name, result type, or date the map was produced. This can be done by using the buttons on the right-hand side of the label properties. User&#039;s can also add their own text to the label, however this will be static.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Map Number&#039;&#039;&#039; - will add a map number to the label based on the order that the maps are exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Name&#039;&#039;&#039; - will add the result name to the label (e.g. M03_5m_001).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Type&#039;&#039;&#039; - will add the result type to the label (e.g. Depth - Max).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Date&#039;&#039;&#039; - will add the date the map was exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Workspace Location&#039;&#039;&#039; - will add the workspace path to the label.&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_5a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plots&#039;&#039;&#039; - These are dynamic plot objects that will be added to the maps. To add a plot, the plot must already be available in one of the TUFLOW Viewer plotting windows.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_06b.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add a plot.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the source of the plot lines that will be added (i.e. time series, cross section etc.).&lt;br /&gt;
&amp;lt;li&amp;gt; Select the plotting lines to add to the plot. Users can add more than one line or split the lines onto multiple plots. If the line is on secondary axis, this will be retained unless the need for the secondary axis becomes redundant (e.g. it&#039;s the only line on the plot).&lt;br /&gt;
:* In addition to the plotted result types, users have the option of specifying &#039;&#039;&#039;Active Dataset&#039;&#039;&#039; and &#039;&#039;&#039;Active Dataset [Water Level For Depth]&#039;&#039;&#039;. This will use the plot location, but plot the active scalar result of the map. The latter option will use water level if the active scalar is depth. This option will not work for plotting from a vector layer if the user is using one of the fields for the plot legend entry (this will need to be turned off in the &#039;&#039;&#039;Settings &amp;gt;&amp;gt; Options &amp;gt;&amp;gt; Plotting&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the position. This is only the starting position and can be moved later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the plot properties. When the user clicks this button, TUFLOW Viewer will calculate the min/max for the plot axes. For lines on the cross-section and vertical profile plots, this can take some time as TUFLOW Viewer will need to step through every timestep to find the min/max values.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_07a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plot Title&#039;&#039;&#039; - can be useful to indicate where the plot was extracted from by aligning the title with labels in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis labels&#039;&#039;&#039; - will be populated with default values.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis Limits&#039;&#039;&#039; - will be populated with calculated extents and the extents can be recalculated using &#039;&#039;&#039;Auto Calc&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend&#039;&#039;&#039; - legend can be added or removed. Legend location options are not as extensive as the TUFLOW Viewer itself, most notably &#039;Auto&#039; is not available.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Grid lines&#039;&#039;&#039; - can be toggled on/off.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Figure Size&#039;&#039;&#039; - will default to 100 x 100. This can be changed in the print layout and the plot will be re-rendered prior to the animation to fit the desired size.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; If the plot point/line was drawn by the user (not a vector layer), a graphic object will be added to the appropriate location to indicate the extraction location. This can be toggled off by unchecking this box.&lt;br /&gt;
&amp;lt;li&amp;gt; Label for the graphic object - this can be changed later in the print layout&lt;br /&gt;
&amp;lt;li&amp;gt; Label position relative to the graphic object&lt;br /&gt;
&amp;lt;li&amp;gt; Label properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_08a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Label font settings&lt;br /&gt;
&amp;lt;li&amp;gt; Background and box settings&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Images&#039;&#039;&#039; - Adds static images (e.g. company logo) to the maps. Adding images can also be added / edited later in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_09b.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add an image.&lt;br /&gt;
&amp;lt;li&amp;gt; Browse or copy the file path location of the image to be added.&lt;br /&gt;
&amp;lt;li&amp;gt; Position - this is the starting position and can be changed later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Image properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_10a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Image size options - this can be changed later in the print layout.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Add maps in the &#039;&#039;&#039;Export Maps&#039;&#039;&#039; tab.&lt;br /&gt;
* &#039;&#039;&#039;Result&#039;&#039;&#039; - result file (e.g. the .xmdf file). Results can be chosen from mesh layers that are already loaded into QGIS, or a file path can be specified and the tool will automatically load the mesh when required.&lt;br /&gt;
* &#039;&#039;&#039;Scalar Type&#039;&#039;&#039; - scalar result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Vector Type&#039;&#039;&#039; - vector result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Time&#039;&#039;&#039; - timestep used for the map. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Output&#039;&#039;&#039; - output location of map.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: batch_exporting_maps_18b.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Users can import a list of maps from a csv file using the &#039;&#039;&#039;Import&#039;&#039;&#039; button. This allows users to use a program such as MS Excel to populate the map list.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_11a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited File&#039;&#039;&#039; - csv (or other text file) containing the map list.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited Format&#039;&#039;&#039; - delimited format of the input file.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Header Rows&#039;&#039;&#039; - number of header rows to discard.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Columns&#039;&#039;&#039; - the columns that correspond to the appropriate columns in the tool. If the column names match the names in the tool, the import tool will automatically populate these values.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Once all layout items have been chosen and added, clicking &#039;&#039;&#039;Preview&#039;&#039;&#039; will allow the user to view how it&#039;s going to look.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_12a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Clicking the preview button will open up the layout in the QGIS print layout. In this layout, the user can modify, move, resize, add, and remove items in the layout. The following items must retain their IDs:&lt;br /&gt;
* The dynamic label must have the ID &#039;title&#039;.&lt;br /&gt;
* Dynamic plots will have an ID &#039;plot_&amp;lt;n&amp;gt;&#039; where &amp;lt;n&amp;gt; is the plot index (starting at index 0) based on the order they were added in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
* The graphic objects have an ID corresponding to their ID in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
Some of the useful information and tools in the print layout are:&lt;br /&gt;
* All plot items are listed in the &#039;Items&#039; box and their corresponding ID. Items can be selected in this box to show their properties and allow users to edit them (they can also be selected in the print layout).&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_13a.png]]&lt;br /&gt;
* Item properties can be edited using the &#039;&#039;&#039;Item Properties&#039;&#039;&#039; tab below the &#039;Items&#039; box.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_14a.png]]&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Interactively Edit Map Extent&#039;&#039;&#039; [[File: Interactively_edit_map_extent_icon_01a.png]] to edit the zoom and position of the map in the print layout.&lt;br /&gt;
* When the map zoom and extents are adjusted the graphic objects will no longer be in the correct position, however that&#039;s ok because the next time either the preview is clicked or if the export maps tool is run, they will be placed in their correct position.&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Select / Move Item&#039;&#039;&#039; [[File: select_move_item_icon_01a.png]] to move and resize items in the print layout.&lt;br /&gt;
* Use &#039;&#039;&#039;Add Item&#039;&#039;&#039; menu to add other custom items such as a north arrow or scale bar.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_15a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Save the print layout as a template (.qpt) via the menu &#039;&#039;&#039;Layout &amp;gt;&amp;gt; Save as Template&#039;&#039;&#039;.&amp;lt;Br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_16a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Close the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; radio button in the layout tab in the export animation dialog and browse the saved template file (.qpt).&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_17a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
Note that all the default layout items will be overridden with the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; except for the plots and dynamic text. The plot position and size from the custom layout template will be used, however the plot content will still be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;. Likewise for the dynamic text, the text will be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; The &#039;&#039;&#039;Preview&#039;&#039;&#039; button can be used multiple times to check that the layout is correctly being imported from the template.&lt;br /&gt;
&amp;lt;li&amp;gt; Click &#039;&#039;&#039;Ok&#039;&#039;&#039; to run the tool and export the maps.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Viewer#Exporting_Data.2C_Plots.2C_Maps_and_Animations| Back to TUFLOW Viewer Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_5a.png&amp;diff=44261</id>
		<title>File:TUFLOW Viewer Batch Exporting Maps 5a.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_5a.png&amp;diff=44261"/>
		<updated>2025-07-01T03:16:36Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44260</id>
		<title>TUFLOW Viewer - Batch Exporting Maps</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44260"/>
		<updated>2025-07-01T03:15:25Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TUFLOW Viewer offers the ability to batch export maps using mesh layers. This tool does not seek to replace other similar tools that may be inherently built in to QGIS, however does offer the ability to:&lt;br /&gt;
* Automatically add plots from the mesh layer to the maps.&lt;br /&gt;
* Automatically load mesh results, plot, and export maps.&lt;br /&gt;
It also offers convenience functionality for adding items (such as a legend, images and scales), however these can also be added manually in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following steps through the process of batch exporting maps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Open the batch export map tool via &#039;&#039;&#039;Export &amp;gt;&amp;gt; Export Maps&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_1a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; In the layout tab, the user has the option to use a &#039;&#039;&#039;Default Layout&#039;&#039;&#039; or a &#039;&#039;&#039;Custom Layout&#039;&#039;&#039;. A custom layout uses a &#039;&#039;&#039;Print Layout Template (.qpt)&#039;&#039;&#039; as an input. The recommended workflow is to:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; initially.&lt;br /&gt;
&amp;lt;li&amp;gt; Customise the layout using the print layout in QGIS.&lt;br /&gt;
&amp;lt;li&amp;gt; Export the print layout as a template (.qpt).&lt;br /&gt;
&amp;lt;li&amp;gt; Use &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; using the created template file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_2a.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; During Step 1 above, the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; lets the user specify some items to add to the layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Page Properties&#039;&#039;&#039; - defines the page size and the orientation of the exported maps. A page border is added by default, however can be turned off or edited in this section.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_3a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend, Scale Bar, North Arrow&#039;&#039;&#039; - the next three items will add common map items. Users can edit the properties of the item and add things like a background and border.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:TUFLOW Viewer_Batch Exporting Maps_4a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Label&#039;&#039;&#039; - Users can also add a custom label with dynamic text. This is useful if the user would like to add information to the map such as the result name, result type, or date the map was produced. This can be done by using the buttons on the right-hand side of the label properties. User&#039;s can also add their own text to the label, however this will be static.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Map Number&#039;&#039;&#039; - will add a map number to the label based on the order that the maps are exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Name&#039;&#039;&#039; - will add the result name to the label (e.g. M03_5m_001).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Type&#039;&#039;&#039; - will add the result type to the label (e.g. Depth - Max).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Date&#039;&#039;&#039; - will add the date the map was exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Workspace Location&#039;&#039;&#039; - will add the workspace path to the label.&lt;br /&gt;
[[File: Batch_exporting_maps_05a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plots&#039;&#039;&#039; - These are dynamic plot objects that will be added to the maps. To add a plot, the plot must already be available in one of the TUFLOW Viewer plotting windows.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_06b.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add a plot.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the source of the plot lines that will be added (i.e. time series, cross section etc.).&lt;br /&gt;
&amp;lt;li&amp;gt; Select the plotting lines to add to the plot. Users can add more than one line or split the lines onto multiple plots. If the line is on secondary axis, this will be retained unless the need for the secondary axis becomes redundant (e.g. it&#039;s the only line on the plot).&lt;br /&gt;
:* In addition to the plotted result types, users have the option of specifying &#039;&#039;&#039;Active Dataset&#039;&#039;&#039; and &#039;&#039;&#039;Active Dataset [Water Level For Depth]&#039;&#039;&#039;. This will use the plot location, but plot the active scalar result of the map. The latter option will use water level if the active scalar is depth. This option will not work for plotting from a vector layer if the user is using one of the fields for the plot legend entry (this will need to be turned off in the &#039;&#039;&#039;Settings &amp;gt;&amp;gt; Options &amp;gt;&amp;gt; Plotting&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the position. This is only the starting position and can be moved later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the plot properties. When the user clicks this button, TUFLOW Viewer will calculate the min/max for the plot axes. For lines on the cross-section and vertical profile plots, this can take some time as TUFLOW Viewer will need to step through every timestep to find the min/max values.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_07a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plot Title&#039;&#039;&#039; - can be useful to indicate where the plot was extracted from by aligning the title with labels in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis labels&#039;&#039;&#039; - will be populated with default values.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis Limits&#039;&#039;&#039; - will be populated with calculated extents and the extents can be recalculated using &#039;&#039;&#039;Auto Calc&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend&#039;&#039;&#039; - legend can be added or removed. Legend location options are not as extensive as the TUFLOW Viewer itself, most notably &#039;Auto&#039; is not available.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Grid lines&#039;&#039;&#039; - can be toggled on/off.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Figure Size&#039;&#039;&#039; - will default to 100 x 100. This can be changed in the print layout and the plot will be re-rendered prior to the animation to fit the desired size.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; If the plot point/line was drawn by the user (not a vector layer), a graphic object will be added to the appropriate location to indicate the extraction location. This can be toggled off by unchecking this box.&lt;br /&gt;
&amp;lt;li&amp;gt; Label for the graphic object - this can be changed later in the print layout&lt;br /&gt;
&amp;lt;li&amp;gt; Label position relative to the graphic object&lt;br /&gt;
&amp;lt;li&amp;gt; Label properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_08a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Label font settings&lt;br /&gt;
&amp;lt;li&amp;gt; Background and box settings&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Images&#039;&#039;&#039; - Adds static images (e.g. company logo) to the maps. Adding images can also be added / edited later in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_09b.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add an image.&lt;br /&gt;
&amp;lt;li&amp;gt; Browse or copy the file path location of the image to be added.&lt;br /&gt;
&amp;lt;li&amp;gt; Position - this is the starting position and can be changed later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Image properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_10a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Image size options - this can be changed later in the print layout.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Add maps in the &#039;&#039;&#039;Export Maps&#039;&#039;&#039; tab.&lt;br /&gt;
* &#039;&#039;&#039;Result&#039;&#039;&#039; - result file (e.g. the .xmdf file). Results can be chosen from mesh layers that are already loaded into QGIS, or a file path can be specified and the tool will automatically load the mesh when required.&lt;br /&gt;
* &#039;&#039;&#039;Scalar Type&#039;&#039;&#039; - scalar result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Vector Type&#039;&#039;&#039; - vector result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Time&#039;&#039;&#039; - timestep used for the map. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Output&#039;&#039;&#039; - output location of map.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: batch_exporting_maps_18b.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Users can import a list of maps from a csv file using the &#039;&#039;&#039;Import&#039;&#039;&#039; button. This allows users to use a program such as MS Excel to populate the map list.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_11a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited File&#039;&#039;&#039; - csv (or other text file) containing the map list.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited Format&#039;&#039;&#039; - delimited format of the input file.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Header Rows&#039;&#039;&#039; - number of header rows to discard.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Columns&#039;&#039;&#039; - the columns that correspond to the appropriate columns in the tool. If the column names match the names in the tool, the import tool will automatically populate these values.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Once all layout items have been chosen and added, clicking &#039;&#039;&#039;Preview&#039;&#039;&#039; will allow the user to view how it&#039;s going to look.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_12a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Clicking the preview button will open up the layout in the QGIS print layout. In this layout, the user can modify, move, resize, add, and remove items in the layout. The following items must retain their IDs:&lt;br /&gt;
* The dynamic label must have the ID &#039;title&#039;.&lt;br /&gt;
* Dynamic plots will have an ID &#039;plot_&amp;lt;n&amp;gt;&#039; where &amp;lt;n&amp;gt; is the plot index (starting at index 0) based on the order they were added in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
* The graphic objects have an ID corresponding to their ID in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
Some of the useful information and tools in the print layout are:&lt;br /&gt;
* All plot items are listed in the &#039;Items&#039; box and their corresponding ID. Items can be selected in this box to show their properties and allow users to edit them (they can also be selected in the print layout).&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_13a.png]]&lt;br /&gt;
* Item properties can be edited using the &#039;&#039;&#039;Item Properties&#039;&#039;&#039; tab below the &#039;Items&#039; box.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_14a.png]]&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Interactively Edit Map Extent&#039;&#039;&#039; [[File: Interactively_edit_map_extent_icon_01a.png]] to edit the zoom and position of the map in the print layout.&lt;br /&gt;
* When the map zoom and extents are adjusted the graphic objects will no longer be in the correct position, however that&#039;s ok because the next time either the preview is clicked or if the export maps tool is run, they will be placed in their correct position.&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Select / Move Item&#039;&#039;&#039; [[File: select_move_item_icon_01a.png]] to move and resize items in the print layout.&lt;br /&gt;
* Use &#039;&#039;&#039;Add Item&#039;&#039;&#039; menu to add other custom items such as a north arrow or scale bar.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_15a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Save the print layout as a template (.qpt) via the menu &#039;&#039;&#039;Layout &amp;gt;&amp;gt; Save as Template&#039;&#039;&#039;.&amp;lt;Br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_16a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Close the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; radio button in the layout tab in the export animation dialog and browse the saved template file (.qpt).&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_17a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
Note that all the default layout items will be overridden with the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; except for the plots and dynamic text. The plot position and size from the custom layout template will be used, however the plot content will still be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;. Likewise for the dynamic text, the text will be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; The &#039;&#039;&#039;Preview&#039;&#039;&#039; button can be used multiple times to check that the layout is correctly being imported from the template.&lt;br /&gt;
&amp;lt;li&amp;gt; Click &#039;&#039;&#039;Ok&#039;&#039;&#039; to run the tool and export the maps.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Viewer#Exporting_Data.2C_Plots.2C_Maps_and_Animations| Back to TUFLOW Viewer Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_4a.png&amp;diff=44259</id>
		<title>File:TUFLOW Viewer Batch Exporting Maps 4a.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_4a.png&amp;diff=44259"/>
		<updated>2025-07-01T03:14:38Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_3a.png&amp;diff=44258</id>
		<title>File:TUFLOW Viewer Batch Exporting Maps 3a.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_3a.png&amp;diff=44258"/>
		<updated>2025-07-01T03:13:40Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44257</id>
		<title>TUFLOW Viewer - Batch Exporting Maps</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44257"/>
		<updated>2025-07-01T03:13:19Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TUFLOW Viewer offers the ability to batch export maps using mesh layers. This tool does not seek to replace other similar tools that may be inherently built in to QGIS, however does offer the ability to:&lt;br /&gt;
* Automatically add plots from the mesh layer to the maps.&lt;br /&gt;
* Automatically load mesh results, plot, and export maps.&lt;br /&gt;
It also offers convenience functionality for adding items (such as a legend, images and scales), however these can also be added manually in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following steps through the process of batch exporting maps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Open the batch export map tool via &#039;&#039;&#039;Export &amp;gt;&amp;gt; Export Maps&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_1a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; In the layout tab, the user has the option to use a &#039;&#039;&#039;Default Layout&#039;&#039;&#039; or a &#039;&#039;&#039;Custom Layout&#039;&#039;&#039;. A custom layout uses a &#039;&#039;&#039;Print Layout Template (.qpt)&#039;&#039;&#039; as an input. The recommended workflow is to:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; initially.&lt;br /&gt;
&amp;lt;li&amp;gt; Customise the layout using the print layout in QGIS.&lt;br /&gt;
&amp;lt;li&amp;gt; Export the print layout as a template (.qpt).&lt;br /&gt;
&amp;lt;li&amp;gt; Use &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; using the created template file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_2a.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; During Step 1 above, the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; lets the user specify some items to add to the layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Page Properties&#039;&#039;&#039; - defines the page size and the orientation of the exported maps. A page border is added by default, however can be turned off or edited in this section.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_03a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend, Scale Bar, North Arrow&#039;&#039;&#039; - the next three items will add common map items. Users can edit the properties of the item and add things like a background and border.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Batch_exporting_maps_04a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Label&#039;&#039;&#039; - Users can also add a custom label with dynamic text. This is useful if the user would like to add information to the map such as the result name, result type, or date the map was produced. This can be done by using the buttons on the right-hand side of the label properties. User&#039;s can also add their own text to the label, however this will be static.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Map Number&#039;&#039;&#039; - will add a map number to the label based on the order that the maps are exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Name&#039;&#039;&#039; - will add the result name to the label (e.g. M03_5m_001).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Type&#039;&#039;&#039; - will add the result type to the label (e.g. Depth - Max).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Date&#039;&#039;&#039; - will add the date the map was exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Workspace Location&#039;&#039;&#039; - will add the workspace path to the label.&lt;br /&gt;
[[File: Batch_exporting_maps_05a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plots&#039;&#039;&#039; - These are dynamic plot objects that will be added to the maps. To add a plot, the plot must already be available in one of the TUFLOW Viewer plotting windows.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_06b.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add a plot.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the source of the plot lines that will be added (i.e. time series, cross section etc.).&lt;br /&gt;
&amp;lt;li&amp;gt; Select the plotting lines to add to the plot. Users can add more than one line or split the lines onto multiple plots. If the line is on secondary axis, this will be retained unless the need for the secondary axis becomes redundant (e.g. it&#039;s the only line on the plot).&lt;br /&gt;
:* In addition to the plotted result types, users have the option of specifying &#039;&#039;&#039;Active Dataset&#039;&#039;&#039; and &#039;&#039;&#039;Active Dataset [Water Level For Depth]&#039;&#039;&#039;. This will use the plot location, but plot the active scalar result of the map. The latter option will use water level if the active scalar is depth. This option will not work for plotting from a vector layer if the user is using one of the fields for the plot legend entry (this will need to be turned off in the &#039;&#039;&#039;Settings &amp;gt;&amp;gt; Options &amp;gt;&amp;gt; Plotting&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the position. This is only the starting position and can be moved later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the plot properties. When the user clicks this button, TUFLOW Viewer will calculate the min/max for the plot axes. For lines on the cross-section and vertical profile plots, this can take some time as TUFLOW Viewer will need to step through every timestep to find the min/max values.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_07a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plot Title&#039;&#039;&#039; - can be useful to indicate where the plot was extracted from by aligning the title with labels in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis labels&#039;&#039;&#039; - will be populated with default values.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis Limits&#039;&#039;&#039; - will be populated with calculated extents and the extents can be recalculated using &#039;&#039;&#039;Auto Calc&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend&#039;&#039;&#039; - legend can be added or removed. Legend location options are not as extensive as the TUFLOW Viewer itself, most notably &#039;Auto&#039; is not available.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Grid lines&#039;&#039;&#039; - can be toggled on/off.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Figure Size&#039;&#039;&#039; - will default to 100 x 100. This can be changed in the print layout and the plot will be re-rendered prior to the animation to fit the desired size.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; If the plot point/line was drawn by the user (not a vector layer), a graphic object will be added to the appropriate location to indicate the extraction location. This can be toggled off by unchecking this box.&lt;br /&gt;
&amp;lt;li&amp;gt; Label for the graphic object - this can be changed later in the print layout&lt;br /&gt;
&amp;lt;li&amp;gt; Label position relative to the graphic object&lt;br /&gt;
&amp;lt;li&amp;gt; Label properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_08a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Label font settings&lt;br /&gt;
&amp;lt;li&amp;gt; Background and box settings&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Images&#039;&#039;&#039; - Adds static images (e.g. company logo) to the maps. Adding images can also be added / edited later in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_09b.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add an image.&lt;br /&gt;
&amp;lt;li&amp;gt; Browse or copy the file path location of the image to be added.&lt;br /&gt;
&amp;lt;li&amp;gt; Position - this is the starting position and can be changed later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Image properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_10a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Image size options - this can be changed later in the print layout.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Add maps in the &#039;&#039;&#039;Export Maps&#039;&#039;&#039; tab.&lt;br /&gt;
* &#039;&#039;&#039;Result&#039;&#039;&#039; - result file (e.g. the .xmdf file). Results can be chosen from mesh layers that are already loaded into QGIS, or a file path can be specified and the tool will automatically load the mesh when required.&lt;br /&gt;
* &#039;&#039;&#039;Scalar Type&#039;&#039;&#039; - scalar result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Vector Type&#039;&#039;&#039; - vector result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Time&#039;&#039;&#039; - timestep used for the map. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Output&#039;&#039;&#039; - output location of map.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: batch_exporting_maps_18b.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Users can import a list of maps from a csv file using the &#039;&#039;&#039;Import&#039;&#039;&#039; button. This allows users to use a program such as MS Excel to populate the map list.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_11a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited File&#039;&#039;&#039; - csv (or other text file) containing the map list.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited Format&#039;&#039;&#039; - delimited format of the input file.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Header Rows&#039;&#039;&#039; - number of header rows to discard.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Columns&#039;&#039;&#039; - the columns that correspond to the appropriate columns in the tool. If the column names match the names in the tool, the import tool will automatically populate these values.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Once all layout items have been chosen and added, clicking &#039;&#039;&#039;Preview&#039;&#039;&#039; will allow the user to view how it&#039;s going to look.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_12a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Clicking the preview button will open up the layout in the QGIS print layout. In this layout, the user can modify, move, resize, add, and remove items in the layout. The following items must retain their IDs:&lt;br /&gt;
* The dynamic label must have the ID &#039;title&#039;.&lt;br /&gt;
* Dynamic plots will have an ID &#039;plot_&amp;lt;n&amp;gt;&#039; where &amp;lt;n&amp;gt; is the plot index (starting at index 0) based on the order they were added in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
* The graphic objects have an ID corresponding to their ID in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
Some of the useful information and tools in the print layout are:&lt;br /&gt;
* All plot items are listed in the &#039;Items&#039; box and their corresponding ID. Items can be selected in this box to show their properties and allow users to edit them (they can also be selected in the print layout).&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_13a.png]]&lt;br /&gt;
* Item properties can be edited using the &#039;&#039;&#039;Item Properties&#039;&#039;&#039; tab below the &#039;Items&#039; box.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_14a.png]]&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Interactively Edit Map Extent&#039;&#039;&#039; [[File: Interactively_edit_map_extent_icon_01a.png]] to edit the zoom and position of the map in the print layout.&lt;br /&gt;
* When the map zoom and extents are adjusted the graphic objects will no longer be in the correct position, however that&#039;s ok because the next time either the preview is clicked or if the export maps tool is run, they will be placed in their correct position.&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Select / Move Item&#039;&#039;&#039; [[File: select_move_item_icon_01a.png]] to move and resize items in the print layout.&lt;br /&gt;
* Use &#039;&#039;&#039;Add Item&#039;&#039;&#039; menu to add other custom items such as a north arrow or scale bar.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_15a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Save the print layout as a template (.qpt) via the menu &#039;&#039;&#039;Layout &amp;gt;&amp;gt; Save as Template&#039;&#039;&#039;.&amp;lt;Br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_16a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Close the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; radio button in the layout tab in the export animation dialog and browse the saved template file (.qpt).&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_17a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
Note that all the default layout items will be overridden with the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; except for the plots and dynamic text. The plot position and size from the custom layout template will be used, however the plot content will still be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;. Likewise for the dynamic text, the text will be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; The &#039;&#039;&#039;Preview&#039;&#039;&#039; button can be used multiple times to check that the layout is correctly being imported from the template.&lt;br /&gt;
&amp;lt;li&amp;gt; Click &#039;&#039;&#039;Ok&#039;&#039;&#039; to run the tool and export the maps.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Viewer#Exporting_Data.2C_Plots.2C_Maps_and_Animations| Back to TUFLOW Viewer Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_2a.png&amp;diff=44256</id>
		<title>File:TUFLOW Viewer Batch Exporting Maps 2a.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_2a.png&amp;diff=44256"/>
		<updated>2025-07-01T03:12:26Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44255</id>
		<title>TUFLOW Viewer - Batch Exporting Maps</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Batch_Exporting_Maps&amp;diff=44255"/>
		<updated>2025-07-01T03:09:14Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TUFLOW Viewer offers the ability to batch export maps using mesh layers. This tool does not seek to replace other similar tools that may be inherently built in to QGIS, however does offer the ability to:&lt;br /&gt;
* Automatically add plots from the mesh layer to the maps.&lt;br /&gt;
* Automatically load mesh results, plot, and export maps.&lt;br /&gt;
It also offers convenience functionality for adding items (such as a legend, images and scales), however these can also be added manually in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following steps through the process of batch exporting maps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Open the batch export map tool via &#039;&#039;&#039;Export &amp;gt;&amp;gt; Export Maps&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Batch Exporting Maps_1a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; In the layout tab, the user has the option to use a &#039;&#039;&#039;Default Layout&#039;&#039;&#039; or a &#039;&#039;&#039;Custom Layout&#039;&#039;&#039;. A custom layout uses a &#039;&#039;&#039;Print Layout Template (.qpt)&#039;&#039;&#039; as an input. The recommended workflow is to:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; initially.&lt;br /&gt;
&amp;lt;li&amp;gt; Customise the layout using the print layout in QGIS.&lt;br /&gt;
&amp;lt;li&amp;gt; Export the print layout as a template (.qpt).&lt;br /&gt;
&amp;lt;li&amp;gt; Use &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; using the created template file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_02a.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; During Step 1 above, the &#039;&#039;&#039;Default Layout&#039;&#039;&#039; lets the user specify some items to add to the layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Page Properties&#039;&#039;&#039; - defines the page size and the orientation of the exported maps. A page border is added by default, however can be turned off or edited in this section.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_03a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend, Scale Bar, North Arrow&#039;&#039;&#039; - the next three items will add common map items. Users can edit the properties of the item and add things like a background and border.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Batch_exporting_maps_04a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Label&#039;&#039;&#039; - Users can also add a custom label with dynamic text. This is useful if the user would like to add information to the map such as the result name, result type, or date the map was produced. This can be done by using the buttons on the right-hand side of the label properties. User&#039;s can also add their own text to the label, however this will be static.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Map Number&#039;&#039;&#039; - will add a map number to the label based on the order that the maps are exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Name&#039;&#039;&#039; - will add the result name to the label (e.g. M03_5m_001).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Result Type&#039;&#039;&#039; - will add the result type to the label (e.g. Depth - Max).&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Date&#039;&#039;&#039; - will add the date the map was exported.&lt;br /&gt;
* &#039;&#039;&#039;Dynamic Workspace Location&#039;&#039;&#039; - will add the workspace path to the label.&lt;br /&gt;
[[File: Batch_exporting_maps_05a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plots&#039;&#039;&#039; - These are dynamic plot objects that will be added to the maps. To add a plot, the plot must already be available in one of the TUFLOW Viewer plotting windows.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_06b.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add a plot.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the source of the plot lines that will be added (i.e. time series, cross section etc.).&lt;br /&gt;
&amp;lt;li&amp;gt; Select the plotting lines to add to the plot. Users can add more than one line or split the lines onto multiple plots. If the line is on secondary axis, this will be retained unless the need for the secondary axis becomes redundant (e.g. it&#039;s the only line on the plot).&lt;br /&gt;
:* In addition to the plotted result types, users have the option of specifying &#039;&#039;&#039;Active Dataset&#039;&#039;&#039; and &#039;&#039;&#039;Active Dataset [Water Level For Depth]&#039;&#039;&#039;. This will use the plot location, but plot the active scalar result of the map. The latter option will use water level if the active scalar is depth. This option will not work for plotting from a vector layer if the user is using one of the fields for the plot legend entry (this will need to be turned off in the &#039;&#039;&#039;Settings &amp;gt;&amp;gt; Options &amp;gt;&amp;gt; Plotting&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the position. This is only the starting position and can be moved later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Set the plot properties. When the user clicks this button, TUFLOW Viewer will calculate the min/max for the plot axes. For lines on the cross-section and vertical profile plots, this can take some time as TUFLOW Viewer will need to step through every timestep to find the min/max values.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_07a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Plot Title&#039;&#039;&#039; - can be useful to indicate where the plot was extracted from by aligning the title with labels in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis labels&#039;&#039;&#039; - will be populated with default values.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Axis Limits&#039;&#039;&#039; - will be populated with calculated extents and the extents can be recalculated using &#039;&#039;&#039;Auto Calc&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Legend&#039;&#039;&#039; - legend can be added or removed. Legend location options are not as extensive as the TUFLOW Viewer itself, most notably &#039;Auto&#039; is not available.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Grid lines&#039;&#039;&#039; - can be toggled on/off.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Figure Size&#039;&#039;&#039; - will default to 100 x 100. This can be changed in the print layout and the plot will be re-rendered prior to the animation to fit the desired size.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; If the plot point/line was drawn by the user (not a vector layer), a graphic object will be added to the appropriate location to indicate the extraction location. This can be toggled off by unchecking this box.&lt;br /&gt;
&amp;lt;li&amp;gt; Label for the graphic object - this can be changed later in the print layout&lt;br /&gt;
&amp;lt;li&amp;gt; Label position relative to the graphic object&lt;br /&gt;
&amp;lt;li&amp;gt; Label properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_08a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Label font settings&lt;br /&gt;
&amp;lt;li&amp;gt; Background and box settings&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Images&#039;&#039;&#039; - Adds static images (e.g. company logo) to the maps. Adding images can also be added / edited later in the print layout.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_09b.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Use the add button [[File: plus_icon_01a.png]] to add an image.&lt;br /&gt;
&amp;lt;li&amp;gt; Browse or copy the file path location of the image to be added.&lt;br /&gt;
&amp;lt;li&amp;gt; Position - this is the starting position and can be changed later in the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Image properties:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_10a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Image size options - this can be changed later in the print layout.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Add maps in the &#039;&#039;&#039;Export Maps&#039;&#039;&#039; tab.&lt;br /&gt;
* &#039;&#039;&#039;Result&#039;&#039;&#039; - result file (e.g. the .xmdf file). Results can be chosen from mesh layers that are already loaded into QGIS, or a file path can be specified and the tool will automatically load the mesh when required.&lt;br /&gt;
* &#039;&#039;&#039;Scalar Type&#039;&#039;&#039; - scalar result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Vector Type&#039;&#039;&#039; - vector result type to be mapped. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Time&#039;&#039;&#039; - timestep used for the map. If the result isn&#039;t loaded yet, the user will need to type this result type in manually.&lt;br /&gt;
* &#039;&#039;&#039;Output&#039;&#039;&#039; - output location of map.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: batch_exporting_maps_18b.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Users can import a list of maps from a csv file using the &#039;&#039;&#039;Import&#039;&#039;&#039; button. This allows users to use a program such as MS Excel to populate the map list.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_11a.png]]&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited File&#039;&#039;&#039; - csv (or other text file) containing the map list.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Delimited Format&#039;&#039;&#039; - delimited format of the input file.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Header Rows&#039;&#039;&#039; - number of header rows to discard.&lt;br /&gt;
&amp;lt;li&amp;gt; &#039;&#039;&#039;Columns&#039;&#039;&#039; - the columns that correspond to the appropriate columns in the tool. If the column names match the names in the tool, the import tool will automatically populate these values.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Once all layout items have been chosen and added, clicking &#039;&#039;&#039;Preview&#039;&#039;&#039; will allow the user to view how it&#039;s going to look.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_12a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Clicking the preview button will open up the layout in the QGIS print layout. In this layout, the user can modify, move, resize, add, and remove items in the layout. The following items must retain their IDs:&lt;br /&gt;
* The dynamic label must have the ID &#039;title&#039;.&lt;br /&gt;
* Dynamic plots will have an ID &#039;plot_&amp;lt;n&amp;gt;&#039; where &amp;lt;n&amp;gt; is the plot index (starting at index 0) based on the order they were added in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
* The graphic objects have an ID corresponding to their ID in the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
Some of the useful information and tools in the print layout are:&lt;br /&gt;
* All plot items are listed in the &#039;Items&#039; box and their corresponding ID. Items can be selected in this box to show their properties and allow users to edit them (they can also be selected in the print layout).&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_13a.png]]&lt;br /&gt;
* Item properties can be edited using the &#039;&#039;&#039;Item Properties&#039;&#039;&#039; tab below the &#039;Items&#039; box.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_14a.png]]&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Interactively Edit Map Extent&#039;&#039;&#039; [[File: Interactively_edit_map_extent_icon_01a.png]] to edit the zoom and position of the map in the print layout.&lt;br /&gt;
* When the map zoom and extents are adjusted the graphic objects will no longer be in the correct position, however that&#039;s ok because the next time either the preview is clicked or if the export maps tool is run, they will be placed in their correct position.&lt;br /&gt;
* Use the tool &#039;&#039;&#039;Select / Move Item&#039;&#039;&#039; [[File: select_move_item_icon_01a.png]] to move and resize items in the print layout.&lt;br /&gt;
* Use &#039;&#039;&#039;Add Item&#039;&#039;&#039; menu to add other custom items such as a north arrow or scale bar.&amp;lt;br&amp;gt;&lt;br /&gt;
: [[File: Batch_exporting_maps_15a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Save the print layout as a template (.qpt) via the menu &#039;&#039;&#039;Layout &amp;gt;&amp;gt; Save as Template&#039;&#039;&#039;.&amp;lt;Br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_16a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Close the print layout.&lt;br /&gt;
&amp;lt;li&amp;gt; Select the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; radio button in the layout tab in the export animation dialog and browse the saved template file (.qpt).&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: Batch_exporting_maps_17a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
Note that all the default layout items will be overridden with the &#039;&#039;&#039;Custom Layout&#039;&#039;&#039; except for the plots and dynamic text. The plot position and size from the custom layout template will be used, however the plot content will still be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;. Likewise for the dynamic text, the text will be taken from the &#039;&#039;&#039;Default Layout&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; The &#039;&#039;&#039;Preview&#039;&#039;&#039; button can be used multiple times to check that the layout is correctly being imported from the template.&lt;br /&gt;
&amp;lt;li&amp;gt; Click &#039;&#039;&#039;Ok&#039;&#039;&#039; to run the tool and export the maps.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Viewer#Exporting_Data.2C_Plots.2C_Maps_and_Animations| Back to TUFLOW Viewer Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_1a.png&amp;diff=44254</id>
		<title>File:TUFLOW Viewer Batch Exporting Maps 1a.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Batch_Exporting_Maps_1a.png&amp;diff=44254"/>
		<updated>2025-07-01T03:08:33Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Exporting_The_Drawn_GIS_Plot_Features&amp;diff=44253</id>
		<title>TUFLOW Viewer - Exporting The Drawn GIS Plot Features</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Exporting_The_Drawn_GIS_Plot_Features&amp;diff=44253"/>
		<updated>2025-07-01T00:22:14Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Tool Description===&lt;br /&gt;
It is possible to export the graphic layers that are drawn when plotting &#039;&#039;&#039;From Map&#039;&#039;&#039; or &#039;&#039;&#039;From Map Multi&#039;&#039;&#039;. This can be useful if the user would like to retain the chosen plot locations for reproducibility in a future workspace. The tool supports exporting both line and point layers, and the tool will export all available plot graphics irrespective of which plot they were drawn for (for a given geometry). For example, exporting lines to a &#039;&#039;&#039;*.shp&#039;&#039;&#039; file will export all cross-section, flow, and curtain plot lines.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At the time of this wiki page creation (plugin version 3.1.5), the exported format is currently locked to &#039;&#039;&#039;*.shp&#039;&#039;&#039;. The exported &#039;&#039;&#039;*.shp&#039;&#039;&#039; file will be in a 2d_PO format for convenience in case the user wishes to retrieve the output directly from TUFLOW (which would be a more accurate output and always recommended over post extracting plots from TUFLOW Viewer for map outputs).&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The features can be exported to &#039;&#039;&#039;*.shp&#039;&#039;&#039; file by:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Selecting via the menu &#039;&#039;&#039;Export &amp;gt;&amp;gt; Export Temporary Line(s) to SHP&#039;&#039;&#039; for drawn lines and &#039;&#039;&#039;Export &amp;gt;&amp;gt; Export Temporary Point(s) to SHP&#039;&#039;&#039; for drawn point objects.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Exporting The Drawn GIS Plot Features_1a.png|350px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Browse to save location and specify the shp file name.&lt;br /&gt;
&amp;lt;li&amp;gt; The user will be given the option of adding the exported shp file to the current workspace.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
{{Video|name=TUFLOW Viewer_Exporting The Drawn GIS Plot Features_1a.mp4|width=1350}}&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Viewer#Exporting_Data.2C_Plots.2C_Maps_and_Animations| Back to TUFLOW Viewer Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Exporting_The_Drawn_GIS_Plot_Features&amp;diff=44252</id>
		<title>TUFLOW Viewer - Exporting The Drawn GIS Plot Features</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Exporting_The_Drawn_GIS_Plot_Features&amp;diff=44252"/>
		<updated>2025-07-01T00:19:51Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: /* Tool Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Tool Description===&lt;br /&gt;
It is possible to export the graphic layers that are drawn when plotting &#039;&#039;&#039;From Map&#039;&#039;&#039; or &#039;&#039;&#039;From Map Multi&#039;&#039;&#039;. This can be useful if the user would like to retain the chosen plot locations for reproducibility in a future workspace. The tool supports exporting both line and point layers, and the tool will export all available plot graphics irrespective of which plot they were drawn for (for a given geometry). For example, exporting lines to a &#039;&#039;&#039;*.shp&#039;&#039;&#039; file will export all cross-section, flow, and curtain plot lines.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At the time of this wiki page creation (plugin version 3.1.5), the exported format is currently locked to &#039;&#039;&#039;*.shp&#039;&#039;&#039;. The exported &#039;&#039;&#039;*.shp&#039;&#039;&#039; file will be in a 2d_PO format for convenience in case the user wishes to retrieve the output directly from TUFLOW (which would be a more accurate output and always recommended over post extracting plots from TUFLOW Viewer for map outputs).&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The features can be exported to &#039;&#039;&#039;*.shp&#039;&#039;&#039; file by:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Selecting via the menu &#039;&#039;&#039;Export &amp;gt;&amp;gt; Export Temporary Line(s) to SHP&#039;&#039;&#039; for drawn lines and &#039;&#039;&#039;Export &amp;gt;&amp;gt; Export Temporary Point(s) to SHP&#039;&#039;&#039; for drawn point objects.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Exporting The Drawn GIS Plot Features_1a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Browse to save location and specify the shp file name.&lt;br /&gt;
&amp;lt;li&amp;gt; The user will be given the option of adding the exported shp file to the current workspace.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
{{Video|name=TUFLOW Viewer_Exporting The Drawn GIS Plot Features_1a.mp4|width=1350}}&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Viewer#Exporting_Data.2C_Plots.2C_Maps_and_Animations| Back to TUFLOW Viewer Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Exporting_The_Drawn_GIS_Plot_Features_1a.png&amp;diff=44251</id>
		<title>File:TUFLOW Viewer Exporting The Drawn GIS Plot Features 1a.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Exporting_The_Drawn_GIS_Plot_Features_1a.png&amp;diff=44251"/>
		<updated>2025-07-01T00:19:13Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Installing_Wibu_CodeMeter_Windows&amp;diff=44250</id>
		<title>Installing Wibu CodeMeter Windows</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Installing_Wibu_CodeMeter_Windows&amp;diff=44250"/>
		<updated>2025-06-30T23:33:25Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* Download the latest CodeMeter Runtime Kit for Windows installer from: &amp;lt;u&amp;gt;[https://www.wibu.com/support/user/downloads-user-software.html https://www.wibu.com/support/user/downloads-user-software.html]&amp;lt;/u&amp;gt;&lt;br /&gt;
[[File:Installing Wibu CodMeter_001.png]]&lt;br /&gt;
* Install the software&lt;br /&gt;
:* If you are using a local licence or have a network licence and are installing CodeMeter on a network client computer (i.e. a modelling computer, not the network host/server) please use the default install settings.   &lt;br /&gt;
:* If a computer is used as a network licence server, please select the &amp;quot;Network Server&amp;quot; option during the installation. Selecting this option will configure the appropriate TCP and UDP protocols in the Windows Firewall.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Installing WibuCodMeter_002.png]]&lt;br /&gt;
&lt;br /&gt;
* Silent Install: It is possible to do a silent install of the CodeMeter Runtime kit.  CodeMeter support staff have advised that this can be done with the following parameters:&amp;lt;br&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;CodeMeterRuntime.exe /ComponentArgs &amp;quot;*&amp;quot;:&amp;quot;/qn&amp;quot;&amp;lt;/tt&amp;gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:Installing_WibuCodMeter_002.png&amp;diff=44249</id>
		<title>File:Installing WibuCodMeter 002.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:Installing_WibuCodMeter_002.png&amp;diff=44249"/>
		<updated>2025-06-30T23:32:02Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:Installing_Wibu_CodMeter_001.png&amp;diff=44248</id>
		<title>File:Installing Wibu CodMeter 001.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:Installing_Wibu_CodMeter_001.png&amp;diff=44248"/>
		<updated>2025-06-30T23:31:48Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Run_TUFLOW_From_PowerShell&amp;diff=44223</id>
		<title>Run TUFLOW From PowerShell</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Run_TUFLOW_From_PowerShell&amp;diff=44223"/>
		<updated>2025-06-29T23:33:26Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: /* Using PowerShell */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;PowerShell is a modern scripting language and command interpreter for Windows that can be used as an alternative to more traditional batch files.&lt;br /&gt;
When creating a PowerShell script to run TUFLOW, much of the functionality will be similar to batch files, but PowerShell offers some additional benefits such as a more modern syntax and the ability to better interact with other features of the Windows operating system. Perhaps one of the most useful features would be the ability to send an email once a TUFLOW simulation has finished. This would allow, for example, a script running a TUFLOW simulation on a server to inform a user on their own computer that a simulation has finished, and details of that simulation to be sent within the email too.&lt;br /&gt;
&lt;br /&gt;
Unlike batch files, a PowerShell script will not run by default when double clicking it in File Explorer. Instead, a user can run the PowerShell script via the command line, for example by searching and opening “PowerShell” from the Windows start menu.&lt;br /&gt;
&lt;br /&gt;
A PowerShell script can be created in a similar way to a batch file. For example, right click in File Explorer, then click New &amp;gt; Text Document, and then provide a file name and extension (.ps1 for PowerShell). Alternatively, when using the [[Create_TUFLOW_Project|Create TUFLOW Project Tool in QGIS]], a PowerShell script is automatically generated in addition to a batch file.&lt;br /&gt;
&lt;br /&gt;
=Using PowerShell=&lt;br /&gt;
Open Windows PowerShell from the Windows start menu. When running a script via the PowerShell command line, the current working directory should typically be set to the same directory as the location of the script and TCF file. To change the current working directory, use the “cd” command. If there are spaces in your folder path use single quotations around entry (&#039; &#039;):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd &#039;&amp;lt;Path-to-Tuflow-Runs-Folder&amp;gt;&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assuming the PowerShell script filename is run.ps1, this can be run from the PowerShell command line with this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.\run_TUFLOW_simulations.ps1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Video|name=TUFLOW Run_Edited.mp4|width=850}}&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Simple Example=&lt;br /&gt;
&lt;br /&gt;
A simple PowerShell script to run a single simulation is as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
C:\bin\TUFLOW\2025.0.3\TUFLOW_iSP_w64.exe model_001.tcf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are spaces in your executable path, use single quotations around the executable entry (&#039; &#039;) and prefix the reference with &amp;amp;. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;amp; &#039;C:\bin\TUFLOW Example\2025.0.3\TUFLOW_iSP_w64.exe&#039; model_001.tcf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Multiple Simulations=&lt;br /&gt;
Running multiple simulations in series can be handled by adding new lines to run.ps1. Use a –b (batch) switch to suppresses the need to press the return key at the end of each simulation:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
C:\bin\TUFLOW\2025.0.3\TUFLOW_iSP_w64.exe -b model_001.tcf&lt;br /&gt;
C:\bin\TUFLOW\2025.0.3\TUFLOW_iSP_w64.exe -b model_002.tcf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Adding Switches=&lt;br /&gt;
To alter the behaviour of TUFLOW, switches can be used in the same way as a batch file (see &amp;lt;u&amp;gt;[[Run_TUFLOW_From_a_Batch-file#TUFLOW_switches_in_a_batch_file | Batch File Switches]]&amp;lt;/u&amp;gt;):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
C:\bin\TUFLOW\2025.0.3\TUFLOW_iSP_w64.exe -b -x -s1 5m -s2 D01 model_~s1~_~s2~_001.tcf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Looping=&lt;br /&gt;
Looping is undertaken in a similar way to batch files. The following PowerShell script contains a nested loop, so that TUFLOW runs a simulation for all combinations of scenario and event.&lt;br /&gt;
Comments can be added using #.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#TUFLOW RUN VARIABLES&lt;br /&gt;
$scenarios = @(&amp;quot;1m&amp;quot;, &amp;quot;2m&amp;quot;, &amp;quot;5m&amp;quot;)&lt;br /&gt;
$events = @(&amp;quot;1hr&amp;quot;, &amp;quot;2hr&amp;quot;, &amp;quot;5hr&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
#SIMULATION EXECUTION LOOP&lt;br /&gt;
foreach ($scenario in $scenarios){&lt;br /&gt;
    foreach ($event in $events){&lt;br /&gt;
        C:\bin\TUFLOW\2025.0.3\TUFLOW_iSP_w64.exe -b -s1 $scenario -e1 $event model_~s1~_~e1~.tcf&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Email Notifications=&lt;br /&gt;
An email can be sent using PowerShell to inform the user that a TUFLOW run has completed (successfully or otherwise). The following approach requires that Outlook is already set up on the computer running TUFLOW:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$Outlook = New-Object -ComObject Outlook.Application&lt;br /&gt;
$Mail = $Outlook.CreateItem(0)&lt;br /&gt;
$Mail.Subject = &amp;quot;TUFLOW Simulation Finished&amp;quot;&lt;br /&gt;
$Mail.To = &amp;quot;first_recipient_email_address_here&amp;quot;&lt;br /&gt;
$Mail.To = &amp;quot;second_recipient_email_address_here&amp;quot;&lt;br /&gt;
$Mail.Send()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It is also possible to send the contents of a log file (for example, the TLF) as the body of the email. To do this, you must pre-empt the name and path of the TLF file that will be produced:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$Mail.Body = Get-Content -Raw .\log\model_001.tlf&lt;br /&gt;
$Mail.Send()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Run_Edited.mp4&amp;diff=44222</id>
		<title>File:TUFLOW Run Edited.mp4</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Run_Edited.mp4&amp;diff=44222"/>
		<updated>2025-06-29T23:31:58Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=Run_TUFLOW_From_PowerShell&amp;diff=44131</id>
		<title>Run TUFLOW From PowerShell</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=Run_TUFLOW_From_PowerShell&amp;diff=44131"/>
		<updated>2025-06-26T06:24:48Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: /* Using PowerShell */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;PowerShell is a modern scripting language and command interpreter for Windows that can be used as an alternative to more traditional batch files.&lt;br /&gt;
When creating a PowerShell script to run TUFLOW, much of the functionality will be similar to batch files, but PowerShell offers some additional benefits such as a more modern syntax and the ability to better interact with other features of the Windows operating system. Perhaps one of the most useful features would be the ability to send an email once a TUFLOW simulation has finished. This would allow, for example, a script running a TUFLOW simulation on a server to inform a user on their own computer that a simulation has finished, and details of that simulation to be sent within the email too.&lt;br /&gt;
&lt;br /&gt;
Unlike batch files, a PowerShell script will not run by default when double clicking it in File Explorer. Instead, a user can run the PowerShell script via the command line, for example by searching and opening “PowerShell” from the Windows start menu.&lt;br /&gt;
&lt;br /&gt;
A PowerShell script can be created in a similar way to a batch file. For example, right click in File Explorer, then click New &amp;gt; Text Document, and then provide a file name and extension (.ps1 for PowerShell). Alternatively, when using the [[Create_TUFLOW_Project|Create TUFLOW Project Tool in QGIS]], a PowerShell script is automatically generated in addition to a batch file.&lt;br /&gt;
&lt;br /&gt;
=Using PowerShell=&lt;br /&gt;
Open Windows PowerShell from the Windows start menu. When running a script via the PowerShell command line, the current working directory should typically be set to the same directory as the location of the script and TCF file. To change the current working directory, use the “cd” command. If there are spaces in your folder path use single quotations around entry (&#039; &#039;):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd &#039;&amp;lt;Path-to-Tuflow-Runs-Folder&amp;gt;&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assuming the PowerShell script filename is run.ps1, this can be run from the PowerShell command line with this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.\run_TUFLOW_simulations.ps1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Video|name=TUFLOW Run_002.mp4|width=1350}}&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Simple Example=&lt;br /&gt;
&lt;br /&gt;
A simple PowerShell script to run a single simulation is as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
C:\bin\TUFLOW\2025.0.3\TUFLOW_iSP_w64.exe model_001.tcf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are spaces in your executable path, use single quotations around the executable entry (&#039; &#039;) and prefix the reference with &amp;amp;. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;amp; &#039;C:\bin\TUFLOW Example\2025.0.3\TUFLOW_iSP_w64.exe&#039; model_001.tcf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Multiple Simulations=&lt;br /&gt;
Running multiple simulations in series can be handled by adding new lines to run.ps1. Use a –b (batch) switch to suppresses the need to press the return key at the end of each simulation:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
C:\bin\TUFLOW\2025.0.3\TUFLOW_iSP_w64.exe -b model_001.tcf&lt;br /&gt;
C:\bin\TUFLOW\2025.0.3\TUFLOW_iSP_w64.exe -b model_002.tcf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Adding Switches=&lt;br /&gt;
To alter the behaviour of TUFLOW, switches can be used in the same way as a batch file (see &amp;lt;u&amp;gt;[[Run_TUFLOW_From_a_Batch-file#TUFLOW_switches_in_a_batch_file | Batch File Switches]]&amp;lt;/u&amp;gt;). It is recommended that switches be contained with single quotations (&#039; &#039;). For example, running with the test switch -t:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
C:\bin\TUFLOW\2025.0.3\TUFLOW_iSP_w64.exe &#039;-b&#039; &#039;-t&#039; model_001.tcf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When specifying a tcf file that includes scenarios and/or events within the filename use single quotations around the tcf file reference (&#039; &#039;). The specific scenarios and event references do not require quotations.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
C:\bin\TUFLOW\2025.0.3\TUFLOW_iSP_w64.exe &#039;-b&#039; &#039;-x&#039; &#039;-s1&#039; 5m &#039;-s2&#039; D01 &#039;model_~s1~_~s2~_001.tcf&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This example demonstrates how to package a copy of a project milestone model (including all possible scenario and event inputs) for archiving:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
C:\bin\TUFLOW\2025.0.3\TUFLOW_iSP_w64.exe &#039;-b&#039; &#039;-pmAll&#039; &#039;-xf0&#039; &#039;-s1&#039; 5m &#039;-s2&#039; D01 &#039;-e1&#039; Q100 &#039;-e2&#039; 2hr &#039;model_~s1~_~s2~_~e1~_~e2~_001.tcf&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Defining Variables=&lt;br /&gt;
In PowerShell, variables are used to store values and are identified by a dollar sign ($) followed by a name. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$EXE = &#039;C:\bin\TUFLOW\2025.0.3\TUFLOW_iSP_w64.exe&#039;&lt;br /&gt;
$EXE &#039;-b&#039; &#039;-x&#039; &#039;-s1&#039; 5m &#039;-s2&#039; D01 model_~s1~_~s2~_001.tcf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Looping=&lt;br /&gt;
Looping is undertaken in a similar way to batch files. The following PowerShell script contains a nested loop, so that TUFLOW runs a simulation for all combinations of scenario and event.&lt;br /&gt;
Comments can be added using #.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#TUFLOW RUN VARIABLES&lt;br /&gt;
$EXE = C:\bin\TUFLOW\2025.0.3\TUFLOW_iSP_w64.exe&lt;br /&gt;
$scenarios = @(&amp;quot;1m&amp;quot;, &amp;quot;2m&amp;quot;, &amp;quot;5m&amp;quot;)&lt;br /&gt;
$events = @(&amp;quot;1hr&amp;quot;, &amp;quot;2hr&amp;quot;, &amp;quot;5hr&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
#SIMULATION EXECUTION LOOP&lt;br /&gt;
foreach ($scenario in $scenarios){&lt;br /&gt;
    foreach ($event in $events){&lt;br /&gt;
        $EXE &#039;-b&#039; &#039;-s1&#039; $scenario &#039;-e1&#039; $event &#039;model_~s1~_~e1~.tcf&#039;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Email Notifications=&lt;br /&gt;
An email can be sent using PowerShell to inform the user that a TUFLOW run has completed (successfully or otherwise). The following approach requires that Outlook is already set up on the computer running TUFLOW:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$Outlook = New-Object -ComObject Outlook.Application&lt;br /&gt;
$Mail = $Outlook.CreateItem(0)&lt;br /&gt;
$Mail.Subject = &amp;quot;TUFLOW Simulation Finished&amp;quot;&lt;br /&gt;
$Mail.To = &amp;quot;first_recipient_email_address_here&amp;quot;&lt;br /&gt;
$Mail.To = &amp;quot;second_recipient_email_address_here&amp;quot;&lt;br /&gt;
$Mail.Send()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It is also possible to send the contents of a log file (for example, the TLF) as the body of the email. To do this, you must pre-empt the name and path of the TLF file that will be produced:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$Mail.Body = Get-Content -Raw .\log\model_001.tlf&lt;br /&gt;
$Mail.Send()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Run_002.mp4&amp;diff=44129</id>
		<title>File:TUFLOW Run 002.mp4</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Run_002.mp4&amp;diff=44129"/>
		<updated>2025-06-26T06:21:01Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Exporting_The_Drawn_GIS_Plot_Features&amp;diff=44119</id>
		<title>TUFLOW Viewer - Exporting The Drawn GIS Plot Features</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Exporting_The_Drawn_GIS_Plot_Features&amp;diff=44119"/>
		<updated>2025-06-25T03:51:40Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: /* Examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Tool Description===&lt;br /&gt;
It is possible to export the graphic layers that are drawn when plotting &#039;&#039;&#039;From Map&#039;&#039;&#039; or &#039;&#039;&#039;From Map Multi&#039;&#039;&#039;. This can be useful if the user would like to retain the chosen plot locations for reproducibility in a future workspace. The tool supports exporting both line and point layers, and the tool will export all available plot graphics irrespective of which plot they were drawn for (for a given geometry). For example, exporting lines to a &#039;&#039;&#039;*.shp&#039;&#039;&#039; file will export all cross-section, flow, and curtain plot lines.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At the time of this wiki page creation (plugin version 3.1.5), the exported format is currently locked to &#039;&#039;&#039;*.shp&#039;&#039;&#039;. The exported &#039;&#039;&#039;*.shp&#039;&#039;&#039; file will be in a 2d_PO format for convenience in case the user wishes to retrieve the output directly from TUFLOW (which would be a more accurate output and always recommended over post extracting plots from TUFLOW Viewer for map outputs).&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The features can be exported to &#039;&#039;&#039;*.shp&#039;&#039;&#039; file by:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Selecting via the menu &#039;&#039;&#039;Export &amp;gt;&amp;gt; Export Temporary Line(s) to SHP&#039;&#039;&#039; for drawn lines and &#039;&#039;&#039;Export &amp;gt;&amp;gt; Export Temporary Point(s) to SHP&#039;&#039;&#039; for drawn point objects.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW_Viewer_Export_Dropdown_Menu_01a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Browse to save location and specify the shp file name.&lt;br /&gt;
&amp;lt;li&amp;gt; The user will be given the option of adding the exported shp file to the current workspace.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
{{Video|name=TUFLOW Viewer_Exporting The Drawn GIS Plot Features_1a.mp4|width=1350}}&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Viewer#Exporting_Data.2C_Plots.2C_Maps_and_Animations| Back to TUFLOW Viewer Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Exporting_The_Drawn_GIS_Plot_Features_1a.mp4&amp;diff=44118</id>
		<title>File:TUFLOW Viewer Exporting The Drawn GIS Plot Features 1a.mp4</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Exporting_The_Drawn_GIS_Plot_Features_1a.mp4&amp;diff=44118"/>
		<updated>2025-06-25T03:51:07Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Exporting_And_Copying_A_Plot&amp;diff=44117</id>
		<title>TUFLOW Viewer - Exporting And Copying A Plot</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Exporting_And_Copying_A_Plot&amp;diff=44117"/>
		<updated>2025-06-25T03:27:52Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: /* Tool Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Tool Description===&lt;br /&gt;
It is possible to export / copy the current plot window as either raw data or an image. Exporting the plot will save the data or image as a file, while copying the plot will copy the data or image to the clipboard.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Export as image&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Via the menu &#039;&#039;&#039;Export &amp;gt;&amp;gt; Save&#039;&#039;&#039; or right-click the plot window and select &#039;&#039;&#039;Export &amp;gt;&amp;gt; Save&#039;&#039;&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Exporting and Copying a Plot_1b.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Browse to a save location, specify export image name, and choose image format.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Export as csv&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Via the menu &#039;&#039;&#039;Export &amp;gt;&amp;gt; Export Plot as CSV&#039;&#039;&#039; or right-click the plot window and select &#039;&#039;&#039;Export &amp;gt;&amp;gt; Export Plot as CSV&#039;&#039;&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Exporting and Copying a Plot_4a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Browse to a save location and specify export csv file name.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Copy image to clipboard&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Via the menu &#039;&#039;&#039;Export &amp;gt;&amp;gt; Copy Image to Clipboard&#039;&#039;&#039; or right-click the plot window and select &#039;&#039;&#039;Copy &amp;gt;&amp;gt; Copy Image to Clipboard&#039;&#039;&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Exporting and Copying a Plot_2a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; This will copy the image to the clipboard which can be pasted into the desired program (e.g. email, report document, powerpoint etc.).&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Copy data to clipboard&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Via the menu &#039;&#039;&#039;Export &amp;gt;&amp;gt; Copy Data to Clipboard&#039;&#039;&#039; or right-click the plot window and select &#039;&#039;&#039;Copy &amp;gt;&amp;gt; Copy Data to Clipboard&#039;&#039;&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Exporting and Copying a Plot_3a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; This will copy the data to the clipboard (in a tab delimited format) which can be pasted into the desired program (e.g. excel - the tab delimited format will automatically paste the data into separate columns in excel).&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
====Exporting an Image====&lt;br /&gt;
{{Video|name=TUFLOW Viewer_Exporting And Copying A Plot_1a.mp4|width=1350}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Exporting a CSV====&lt;br /&gt;
{{Video|name=TUFLOW Viewer_Exporting And Copying A Plot_2a.mp4|width=1350}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Copying an Image====&lt;br /&gt;
{{Video|name=TUFLOW Viewer_Exporting And Copying A Plot_3a.mp4|width=1350}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Copying data====&lt;br /&gt;
{{Video|name=TUFLOW Viewer_Exporting And Copying A Plot_4a.mp4|width=1350}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Viewer#Exporting_Data.2C_Plots.2C_Maps_and_Animations| Back to TUFLOW Viewer Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Exporting_and_Copying_a_Plot_1b.png&amp;diff=44116</id>
		<title>File:TUFLOW Viewer Exporting and Copying a Plot 1b.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Exporting_and_Copying_a_Plot_1b.png&amp;diff=44116"/>
		<updated>2025-06-25T03:27:30Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Exporting_And_Copying_A_Plot&amp;diff=44112</id>
		<title>TUFLOW Viewer - Exporting And Copying A Plot</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=TUFLOW_Viewer_-_Exporting_And_Copying_A_Plot&amp;diff=44112"/>
		<updated>2025-06-25T03:23:31Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: /* Tool Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Tool Description===&lt;br /&gt;
It is possible to export / copy the current plot window as either raw data or an image. Exporting the plot will save the data or image as a file, while copying the plot will copy the data or image to the clipboard.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Export as image&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Via the menu &#039;&#039;&#039;Export &amp;gt;&amp;gt; Save&#039;&#039;&#039; or right-click the plot window and select &#039;&#039;&#039;Export &amp;gt;&amp;gt; Save&#039;&#039;&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Exporting and Copying a Plot_1a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Browse to a save location, specify export image name, and choose image format.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Export as csv&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Via the menu &#039;&#039;&#039;Export &amp;gt;&amp;gt; Export Plot as CSV&#039;&#039;&#039; or right-click the plot window and select &#039;&#039;&#039;Export &amp;gt;&amp;gt; Export Plot as CSV&#039;&#039;&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Exporting and Copying a Plot_4a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; Browse to a save location and specify export csv file name.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Copy image to clipboard&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Via the menu &#039;&#039;&#039;Export &amp;gt;&amp;gt; Copy Image to Clipboard&#039;&#039;&#039; or right-click the plot window and select &#039;&#039;&#039;Copy &amp;gt;&amp;gt; Copy Image to Clipboard&#039;&#039;&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Exporting and Copying a Plot_2a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; This will copy the image to the clipboard which can be pasted into the desired program (e.g. email, report document, powerpoint etc.).&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Copy data to clipboard&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Via the menu &#039;&#039;&#039;Export &amp;gt;&amp;gt; Copy Data to Clipboard&#039;&#039;&#039; or right-click the plot window and select &#039;&#039;&#039;Copy &amp;gt;&amp;gt; Copy Data to Clipboard&#039;&#039;&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: TUFLOW Viewer_Exporting and Copying a Plot_3a.png]]&lt;br /&gt;
&amp;lt;li&amp;gt; This will copy the data to the clipboard (in a tab delimited format) which can be pasted into the desired program (e.g. excel - the tab delimited format will automatically paste the data into separate columns in excel).&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
====Exporting an Image====&lt;br /&gt;
{{Video|name=TUFLOW Viewer_Exporting And Copying A Plot_1a.mp4|width=1350}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Exporting a CSV====&lt;br /&gt;
{{Video|name=TUFLOW Viewer_Exporting And Copying A Plot_2a.mp4|width=1350}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Copying an Image====&lt;br /&gt;
{{Video|name=TUFLOW Viewer_Exporting And Copying A Plot_3a.mp4|width=1350}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Copying data====&lt;br /&gt;
{{Video|name=TUFLOW Viewer_Exporting And Copying A Plot_4a.mp4|width=1350}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[TUFLOW_Viewer#Exporting_Data.2C_Plots.2C_Maps_and_Animations| Back to TUFLOW Viewer Main Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Exporting_and_Copying_a_Plot_3a.png&amp;diff=44111</id>
		<title>File:TUFLOW Viewer Exporting and Copying a Plot 3a.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=File:TUFLOW_Viewer_Exporting_and_Copying_a_Plot_3a.png&amp;diff=44111"/>
		<updated>2025-06-25T03:23:06Z</updated>

		<summary type="html">&lt;p&gt;Melissa.Moghanloo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Melissa.Moghanloo</name></author>
	</entry>
</feed>