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

Path simplification #108

Open
fengzee opened this issue May 28, 2022 · 1 comment
Open

Path simplification #108

fengzee opened this issue May 28, 2022 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@fengzee
Copy link

fengzee commented May 28, 2022

Motivation

In #106 a KML export feature is on its way. A major use case of the exported KML file is to import it into Google Earth for viewing flight path. However currently data points seems to be captured at frame rate, which is a quite high frequency, producing about 90k samples for a half-hour flight (in one of my tests). This would introduce severe performance issue when imported into Google Earth (or other KML viewing tools). And for flight path only this sample rate is unnecessarily high as between most data points the path line is straight.

Feature description

A "path simplification" feature is preferred when exporting data (to KML or CSV or other formats).

Data points should be dropped by the radius of path curve. More points should be retained when flight is in a sharp curve and less when in a straight flight. Necessary parameters should also be provided to control the simplification behavior, including

  • A switch for this simplification feature
  • A numeric parameter / a set of parameters determines if we want more path accuracy or if we want less data size / performance
@nguyenquyhy nguyenquyhy added this to the 0.20 milestone May 28, 2022
@nguyenquyhy nguyenquyhy added the enhancement New feature or request label May 28, 2022
@fengzee
Copy link
Author

fengzee commented May 28, 2022

I wrote a standalone script for both #106 and #108: https://github.com/fengzee/geo-tools/blob/main/src/transformers/simplifyCurve.js. It's a Node script to fulfill my needs to view my flights in Google Earth and Fog of World. It's better to make these features integrated with the Flight-Recorder, but I'm not familiar with .NET stack yet. So still looking forward to your version.

@nguyenquyhy nguyenquyhy modified the milestones: 0.20, 0.21 May 31, 2022
@nguyenquyhy nguyenquyhy modified the milestones: 0.21, 0.22 Jun 15, 2022
@nguyenquyhy nguyenquyhy modified the milestones: 0.24, 0.25 Jan 7, 2023
@nguyenquyhy nguyenquyhy modified the milestones: 0.25, 0.26 Sep 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants