Thanks for this great module.
I got it - and the graphs - working but I'm wondering whether it is possible to display anything else then 'Altitude' / 'Distance'?
For instance, my tracks are almost always on flat terrain, and the altitude is not interesting. I would like however, to show the speed versus time displayed.
Any pointers where to look in the code maybe?
Also, I guess timestamps aren't always available in all formats?
Comments
Comment #1
askibinski commentededit: I know it wouldn't be the actual recorded speed, but still if you know time and location (distance covered) one should be able to plot an average speed between every record, which should be quite accurate.
Comment #2
raintonr commentedIf you used an input format that has more data, yes, it is possible to graph those values. For example, the TCX module knows about time, heart rate and cadence so you can graph them.
Look in the comments for
_trackfield_graph_graphargs, they say:You can use theme functions to display the correct path and URL. I didn't make any complicated options because the way graphs are laid out will be very dependant on themes so best left to individual site admins to choose.
If you want to plot speed then you'll have to calculate it. This would be done in
trackfield_csv.module. Take a look at the bottom of there, the code says:So what you could do is modify this part so when 'seconds' is known you also create 'speed'.
It would be a nice feature, so have a crack and if you can create a patch then all the better.
Comment #3
askibinski commentedThanks, I will check it out!