Skip to content

Commit 4380619

Browse files
Mergin Maps Input - Tracking (#311)
* input tracking * tracking plugin * Update mobile versions --------- Co-authored-by: Tomas Mizera <tomas.mizera@lutraconsulting.co.uk>
1 parent 42521d5 commit 4380619

12 files changed

+58
-0
lines changed

src/.vuepress/sidebar/en.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ module.exports = {
9393
'/field/autosync/',
9494
'/field/layers/',
9595
'/field/input_features',
96+
'/field/tracking/',
9697
'/field/reuse-last-values/',
9798
'/field/stake-out/',
9899
'/field/broken-project/',

src/field/tracking/index.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# How to Use Tracking in Mergin Maps Input
2+
<SinceBadge type="App" version="2.3.0" />
3+
4+
Position tracking is useful when you want to record your tracks during the field survey. This can help you know the extent of areas you have already surveyed in addition to the surveyed features.
5+
6+
## Set up tracking in QGIS project
7+
Tracking needs to be enabled in QGIS when [preparing your <MainPlatformName /> project](../../gis/features/#tracking).
8+
9+
1. Open your <MainPlatformName /> project in QGIS
10+
2. Navigate to **Project** > **Properties**
11+
![QGIS Project Properties](../../gis/qgis-project-properties.jpg "QGIS Project Properties")
12+
13+
3. In the <MainPlatformName /> tab, check the **Enable tracking** option.
14+
![Enable tracking in QGIS Mergin Maps project](../../gis/project-tracking.jpg "Enable tracking in QGIS Mergin Maps project")
15+
16+
You can also choose how often the position should be recorded.
17+
18+
This affects the accuracy of the tracking and it may affect the battery usage: for longer surveys that don't require high accuracy, you may want to choose the **Low** option. If you need to have more detailed tracking, choose **Best** available accuracy.
19+
20+
4. Don't forget to save and synchronise your project!
21+
22+
Enabled tracking means that a new line layer for tracking will be created in your <MainPlatformName /> project called `tracking_layer.gpkg`. This layer is created with a set of fields with set up [default values](../../layer/settingup_forms_settings/#default-values):
23+
24+
25+
| Field name | Data Type | Default variable | Description |
26+
|--------------------------|----------------|------------------------|--------------------------------------|
27+
| `tracking_start_time` | DateTime | `@tracking_start_time` | Date and time when tracking started |
28+
| `tracking_end_time` | DateTime | `@tracking_end_time` | Date and time when tracking ended |
29+
| `total_distance` | Real | `$length` | Tracked distance |
30+
| `tracked_by` | String | `@mergin_username` | Name of the current <MainPlatformNameLink /> user |
31+
32+
You can add new fields as needed, however, they should be set up with automatically generated [default values](../../layer/settingup_forms_settings/#default-values) as <MobileAppName /> will not open the form for manual inputs. You may use some of the QGIS functions, [extra position variables](../../layer/position_variables/) or [extra QGIS variables](../../layer/plugin-variables/).
33+
34+
## Using tracking in Mergin Maps Input
35+
36+
To use tracking in <MobileAppName />, make sure that you enabled tracking in the QGIS project's settings.
37+
38+
1. Tap **More** and select the **Position tracking** option.
39+
![Mergin Maps Input Position tracking](./input-position-tracking.jpg "Mergin Maps Input Position tracking")
40+
41+
2. Tap **Start tracking**. You can capture and edit features in the usual way even during the tracking.
42+
![Start tracking in Mergin Maps Input](./input-start-tracking.jpg "Start tracking in Mergin Maps Input")
43+
44+
3. To stop tracking, go to **Position tracking** option and tap **Stop tracking**
45+
![Stop tracking in Mergin Maps Input](./input-stop-tracking.jpg "Stop tracking in Mergin Maps Input")
70.3 KB
Loading
802 KB
Binary file not shown.
101 KB
Loading
663 KB
Binary file not shown.
67.8 KB
Loading
1.04 MB
Binary file not shown.

src/gis/features.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ Names of the photos that are captured in the field using <MobileAppName /> can b
6969
### Snapping
7070
<SinceBadge type="Plugin" version="2022.5" /><SinceBadge type="App" version="1.6.0" />
7171
If you want to use snapping in <MobileAppName /> during the field survey, you need to set it up in the **<MainPlatformName />** tab in **Project properties**.
72+
7273
![QGIS set snapping in Mergin Maps](./project_snapping.jpg "QGIS set snapping in Mergin Maps")
7374

7475
The snapping options are:
@@ -80,6 +81,16 @@ The snapping options are:
8081
[How to Set Up Snapping for <MobileAppName />](./snapping/) contains detailed steps that may help you with the snapping setup.
8182
:::
8283

84+
85+
### Tracking
86+
<SinceBadge type="Plugin" version="2023.3" /><SinceBadge type="App" version="2.3.0" />
87+
88+
Tracking your position when doing the field survey with <MobileAppName /> can be enabled in the **<MainPlatformName />** tab in **Project properties**.
89+
90+
![Enable tracking in QGIS Mergin Maps project](./project-tracking.jpg "Enable tracking in QGIS Mergin Maps project")
91+
92+
You can read more about this functionality in [How to Use Tracking in Mergin Maps Input](../field/tracking/).
93+
8394
### Map themes
8495
[Map Themes](./setup_themes/) make possible to switch between different background maps in <MobileAppName /> (e.g. cartography maps and aerial imagery)
8596

src/gis/project-tracking.jpg

244 KB
Loading

src/gis/project-tracking.xcf

261 KB
Binary file not shown.

src/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ The ecosystem consist of various components:
8282
- [Synchronisation in <MobileAppName />](./field/autosync/)
8383
- [Layers in <MobileAppName />](./field/layers/)
8484
- [How to Add, Edit, Delete Features](./field/input_features/)
85+
- [How to Use Tracking](./field/tracking/)
8586
- [How to Reuse Last Entered Values](./field/reuse-last-values/)
8687
- [How to Stake Out Points](./field/stake-out/)
8788
- [How to Fix a Broken Project](./field/broken-project/)

0 commit comments

Comments
 (0)