aaronpk / Overland-iOS

📌 GPS logger for iOS devices
https://overland.p3k.app
Apache License 2.0
570 stars 88 forks source link

[Feature] Setting to not record points when "stationary" #164

Open HStep20 opened 2 hours ago

HStep20 commented 2 hours ago

I've been traveling with the app open at all times, and often it will record many many many data points as the GPS "hops around" during the night while I'm asleep. While I could easily close the app to not track new points while I'm sleeping, having a toggle to not save points when the device is stationary seems like an awesome option too.

It already tracks when the device is stationary, as seen under the mph indicator on the main screen, so filtering those points out would be awesome.

I know I could lower the accuracy and time to filter those points now, but I use it for geotagging photos and need the super accurate options running 🙂

aaronpk commented 2 hours ago

Using that "stationary" signal is a great idea, I don't know why I hadn't thought of that before.

In general it's not that hard to get the phone to stop delivering location updates when you get somewhere, what's hard is getting it to start back up again when you leave. But the reason this might work is that "stationary" is coming from the motion tracking API not the location tracking API, so I can keep that on and turn location off, but still get motion events to turn location back on.

Anyway I can't promise a timeframe for working on this, although I'll post here once I have a beta ready to test.

In the mean time, you can try turning on the "pause automatically" setting, and "resume with geofence", and that might get you close.