Skip to content

How to Add, Edit, Delete Features โ€‹

The mobile app can be used to add, edit and delete features in the field by users with writer or editor permission to the Mergin Maps project.

Until the project is synchronised to Mergin Maps, all changes are local (stored only on your mobile device). Changes can be synchronised manually or automatically.

New to Mergin Maps?

If you are new to the mobile app, it might be useful to get familiar with the mobile app interface or to explore our tutorials that provide step-by-step instructions for common use cases.

Recording settings

The mobile app offers interesting options that can make your field survey easier and effective, such as reuse last entered value, automatic synchronisation, auto-lock of your GPS position or touch feedback to get a sound or vibration confirmation when adding features.

Adding features โ€‹

  1. In the mobile app, open a project you want to use
  2. Tap the Add button on the bottom navigation panel to enter the recording mode

Mergin Maps mobile app Record tab

The crosshairs you will see on your map are used as the recorded location. You can change the position of your point by pinching and dragging the background map. If you want to recenter the map to your current position, tap the GPS icon.

The active layer is displayed on the top of the map window. This layer is used for surveying new features. To switch to a different (editable) layer, tap on the active layer and select another one from the list. Active survey layer

In the recording mode, the bottom panel contains tools to capture geometry depending on the geometry type of the active layer. Once the geometry is recorded, you can fill in the attributes form and save the feature.

Below, we describe capturing point features, lines and areas as well as non-spatial records (e.g. adding a new entry to a table).

Attributes form make surveys easier!

Attributes forms can be set up in QGIS to make collecting data more efficient. For more details, see the Configure Forms section.

Capture points โ€‹

To record a new point, tap the Record button (you have to be in the recording mode).

Fill in values in the form and tap the Save โœ”๏ธ button. A point is added to the survey layer and is displayed on the map.

Add a point in Mergin Maps mobile app

If you are using a layer with the MultiPoint geometry type, you have the option to Add parts as well as Remove and Undo button to modify them while recording the feature. MultiPoint feature can also be recorded by using the streaming mode.

Adding a multipoint in Mergin Maps mobile app

Capture lines or areas โ€‹

Lines and polygons can be captured by adding vertices one by one or by using the streaming mode.

In the recording mode tap Add to capture vertices of your line or area. If you want to change the position of the last vertex, tap Remove and move the vertex to the correct place. Undo can be used to revert last changes.

Once the survey of the feature is completed, tap Record and fill in the form. Surveying lines in Mergin Maps mobile app

When using layers with multipart geometry types, parts of features can be added by tapping the More options button and selecting the Add part option.

Add feature part in Mergin Maps mobile app

Streaming mode โ€‹

Features can also be captured automatically based on your position. Streaming is not available for layers with Point geometry.

Here is a video tutorial:

Tap the streaming button while in the recording mode and Start streaming mode.

Mergin Maps mobile app start streaming mode

For layers with multipart geometry, the streaming option can be found in More options: Mergin Maps mobile app start streaming mode

The vertices will be added automatically as you walk along the feature.

To stop the streaming mode, tap the streaming button and then Stop streaming mode.

Mergin Maps mobile app stop streaming mode

Once you finish surveying the feature, tap the Record button. If you are capturing an area, the shape will be automatically closed by connecting the last and the first vertex.

Threshold intervals for streaming mode

It is possible to set the Threshold interval, i.e. how often you want to capture a vertex when streaming, in Settings of the mobile app. The interval can be defined as time elapsed in seconds or as distance travelled in metres.

Editing features โ€‹

Tap a feature on the map or tap and hold to select one from multiple overlaying features to display the form.

Use the Edit button to open the attributes form for editing. To edit the geometry of a feature, tap the Edit geometry button.

Once you are finished with your changes, use the Save โœ”๏ธ button.

Edit attributes and geometry in Mergin Maps mobile app

Features can also be browsed, edited and deleted through the Layers panel. Layers that are set as read-only in the project properties cannot be edited.

  • Tap the Layers button in the bottom navigation panel and select a layer to see the list of features it contains.
  • Select a feature from the list in the Layers panel to display its form and edit the values or geometry.

Layers in Mergin Maps mobile app

Editing geometry โ€‹

There are multiple options of editing the geometry of features depending on the geometry type of the survey layer: editing the vertices, redrawing or splitting features.

To edit geometry of a point feature simply adjust the location in the same manner as when adding new features.

Layers with MultiPoint, Line, MultiLine, Polygon and MultiPolygon geometries offer more options. Tap a feature, press the Edit button and then use Edit geometry. The vertices of the feature will be highlighted. You can move, Release or Remove them as needed. Tap the Record button to save the modified geometry.

Editing line geometry in Mergin Maps mobile app

Adding part of multipart geometry โ€‹

Parts can be added to features from survey layers with multipart geometry type (MultiPoint, MultiLine, MultiPolygon) while editing geometry.

Tap the More option button while editing geometry and use the Add part option.

Adding geometry part in Mergin Maps mobile app

Capture the part by using the editing tools and Record your changes. The part is added to the geometry of the feature.

Adding geometry part in Mergin Maps mobile app

Using streaming mode to edit geometry โ€‹

The streaming mode can be also used while editing features with compatible geometry type. Tap the More option button and use the Streaming mode.

Editing line geometry streaming

Redraw geometry โ€‹

The existing geometry of MultiPoint, Line, MultiLine, Polygon and MultiPolygon geometry can also be redrawn.

Tap the More option button and select the Redraw geometry option.

Capture the new geometry of the feature using the editing tools or streaming and use the Record button to save your changes.

Redrawing geometry of a line feature

Split geometry of lines or areas โ€‹

Lines and areas can be split into two or more new features that will keep the same attributes as the original feature.

Tap the More option button and select the Split geometry option. Create the splitting line by using the Add point button.

When finished, tap Done. Edit button in Mergin Maps mobile app

In this case, two individual features are created. Both have the same attributes, except for Feature ID (one feature keeps the original id, the other gets a new one). Geometry split successfully into two features

Multi-features editing โ€‹

Attributes of multiple features from the same layer can be edited at once. Multi-feature editing in Mergin Maps mobile app

  1. Tap on a feature on the map and select the Select more option.

    Depending on your mobile device, you may need to use a button next to Edit to display this option. Select more features button in Mergin Maps mobile app

  2. Select all features that should be edited.

  3. In the attributes form, enter the new values of attributes and Save.

    All selected features have been modified at once.

Snapping features โ€‹

Snapping can be enabled in your Mergin Maps project in QGIS to make the field survey easier. You can find the snapping options in How to Set Up Snapping.

If snapping is enabled, the crosshairs will turn purple and snap to vertices (left) or segments (right) of existing features when capturing new features or editing existing features. Snapping Vertices and Segments in Mergin Maps mobile app

Add or edit non-spatial features โ€‹

Non-spatial features, such as tables for value relations, can also be added or edited in the mobile app.

  1. Tap the Layers button and select the layer you want to edit Mergin Maps mobile app Layers panel

  2. Tap an existing feature to change it or tap the Add feature button to create a new feature Editing non-spatial features in Mergin Maps mobile app

  3. Fill in the attributes and Save โœ”๏ธ the changes

Avoid polygons overlap โ€‹

In QGIS, you can set the option to avoid overlapping for polygons. This setting is stored in the Mergin Maps project and used when editing features both in QGIS and the mobile app.

See How to Avoid Polygons Overlap for more details.

Mergin Maps mobile app avoid polygon overlap

Deleting features โ€‹

  1. Tap on a feature on the map or find it through Layers
  2. Use the Edit button to open the attributes form
  3. Tap the Delete button and confirm the deletion

After confirming that you want to delete the feature, it will be removed from the layer.

Delete feature in Mergin Maps mobile app

Multi-features deleting โ€‹

Multiple features can be deleted at once:

  1. Select one of the features you want to delete and use the Select more button.

    Depending on your mobile device, you may need to use a button next to Edit to display this option.

  2. Select all features that should be deleted on the map

  3. Use the Delete button to delete all selected features at once

Delete multiple features in Mergin Maps mobile app