MerginMaps / MerginMaps/mobile

Not possible to use Identify feature when there is a rule-based rendering with invisible features

Open
#3,290 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
388
Forks
87
Avg merge
2d 7h
Merged PRs (30d)
20

Description

This is a very corner case but it took me a while to get to the bottom of it. The bug is present in the release and beta-release:

In [this project](https://app.merginmaps.com/projects/saber/multipolygon) I have a polygon with 2 features. I have set the rule-based rendering to only display the feature with fid=1 and no other rule to catch the rest of features.

If you open the app, you cannot identify the feature displayed on the screen on the mobile.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the linked Mergin Maps project on the mobile app, using the release or beta-release. Exercise the Identify feature with rule-based rendering that displays only fid=1 and leaves other features unmatched. Done means the displayed feature can be identified on the mobile device.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.