mendhak / mendhak/gpslogger

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

Open
#1,237 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
2.6k
Forks
653
Avg merge
4d 1h
Merged PRs (30d)
1

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Trace the distance-filter decision together with hourly and new-log-file creation, then verify that the location is recorded at each hour or new file while the filter still suppresses other duplicate locations.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.