Difference between revisions of "GeoPackage Tips"

From Tuflow
Jump to navigation Jump to search
Line 21: Line 21:
  
 
= QGIS Tips & Tricks =
 
= QGIS Tips & Tricks =
 +
==Convert TUFLOW Model GIS Format==
 +
The 'Convert TUFLOW Model GIS Format' tool has been developed to convert the GIS formats for an entire models (input files and control files). For example, if you have a model currently set up using the SHP vector format and FLT raster format, you can automatically convert it to GPKG and TIF. This tool works both ways for any TUFLOW supported format and will automatically show in the 'Processing Toolbox' if you have the TUFLOW Plugin installed.
  
 
== TUFLOW Plugin Tools ==
 
== TUFLOW Plugin Tools ==
 +
===Configuring a New Project===
 +
===Updating Layer Names ===
 +
  
 
== QGIS Browser Panel ==
 
== QGIS Browser Panel ==

Revision as of 21:15, 6 July 2023

Page Under Construction

Introduction

This page includes tips and tricks for working with the GeoPackage Vector format (supported since the TUFLOW 2023-03-AA Release). GeoPackage is a widely supported, open GIS database format, built upon an SQLite database (data is stored as a single file with the extension .gpkg).

This database format has several benefits, including:

  • Multiple GIS layer can be stored in the single file database. For example, all GIS input layers can be stored in a single GeoPackage file.
  • Supports spatial indexing, greatly reducing loading and viewing times making it much faster to work with in GIS packages.
  • Faster to write from TUFLOW than the shapefile format.

For more information see the 2023 Release Notes.

Command Files

Referencing a GeoPackage Database

Referencing a GeoPackage Layer

Outputs

Result and check file vector outputs can be written into separate databases or grouped, with 'grouped' being the default. Grouped databases will group by output folder location, for example, the check file folder will contain one GeoPackage Database that contains all check file layers within it. Separate databases will group geometries together, for example, PLOT_P, PLOT_L, PLOT_R will be written to one database. The following command can be used to set the output to either separate or grouped: Spatial Database Output == SEPARATE | {GROUPED}

This is a huge benefit in terms of file organisation. The below shows a TUFLOW 'Check' folder from a model using the GeoPackage (grouped). The same 'Check' folder for a model using Shapefile would have 44(!) items in it.



QGIS Tips & Tricks

Convert TUFLOW Model GIS Format

The 'Convert TUFLOW Model GIS Format' tool has been developed to convert the GIS formats for an entire models (input files and control files). For example, if you have a model currently set up using the SHP vector format and FLT raster format, you can automatically convert it to GPKG and TIF. This tool works both ways for any TUFLOW supported format and will automatically show in the 'Processing Toolbox' if you have the TUFLOW Plugin installed.

TUFLOW Plugin Tools

Configuring a New Project

Updating Layer Names

QGIS Browser Panel

Setting a Brower Panel Favourite

File Management Plugin