Save FLO-2D Project#
In the current FLO-2D Plugin version, the QGIS Project file (*.qgz) is saved inside the GeoPackage. This new method has many advantages in terms of portability, styling the symbology, and reducing potential path errors. It is also allowed to save external user layers to the GeoPackage.
Save a new FLO-2D Project#
Click this button to save the FLO-2D Project.
Note
This save method is different from the New and Open FLO-2D Project buttons. This is the native QGIS save button, located at the top left of QGIS.
If no error was found and no external layers were added to the project, the following message will appear on QGIS toolbar showing that the project was correctly saved.
Saving external layers into the geopackage#
If external layers are present in the project, The save operation is modified when a FLO-2D project is loaded.
Select Yes will open the GeoPackage Manager. To protect a layer and keep it with the project. Move the layer to the left window. This will commit the layer to the geopackage and disconnect it from the external file.
If the layer is only needed once consider keeping it on the right side and then remove it from the project once it is no longer required.
Things like Google Maps, Server Connected Layers, MapCrafter Layers are not allowed on the left. Leave them on the right.
If No is selected, all layers will be saved as paths. If this method is used and a project is moved to another location or computer, the file paths must be reconnected and the external files may need to be moved too.
Layers such as Google Maps, MapCrafter layers will not become part of the GeoPackage. They will be saved to the QGZ system.
Note
The current version only supports vectors and rasters to be saved to the geopackage. CSV files and basemaps are not allowed. If a basemap or other file is loaded, it may still be able to save in the QGZ storage table that is packaged in the GeoPackage.
QGZ System#
QGZ files are now stored as part of the GeoPackage. Access the Geopackage structure with the Browse Panel.
Right click the GeoPackage and click New Connection
Load the geopackage from the project folder.
Expand the geopackage layer and review the structure of the geopackage.
Notice how the Elevation layer and the QGZ system are now part of the Geopackage.
Removing Layers#
If the layer is listed on the right side of the GeoPackage Manager, remove the layer using the Right Click >> Remove layer method.
If the layer is on the left side of the window, use the Geopackage Manager Delete button to remove the layer.
The MapCrafter Layers are saved to the QGZ not the Geopackage.
If a MapCrafter group or layer is removed with the Right Click >> Remove Layer method.