QGIS TUFLOW Increment Layer: Difference between revisions
Content deleted Content added
| (7 intermediate revisions by the same user not shown) | |||
Line 5:
In QGIS, the tool can be found in the TUFLOW Plugin toolbar, or via the top dropdown menu options Plugins >> TUFLOW >> Editing >> Increment Selected Layer.<br>
[[File:
<br>
Example 'Increment Selected Layer' dialog:<br>
[[File:
<br>
The parameters are described below:
<ol>
<li> '''Source Layer:''' Drop box for selecting the layer to be incremented. This defaults to the layer currently selected in the QGIS Layers panel.
<li> '''Keep source formatting:''' ''Depcrecated'' - this option is no longer available. The source formatting is now always retained (it also no longer creates a .QML file).▼
<li> '''Output Folder:''' The location for the folder to be saved into. This defaults to the folder location where the current file is saved and is updated if the 'Source Layer' dropbox is changed.
<li> '''Output Filename:''' The output file, the tool will attempt to guess a filename by incrementing the current filename by 1. For example the source layer with name '
<li> '''Move Source Layer to Superseded Folder:''' This option will move the source layer to a new folder call 'SS' (superseded) once the new incremented layer has been created. This is intended to help users keep their GIS files tidy, with only current layers being present.
<li> '''Remove/Keep Source Layer in Workspace:''' This option will determine whether the original source layer is removed from the workspace or not. It is possible to use the option to 'Keep Source Layer in Workspace' and 'Move Source Layer to Superseded Folder' together.
</ol>
▲
The tool also checks if an existing file with the name and location specified already exists, if so, a warning will appear alerting the user. If the existing layer is open in QGIS (or another GIS program) the tool will produce an error.
<br>
= Working with
:''Available since v3.3''<br>
If the source layer is in a GeoPackage (GPKG), the user will be given additional options:<Br>
:'''Note:''' <u>[[QGIS_TUFLOW_Increment_Layer#Save_Layer_Out_Into_Superseded_Folder|Save layer out into superseded folder]]</u> is available since v3.7.0.25<br>
[[File: Increment_Layer_02a.png]]<br>
<br>▼
A summary of the options is described below and more details are given further on:
* '''<u>[[QGIS_TUFLOW_Increment_Layer#Increment_Layer_Only|Increment Layer Only]]</u>:'''
* '''<u>[[QGIS_TUFLOW_Increment_Layer#Increment_Layer_and_Preserve_Database|Increment Layer and Preserve Database]]</u>:'''
* '''<u>[[QGIS_TUFLOW_Increment_Layer#Save_Layer_Out_Into_Superseded_Folder|Save Layer Out Into Superseded Folder]]</u>:'''
== Increment Layer Only ==
Line 37 ⟶ 39:
== Increment Layer and Preserve Database ==
This
[[File: Increment_Layer_03a.png]]<Br>
▲<br>
== Save Layer Out Into Superseded Folder ==
The option saves the layer selected in the dropdown box into a new location (called a superseded folder) by the tool
<
If the user has the '''File Management''' plugin installed, an option to increment the active layer is also available. This simply renames the layer inside the GPKG (no copying is done in this step) and allows the usual workflow of incrementing names to be used with this approach. The File Management plugin is required as this plugin has solved the problem of renaming a layer that is actively open in QGIS.<
[[File: Increment_Layer_04a.png]]<br>
<
= Examples =
{{Video|name=Animation_Increment_Layer_eg_SHP_01a.mp4|width=1184}}
<br>
{{Video|name=Animation_Increment_Layer_eg_GPKG_01a.mp4|width=1184}}
<Br>
| |||