GPSLogger icon indicating copy to clipboard operation
GPSLogger copied to clipboard

Implement the possibility to use filters with OR / AND logic

Open GrazianoCapelli opened this issue 2 years ago • 3 comments

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 avatar Aug 08 '23 21:08 GrazianoCapelli

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 avatar Dec 08 '23 09:12 icrf2000

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.

icrf2000 avatar Dec 12 '23 19:12 icrf2000