BasicAirData / GPSLogger

A GPS logger for Android mobile devices
http://www.basicairdata.eu/projects/android/android-gps-logger/
GNU General Public License v3.0
401 stars 126 forks source link

Feature request: Accuracy filter #57

Open sanch3z opened 6 years ago

sanch3z commented 6 years ago

It would be great if you could set a minimum accuracy so points with bad accuracy won't get recorded.

Cheers.

GrazianoCapelli commented 6 years ago

It is a good and useful feature. We have to think well how to implement it.

Here the users can write various ideas, in order to have a good brain-storming material.

At first sight, if we want to give a complete accuracy filter, we would need some settings: 1) A general ON/OFF slider to enable / disable the "Accuracy filter" feature; 2) A setting entry to set the threshold (in meters / feet), like we do with the altitude offset; 3) A setting that specifies the behavior of the setting filter: Record and notify (vibration? play sound?), Discard and notifiy, Discard without notification

Furthermore, we could easily extend the alarm feature to the "FIX lost" case, adding another general ON/OFF slider.

But maybe the next thinking we'll be better, simpler and clearer

ygoe commented 4 years ago

That's a good addition. The app I used before had that, too. Here's how I would do it:

Keep it simple. Only make a single user setting, not more buttons and sliders. If the user wants "quality" locations, that's likely a decision for life. If the user enables it, it should always be in effect. At most I'd display a small icon about the current state in the main screen.

If it is detected that the accuracy has been too low recently, a warning could be displayed in the main screen. The average accuracy of recent locations would be helpful to adjust the filter appropriately. A tap on that warning might even display a small graph of the accuracy from the last couple minutes.

In no case should locations of lower accuracy be recorded. That's what the filter is for. If anything, a notification could warn the user about (many) filtered locations. Single filtered locations here and there shouldn't annoy the user every time.

My Android 10 lets me configure notification categories for most apps, including style, sound and vibration. A separate category could be used for this event. (Older Androids like the version 7 I had before don't support this. I don't know how other apps deal with this. I think they just ignored it and you couldn't configure each category.)