Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the possibility to use filters with OR / AND logic #210

Open
GrazianoCapelli opened this issue Aug 8, 2023 · 3 comments
Open
Labels
discuss Ideas, mockups, constructive criticisms, and suggestions are welcome!

Comments

@GrazianoCapelli
Copy link
Member

Some software uses filters in AND logic, some other in OR.
I report here what a user send us via email:

I would like to use the feature "Intervall-Filter" and "Distance-Filter"
together, but with an "AND" logic. Is it possible to implement an
additional button at the settings, to switch between "AND" or "OR" logic?

The reason is, that I don't want to record data if I havn't reached a
user defined distance (for example when I hold the position).

We could add a setting that allow the user to select the desired logic for filters.

Time for discussion...

@GrazianoCapelli GrazianoCapelli added the discuss Ideas, mockups, constructive criticisms, and suggestions are welcome! label Aug 8, 2023
@icrf2000
Copy link

icrf2000 commented Dec 8, 2023

That choice would be good to have. For example the setting

DIST>4m OR INTERVAL>20s

is good for a hiking track, but not good for tracking a flight. Here,

DIST>4m AND INTERVAL>20s

would be appropriate.

@icrf2000
Copy link

icrf2000 commented Dec 12, 2023

Just used a modified version with OR replaced by AND. I find it good this way, better than OR. Perfect would of course be to have the choice.

@TimTrek
Copy link

TimTrek commented Oct 6, 2024

@GrazianoCapelli

As @icrf2000 already mentioned, I would find the option of being able to link the ‘Interval-filter’ and the ‘Distance-filter’ SELECTIVELY with an ‘AND’ or ‘OR’ logic totally useful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss Ideas, mockups, constructive criticisms, and suggestions are welcome!
Projects
None yet
Development

No branches or pull requests

3 participants