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

Incremental distance / length? #240

Closed
tomfrankkirk opened this issue Nov 9, 2021 · 0 comments
Closed

Incremental distance / length? #240

tomfrankkirk opened this issue Nov 9, 2021 · 0 comments

Comments

@tomfrankkirk
Copy link

Sorry if I'm being thick and there is an obvious answer for this.
I'm looking to get a running distance within a track. Ie, for each GPX point, the distance covered so far within that track.

Clearly, the various length(), length_2d(), length_3d() methods could do this, but they return a single flattened value (a reduction operation) whereas I would like the running total (aka cumulative sum I think?).

Happy to make the edit and submit a PR, just thought I would check first.
Thanks.

@tkrajina tkrajina closed this as not planned Won't fix, can't repro, duplicate, stale Nov 4, 2022
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