View Single Post
Old 10-01-23 | 09:45 PM
  #78  
Koyote
Senior Member
Titanium Club Membership
5 Anniversary
Community Builder
Community Influencer
 
Joined: Sep 2017
Posts: 10,300
Likes: 14,751
Originally Posted by mschwett
nah, given the nature of the XML schema for bike rides, you could pretty easily do this. break the tags onto columns, one row per trackpoint, a simple if statement referencing the elevation and distance of the prior and current row gives you the grade between those two points. then another statement discarding that point if the grade is less than some selected percentage. weight the remaining grades by the distance they represent, and there you go. you could make a histogram or averages or whatever you want.
Show us an example from a strava or ridewithgps file, and let us know how long it takes you to create it.

Serious request. I'm genuinely curious.
__________________
Koyote is offline  
Reply