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

gpx more than 1 <trk> #16

Open
parkstraat9 opened this issue Jan 5, 2021 · 1 comment
Open

gpx more than 1 <trk> #16

parkstraat9 opened this issue Jan 5, 2021 · 1 comment

Comments

@parkstraat9
Copy link

I have a gpx file that has more than 1 < trk > section.
When I read that file with $activity->getTotalDistance()
I got only a part of the total distance.

Is there an option to read all < trk > segments at once?

example file:
https://www.dropbox.com/s/ovikbiex7ikp6zy/Grand%20TUHR.GPX?dl=1

@cwarwicker
Copy link
Owner

Hi,

I'm a bit confused by that file. It looks like the 2nd section contains elements from various different dates and times.

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