gpslogger icon indicating copy to clipboard operation
gpslogger copied to clipboard

Ignore the “distance filter” setting once at the start of every hour and/or at the start of any new log file

Open hollownights opened this issue 7 months ago • 2 comments

As it is now, when using the “distance filter” setting, if a person stays for an hour or more at the same place, it’s really easy to end up with an incomplete registry, with no new files for hours. I’m creating a new file for every hour (%YEAR-%MONTH-%DAY-%HOUR) and constantly facing this issue. The solution is simple, though: just, as the title says, have the app ignore the “distance filter” setting once at the start of every hour and/or at the start of any new log file and register the location even if it is the same as previously seen. This way, as long as the user is not using some crazy setup (a new file for every minute or second, let’s say), the app would write a consistent registry, with no missing hours, while, at the same time, not spamming the registry with the same location (so, respecting the filter). This could be a setting by itself to be activated by the user, of course.

hollownights avatar Jun 09 '25 14:06 hollownights

Hi I've tried thinking about it, and having a file for every hour sounds like a nice aesthetic but I am not able to see what practical purpose it serves? It would add unnecessary complexity to the app and I'd like to keep the settings to do just as they say. Another option isn't a bad thing but only really added when it's necessary.

mendhak avatar Jun 09 '25 21:06 mendhak

Hi!

I've tried thinking about it, and having a file for every hour sounds like a nice aesthetic but I am not able to see what practical purpose it serves?

Leveraging on the fact that the app only uploads the most recent log file, an hourly file uploaded to a server in “real time” (in my case, every 10 minutes and when the logging is stopped) allows for data authenticity checks through immutability: older files are not being edited, so, when looking at the files in a server, I can be sure that the log for X hour was only written during X hour and, combined with the server logs, uploaded to the server at X hour (well, right after it). This would not be possible with a bigger file that is being edited and re-uploaded all the time.

I'd like to keep the settings to do just as they say

Not sure if I agree. The current settings would still do as they say, only taking a precaution to not have gaps in the registry.

hollownights avatar Jun 10 '25 13:06 hollownights