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

Filter out spurious gps points #326

Open
cyberorg opened this issue Oct 12, 2024 · 0 comments
Open

Filter out spurious gps points #326

cyberorg opened this issue Oct 12, 2024 · 0 comments

Comments

@cyberorg
Copy link

Many tracks show pilots teleporting far away and back, those points needs to be discarded.

Suggestions from chatgpt for nodejs libraries that can be used:

  1. If you want a pre-built solution, the gps-filter library is specifically designed for filtering out invalid or noisy GPS data.

  2. For more control, you can use gps-utils or geolib to calculate distances and speeds and apply your own filtering logic based on your requirements.

The second option can be used to calculate distance between current and last position and if it is greater than possible to achieve on speeds at last few positions then they can be discarded.

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

1 participant