TUFLOW Setup with Kart QGIS Plugin: Difference between revisions

Content deleted Content added
Line 27:
 
* Cut and paste the '''empty''' folder and the model Geopackage file from the '''TUFLOW\Model\GIS''' folder to TUFLOW\Model. This is because Kart can not initialise a repository if the folder is not empty.
* Rename the '<nowiki/>'''GIS'''<nowiki/>' folder to ''''*Model_Name*'''<nowiki/>' where '*Model_Name*' is the same as your Geopackage name.
 
* Use the Kart Create new repository tool to create a new Kart repository.
Line 68:
 
If the option to 'Commit automatically after closing editing' then the changes will be automatically committed. This is useful to avoid forgetting to commit, similar to how an autosave can be beneficial. Alternatively, it is possible to commit manually, either by clicking the repository or the individual layers and using the 'Commit working copy changes' or 'Commit working copy changes for this dataset' option respectively. The benefit of the latter approach is that there are less frequent commits and the user is prompted for a commit message prior to committing the working changes.
[[File:Commit message.png|none|frame|Manual commit with prompt for commit message|alt=|thumb|292x292px]]
If you select the Kart repository or an individual layer dataset then you can choose to 'Show log' which provides a table of the commit history.
[[File:Commit History.png|none|frame|Kart Layer Dataset Commit History]]
Line 75:
== Using Remote Repositories ==
The above steps are for a local Kart repository. However, it is possible to use Kart with remote repositories. This is done by cloning a remote repository on Gitlab/Github or similar. Once a repository is cloned, changes can be push/pulled to and from the remote repository.
[[File:Remote repository.png|none|frame|Kart Push/Pull Functions to Remote Repository|alt=|thumb|300x300px]]It should be noted that the TUFLOW team have not made sufficient use of Kart with remote repository so cannot suggest that it is a recommended approach.
 
{{Tips Navigation