QGIS TUFLOW Increment Layer: Difference between revisions

Content deleted Content added
No edit summary
Line 3:
 
= Running the Tool =
TheIn QGIS, the tool can be found in the TUFLOW Plugin toolbar, or via the QGIStop dropdown menu '''options Plugins >> TUFLOW >> Editing >> Increment Selected Layer'''.<br><br>
<br>
[[File: increment_layer_toolicon.PNG]]<br>
[[File:QGIS TUFLOW Increment 03.png]]
<br>
Example 'Increment Selected Layer' dialog:<br>
The components are described below.
<br>
[[File:QGIS TUFLOW Increment 03.png]]<br>
<br>
The componentsparameters are described below.:
<ol>
<li> '''Source Layer:''' - dropDrop box for selecting the layer to be incremented. This defaults to the current layer currently selected in the layerQGIS controlLayers 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 ofwhere 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 '''2d_code_M01_001_R''' will guess '''2d_code_M01_002_R'''. This will be updated if the '''Source Layer''' dropbox is changed.
<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'Keep theSource source layerLayer in the workspaceWorkspace' 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.