3

I am using QField with QGIS. I don't understand the purpose of the tool Synchronize from QField.

I successfully created a QGIS project with relative paths (with data from a geopackage), successfully synced it with QField, opened and edited it on my mobile. After that, I transferred everything back to my PC.

I reopened the original QGIS project and specified the folder of the QField project in the SynchronizeFromQField tool menu (as described in the QField Documentation).

A process then started (loading bar was displayed and layers disappeared from the layers window). But it seems that simply the QField project file was opened. After the process, the data paths are changed to those of the QField Geopackage.

I can just open the QField project in QGIS and get the same result.

The changes made on the mobile are all correctly present in the QField Geopackage and are all correctly displayed in QGIS. What do I need the sync function for, if I can just open the Qfield project like this?

tested with QGIS 3.22 / QField v1.10.0 / QField Sync 4.0.0-BETA17

2
  • 2
    It depends on your workflow. If you're using data from a postgres database for instance, you probably won't want to take the entire dataset with you but rather a subset. In this instance, Qfield syncs the subset back into the master dataset.
    – Joe Be
    Commented Jan 20, 2022 at 10:15
  • But it does not work with local geopackages?
    – Kathrin
    Commented Jan 20, 2022 at 10:28

1 Answer 1

1

The synchronize tool from QField is supposed to sync your collected data back to your master dataset.

QField only works with .qgs files, so when you save your project make sure you select .qgs and not .qgz.

Then create two directories e.g. import and export

  • Save the packege for QField into the export directory
  • Move export directory to tablet
  • Sync with master dataset: copy the export directory from the tablet to the import directory on your computer.
  • Synchronize Project on QGIS: select the export directory, which you just copied in your import directory.

There is a tutorial on how to set up QField snycronization.

1
  • I don't think saving the project as a .qgs is necessary anymore; I have a number of (small) projects where I have forgotten to do this, and packaging and synchronization appear to work fine (and one, currently where they don't, for some as yet unknown reason, but saving the project as .qgs does not appear to help). Commented Mar 11, 2023 at 5:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.