QGIS TUFLOW Increment Layer: Difference between revisions

Content deleted Content added
Line 32:
 
====Increment Layer and Preserve Database====
This options gives the user the ability to copy or increment multiple layers from the same GPKG. All layers in the GPKG will be listed for the user to decide what to do with: the options are to copy, increment, or discard. A given layer will be copied if it is checked on., A given layerit will be incremented if is checked on and new name is provided in the right column., and Aa given layer will discarded (i.e. not copied) if the layer is checked off. The tool will automatically give an incremented name of the layer selected in the dropdown box. The tooland will automatically update the datasource of any open layers in QGIS if required. The option to move superseded files to a new separate folder and/or keep the old layers open is available for this increment option.<br>
[[File: increment_layer_spatial_database_preserve_database.PNG]]<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) and keeps the current layer open in QGIS. This option allows users to use a centralised database without having to increment the entire database each time. The user saves the superseded layer in a new location for posterity and continues to work the layer in the centralised database. The user is given the option to let the tool automatically supersede the layer or customise the supersede location. The automatic option will save the layer into a folder called 'ss' in the same location as the GPKG (each layer will be given a new GPKG with the same name as the layer).<br>
* '''Increment Layer Only''' - this will only save the individual layer from the GPKG database into a new or existing GPKG database. The tool will attempt to increment the name of both the GPKG database and layer when the layer is first selected.
<brBr>
* '''Increment Layer and Preserve Database''' - This option will give the user the ability to determine which layers from the existing GPKG database they would like to keep and/or increment into a new GPKG database. The database can be a new or existing GPKG database. The tool will automatically try and increment the output database and layer names when the layer is first selected.
If the user has the '''File Management''' plugin installed, an option to rename 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 atively open in QGIS.<Br>
** Checked layers will be copied to the new database
[[File: increment_layer_spatial_database_ss_layer.PNG]]<br>
** Layer names can be incremented (or given a new name) by providing one under the "Incremented Layer" column in the table. Otherwise if the "Incremented Layer" cell is blank, the layer will be copied with the same name.
<Br>
: [[File: increment_layer_spatial_database_preserve_database.PNG]]
<br>
 
===Examples===