Data Source and project paths

Data Source and project paths

The original version of this document is located at https://docs.qfield.org/how-to/project-setup/data_source_and_project_paths

Data Source & Project Paths

Save and store projects and layers using multiple methods and formats.
Save all project-related data in the same directory as your QGIS project file unless using Shared Datasets.
When working with projects containing many lookup tables, hide specific layers from field collectors to streamline the user experience.

Data Source Configuration

Hide layer attributes or lookup tables during field data collection by configuring layer capabilities.

Workflow

🖥️ Desktop preparation

  1. In QGIS, navigate to Project > Properties… > Data Sources.

Configuring Layers Data Sources

Configure layer capabilities using the following options:

  • “Identifiable”: Unchecking this option prevents features in the layer from being identified in QGIS and QField.
  • “Read-Only”: Checking this option prevents adding, editing, or deleting features in the layer.
  • “Searchable”: Checking this option includes layer attributes in search bar queries and expression evaluations.
  • “Required”: Checking this option keeps the layer visible and prevents users from toggling its visibility on the map canvas.
  • “Private”: Checking this option hides the layer from the project legend and layer tree.

Relative Project Path

Set all file paths for datasets and attachments to relative to make your project portable across devices.
To manually transfer and synchronize your QGIS project to QField or another client, use relative file paths for your QGIS project file (.qgs or .qgz).

Workflow

🖥️ Desktop preparation

  1. Navigate to Project > Properties… > General.
  2. Ensure “Save paths” is set to “Relative”.
  3. Ensure all required dataset files are located in the same directory as the QGIS project file or within subdirectories.

Project Properties - Relative Project Path

Learn more about preparing projects for fieldwork in the QFieldCloud Get Started Guide or QFieldSync Get Started Guide.

    • Related Articles

    • Portable project

      The original version of this document is located at https://docs.qfield.org/how-to/advanced-how-tos/movable-project Portable project To manually synchronize your QGIS project, you will need a portable version of your QGIS project file (.qgs, .qgz). ...
    • Project selection

      The original version of this document is located at https://docs.qfield.org/how-to/general/projects Project Selection QField includes a file selector to open local projects stored on your device. To open cloud projects, see QFieldCloud. Note Starting ...
    • Data collection of rural water supply systems

      The original version of this document is located at https://docs.qfield.org/success-stories/rwanda-rural-water Data collection by QGIS/QField for O&M work of rural water supply systems in Rwanda By Rural Water and Sanitation Services ...
    • Project creation in QFieldCloud

      The original version of this document is located at https://docs.qfield.org/get-started/tutorials/create-project-qfc Creating Projects in QFieldCloud There are multiple options available to initialize and build a project in QFieldCloud: Using QGIS ...
    • Multilingual project support

      The original version of this document is located at https://docs.qfield.org/how-to/advanced-how-tos/multilingual-projects Multilingual Project Support QField supports project localization, allowing a single QGIS project file to display in multiple ...