QGIS TUFLOW Increment Layer

From Tuflow
Revision as of 09:26, 30 March 2016 by Par (talk | contribs)
Jump to navigation Jump to search

This tool can be found in the TUFLOW >> Editing >> Increment Selected Layer menu item.
As the name implies, this tool takes the active layer (as selected in the layer control) and saves a copy of this with a new filename. The currently open file will be closed and the new version opened, this avoids accidentally modifying the superseded version!
The dialogue looks like the below.

QGIS TUFLOW Increment 03.png
The components are described below.

  1. Drop box for selecting the layer to be incremented. This defaults to the current layer in the layer control.
  2. Keep source formatting. By enabling this checkbox a style .qml will be created from the existing layer and this will be applied to the new layer, so any custom styling will be preserved.
  3. Output Folder. The location for the folder to be saved into. This defaults to the location of the current file and is updated if the Source Layer dropbox is changed.
  4. 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.
  5. Browse. Use the a file dialogue to set the output folder (item 3 above) and output filename (item 4 above).
  6. Standard buttons. OK to proceed and Cancel to quit the tool

The tool also checks if an existing file with the name and location specified already exists, if so, an error is displayed and the tool will close.