gpxstudio / gpxstudio.github.io

The online GPX file editor
https://gpx.studio
MIT License
613 stars 108 forks source link

Display multiple tracks simultaneously #166

Open kilpkonn opened 2 years ago

kilpkonn commented 2 years ago

First of all, amazing project! really like it!

Idea

One feature that could be helpful for me is if all tracks loaded could be played back at the same time so I could visually see movement of many gps trackers at once. By same time I mean that gps timestamps would be used so it won't matter if someones track is longer or shorter. Simple use case flow would be: 1) Load tracks 2) Start playback (perhaps disable editing) 3) Adjust playback speed with keys etc, custom tail length maybe (both are more nice to haves) 4) Pause tracks playback with key etc. 5) Stop playback (enable editing if it was disabled)

Wanted to ask if also anyone else would use something like it and how complicated would be to implement with current architecture?

jsavage commented 2 years ago

Hi, I agree that the ability to display multiple tracks simultaneously would be useful. However, I suggest changing the title of this feedback so that it reflects this and not "Automatic Playback".

mapa4 commented 2 years ago

To be honest, I do not understand your concept of "playback" and "movement" ? Is it simulation or animation of the traveler on a track ? GPXStudio is a trace editor, what would be the real need or use case to do this ?

kilpkonn commented 2 years ago

I was thinking of animation of the traveler on the track. For trace editing, it might give some insight into time dimension / how track points are located in time.

It might fall out of scope of this project, but I'll lay out my use-case here so you can decide better: Basically I have multiple tracks (from multiple gpx files), each originating from a different person and representing a path the person took in a race (sailing or orienteering). Since there are usually multiple races in a single track, I first split the tracks into segments, each separating a persons path in a single race. Then I keep tracks for nth race and try to analyze them. Since the speeds are not constant, it is not so easy to understand how track points are laid out over time. The animated playback could however make it a lot easier to understand.

I hope I expressed my use-case in a more clear way now :stuck_out_tongue: Anyway, if it falls out of scope, I understand. Just wanted to rise discussion and see what others think :smile:

mapa4 commented 2 years ago

I see this is clear now, thanks, so you want to determine what time it took at the 35th km for example dependint on the guy who did the race, right ?

kilpkonn commented 2 years ago

Basically yeah Although to be clear I usually want position based on timestamp (as it is already done when i hover the elevation graph) I just want position on every of the tracks loaded to be visualized at the same time.

I guess automatic playback is not so important as I can also hover smoothly with mouse, just want it to affect all tracks at once. image I'm thinking that something like in the image above could work with the least amount of trouble

Having only past n sec of track visible could be nice, but I guess this is out of scope for now

mapa4 commented 2 years ago

Humm, not sure it would be enough universal to be developed, let see what vcoppe will say.