You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/field/filtering/index.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
description: Add custom filters to sort and display only those features that you need during your field survey.
3
3
---
4
4
5
-
# Feature Filtering in Mergin Maps Mobile App
5
+
# Filtering Features in Mergin Maps Mobile App
6
6
[[toc]]
7
7
8
8
Custom filters can be added to the <MobileAppNameShort /> to easily filter features displayed on the map as well as in the [survey layers](../layers/#browsing-features).
@@ -12,7 +12,7 @@ You can read about this feature also on our blog <MainDomainNameLink id="blog/fr
12
12
:::
13
13
14
14
## Enable and define filtering in QGIS
15
-
Filters can be enabled and defined in QGIS in **Project Properties**.
15
+
Filters can be enabled and defined in QGIS in **Project Properties** for GeoPackage layers.
16
16
17
17
::: tip Plugin upgrade
18
18
If you do not see the **Filtering** option in the **Project properties**, check for [plugin upgrades](../../setup/install-mergin-maps-plugin-for-qgis/#plugin-upgrade).
@@ -22,7 +22,7 @@ Check the :heavy_check_mark: **Enable filtering** option in the <MainPlatformNam
22
22
23
23
Then, define the filter:
24
24
-**Type** - the filter type (in general, it should match the widget type of the filtered field)
25
-
-**Layer** - choose from the project's layers
25
+
-**Layer** - choose from the project's GeoPackage layers
26
26
-**Field** - choose from the fields of the layer. Only fields with data types compatible with the selected filter type are offered.
27
27
-**Title** - the name of the filter, which will be displayed in the <MobileAppNameShort />
28
28
@@ -46,11 +46,11 @@ Don't forget to save your project and synchronise changes so that you can use th
46
46
47
47
**Boolean** filter provides a toggle between *all*, *true* and *false* values. Results are filtered based on SQL expression `"field" == 'input'`. Available for Boolean, text and integer field types configured with the [Checkbox widget](../../layer/checkbox/).
48
48
49
-
**Single select** filter provides a drop-down menu of field values. One value can be selected at once. The results are filtered based on SQL expression `"field" == 'input'`. Available for text and number field types configured with the [Value map or Value relation widget](../../layer/value-select/).
49
+
**Single select** filter provides a drop-down menu of field values. One value can be selected at once. The results are filtered based on SQL expression `"field" == 'input'`. Available for all field types. Note that Value relations with *multiple selections* are currently **not** supported.
50
50
51
-
**Multi select** filter provides a drop-down menu of field values. Multiple values can be selected at once. The results are filtered based on SQL expression `"field" IN ('input')`. Available for text and number field types configured with the [Value map or Value relation widget](../../layer/value-select/#value-relation).
51
+
**Multi select** filter provides a drop-down menu of field values. Multiple values can be selected at once. The results are filtered based on SQL expression `"field" IN ('input')`. Available for all field types. Note that Value relations with *multiple selections* are currently **not** supported.
52
52
53
-
In the <MobileAppNameShort />, the filter types looks as follows:
53
+
In the <MobileAppNameShort />, the filters look like this:
54
54
55
55

0 commit comments