Skip to content

Commit b1bb4b8

Browse files
committed
relations tip
1 parent 865bcc5 commit b1bb4b8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/layer/relations/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# Relationships
22

3+
4+
It is often the case that you have a set of spatial features and you want to record their status every now and then. For example, there is a GIS layer representing the manholes and the surveyors carry out regular inspections of the manholes using <MainPlatformNameLink />. Instead of duplicating the manhole layer and recording each inspection as a new feature, inspections can be recorded in a non-spatial table that is linked to the spatial layer. This way, multiple records can be linked to one feature.
5+
36
:::tip Example project available
47
You can clone these projects to take a closer look at 1-N relations:
58
- Adding multiple **records** to a single feature: <MerginMapsProject id="documentation/forms_one-to-many-relations" />
69
- Adding multiple **photos** to a single feature: <MerginMapsProject id="documentation/forms_multiple_photos" />
710
:::
811

9-
It is often the case that you have a set of spatial features and you want to record their status every now and then. For example, there is a GIS layer representing the manholes and the surveyors carry out regular inspections of the manholes using <MainPlatformNameLink />. Instead of duplicating the manhole layer and recording each inspection as a new feature, inspections can be recorded in a non-spatial table that is linked to the spatial layer. This way, multiple records can be linked to one feature.
10-
1112
The image below shows the manhole locations and a form with listed inspections in <MobileAppName />.
1213

1314
![Multiple inspections linked to one point in Mergin Maps mobile app](./mobile-1-n-relation.jpg "Multiple inspections linked to one point in Mergin Maps mobile app")

0 commit comments

Comments
 (0)