umap icon indicating copy to clipboard operation
umap copied to clipboard

When filtering elements hide layer names that don't return a value

Open Sidapo opened this issue 2 years ago • 4 comments

Is your feature request related to a problem? Please describe. When filtering features all layer names in the project are still displayed, including the layer names that don't return a value. In my opnion this clutters up the result list and makes it harder to find the layers that have a result. This is especially true when using a small screen. See example: signal-2023-06-29-104447_1

Describe the solution you'd like When filtering features I would like to only get shown the layer name that actually returns a value. signal-2023-06-29-104447

Sidapo avatar Jun 29 '23 09:06 Sidapo

Makes sense!

But I'd find a way to make clear that there are hidden layers due to filtering. Maybe we should have something like "Show filtered layers" ? @Aurelie-Jallut, any clue ?

yohanboniface avatar Jun 29 '23 13:06 yohanboniface

When you start entering something in the filter bar (ex "br"), it seems logical to me that you should only see layers or objects with br in the title).

@yohanboniface What's the point of displaying layers that don't match what I'm looking for?

Aurelie-Jallut avatar Jun 30 '23 07:06 Aurelie-Jallut

That's not exactly the point: when filtering with "br" we filter features (points, lines, etc.). The point here is to hide the layers for which no feature match the filter.

yohanboniface avatar Jun 30 '23 08:06 yohanboniface

I am confused as well as to how the Filter feature should be used. For example, I have a long list of layers on this map:

https://umap.openstreetmap.fr/en/map/rideshare-public_789193#8/44.686/-72.892

I am using this map to become some sort of list of all the motorcycle rides I have recorded over the years.

I was expecting the filtering function to let me filter layers, so I could type in something like 2023 or 2024 and it woud only list the layers that contained the string '2024' or '2023'. The results I get now are not intuitive for me: I don't know what the filter actuall searches for. See image:

image

pfbreton-perso avatar Apr 22 '24 19:04 pfbreton-perso