Skip to content

Commit b15d763

Browse files
authored
add info about geopackage, update single and multiple select field types (#756)
2 parents a8152c7 + 1f4d085 commit b15d763

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/.vitepress/sidebar/en.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export default {
111111
{ text: 'Synchronisation in Mergin Maps Mobile App', link: '/field/autosync/' },
112112
{ text: 'Measurement Tools', link: '/field/measure/' },
113113
{ text: 'Layers in Mergin Maps Mobile App', link: '/field/layers/' },
114-
{ text: 'Feature Filtering', link: '/field/filtering/' },
114+
{ text: 'Filtering', link: '/field/filtering/' },
115115
{ text: 'Map Sketching', link: '/field/map-sketching/' },
116116
{ text: 'Photo Sketching', link: '/field/photo-sketching/' },
117117
{ text: 'How to Add, Edit, Delete Features', link: '/field/mobile-features/' },

src/field/filtering/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: Add custom filters to sort and display only those features that you need during your field survey.
33
---
44

5-
# Feature Filtering in Mergin Maps Mobile App
5+
# Filtering Features in Mergin Maps Mobile App
66
[[toc]]
77

88
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
1212
:::
1313

1414
## 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.
1616

1717
::: tip Plugin upgrade
1818
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
2222

2323
Then, define the filter:
2424
- **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
2626
- **Field** - choose from the fields of the layer. Only fields with data types compatible with the selected filter type are offered.
2727
- **Title** - the name of the filter, which will be displayed in the <MobileAppNameShort />
2828

@@ -46,11 +46,11 @@ Don't forget to save your project and synchronise changes so that you can use th
4646

4747
**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/).
4848

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.
5050

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.
5252

53-
In the <MobileAppNameShort />, the filter types looks as follows:
53+
In the <MobileAppNameShort />, the filters look like this:
5454

5555
![Filter types in Mergin Maps mobile app](./mobile-filter-types.webp "Filter types in Mergin Maps mobile app")
5656

src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ The ecosystem consist of various components:
105105
- [Synchronisation in <MobileAppName />](./field/autosync/)
106106
- [Measurement Tools](./field/measure/)
107107
- [Layers in <MobileAppName />](./field/layers/)
108-
- [Feature Filtering in <MobileAppName />](./field/filtering/)
108+
- [Filtering Features in <MobileAppName />](./field/filtering/)
109109
- [Map Sketching in <MobileAppName />](./field/map-sketching/)
110110
- [Photo Sketching in <MobileAppName />](./field/photo-sketching/)
111111
- [How to Add, Edit, Delete Features](./field/mobile-features/)

0 commit comments

Comments
 (0)