-
Notifications
You must be signed in to change notification settings - Fork 13
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
Improve processing of multi-track GPX files #90
Comments
A GPX file has a hierarchy of tracks, segments and points. You want to have the different tracks be split into separate activities? If so, how should the names be derived? From the activity path plus something like “track 1”, “track 2”? How would one know if one track is a cycle trip and the other track is a run? Personally I have separate activity files for such parts of the day and therefore created #94 where I want to provide a combined view for all activities for one day. Your request seems to be the complement of that. Removing the straight lines is easier. There is already the concept of jumps that occur when there are more than 30 seconds between the points. If you have intermediate train or ferry trips it should already remove those straight lines unless I forgot to honor them somewhere. Do you have an example where this has failed? |
I have one GPX file per day with a track per segment, e.g. one track for the ride from home to the local trains station and another track for the ride from the destination train station back home.
This would fit my needs but it does not work for my files.
The attached file is a striped down example of the above scenario: two short segments with a length of roughly 4kms, distant 46km from each other. geo-activity-playground displays a straight line between the segments and a distance of 50km. |
I've imported your activity into my test space. It does work with the explorer tiles, there is no straight line between the activities: But in the maps there is a straight line: So the problem is that the segments are separated in the explorer tile computation, but they are not honored on the maps. That is something that I can fix. |
Version 0.20.0 is released you can update and try it out. If the issue persists, please reopen this ticket. |
When a GPX file contains more than one track, these are processed as one single continuous track. The distance between the last point of a track and the first point of the following track is added to the total distance of the activity. A straight line between the two points is drawn on the map.
It would be nice if tracks would be kept separate for statistics and display. This would allow to have a single GPX file and a single activity per day even when two or more activity stages on the same day are separated from each other e.g. by a train or ferry trip.
The text was updated successfully, but these errors were encountered: