MerginMaps / mobile

Mobile app for Mergin Maps 📲. Open QGIS projects and manage vector data on your phone, even offline 📶 (Android/iOS/Windows app)
https://merginmaps.com
GNU General Public License v2.0
292 stars 64 forks source link

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

Open saberraz opened 4 months ago

saberraz commented 4 months ago

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

saberraz commented 4 months ago

The work-around is to have ELSE as a rule and apply no style to the resulting features.

PeterPetrik commented 4 months ago

is this bug of feature :) @wonder-sk

wonder-sk commented 4 months ago

sounds like a bug to me :slightly_smiling_face:

saberraz commented 4 months ago

Well, if you consider user expects the same behavior as QGIS, it is a bug. In QGIS, you can still identify visible features.