Was wondering if it would be possible to add a function to export distance/elevation data of a route to a CSV or JSON file. Ideally just a text representation of the elevation plot.
Would help for me to get this data into a spreadsheet so I can plot climbing effort (and descending!) along a long route to give better estimates of checkpoint times.
Comments
Would the KML download work? If you have the elevation plot showing and download as KML, that’s essentially CSV (ok, with a few extra lines at top and bottom!); each line is longitude, latitude, and elevation.
Oh, I'll try that.
I guess if I want to do the distance along the route I can use the haversine formula for each pair of points.
Thanks!
Just tried and unfortunately all the elevation data is zero
Haversine is definitely the way forward – that’s what c.t uses under the hood too!
Do you have the elevation on-screen when you download the KML? It’ll only include it in the download if the graph is actually showing.
Ah, there we go.