Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong timestamp in GPX export file #47

Closed
larskarla opened this issue Dec 24, 2023 · 1 comment
Closed

Wrong timestamp in GPX export file #47

larskarla opened this issue Dec 24, 2023 · 1 comment
Assignees

Comments

@larskarla
Copy link

Did a recording on an airplane last week, with an interval of 30 s between points.
The gpx export file has wierd timestamps.
The first timestamp is just for one single position, the next is 9:15 minutes later and repeated for 7 positions, next is 8:48 later and repeated for 16 positions, next is one second later and repeated for 5, and so on.
Total of 300 points for a 2.5 hour trip so that adds up, but the timestamps are all wrong.
A graph of the elevation points gives a smooth curve so the position intervals is correct.

First points:
68,000 2023-12-18T05:05:50Z65,336 2023-12-18T05:15:05Z66,277 2023-12-18T05:15:05Z63,706 2023-12-18T05:15:05Z63,706 2023-12-18T05:15:05Z....

@BradPatras
Copy link
Owner

I think you've uncovered a really silly bug in the code, I'm assuming that getting a GPS fix in an airplane is really tough so the system is sending a bunch of location updates in batches. (like in your example, 7 at once, 16 at once, etc.) The app receives these updates all in one batch and applies the current time to all of them. The app should be offsetting the timestamp by the age attached to each individual location object.

Thanks for opening this issue! I will work on getting a fix out soon.

@BradPatras BradPatras self-assigned this Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants