This is a from a file from Strava generated on an iPhone.
Is there a way to convert it to gpx?
I put in the beginning of the file when heart rate, hr, was 60, then later one once I was moving, and the end of the file. Obviously hr is sprinkled in from time to time. Often very close to every second, but then it drifts. The file just ends as shown here. paus is presumably pause which the program requires before stopping. I imagine if you paused and restarted it would have another strt.
I’m not yet requesting that this be added to GPSBabel, but Strava is popular. But don’t know how many people are digging out this file and want to work with it.
I would like to load it into Ascent, a good, but long unsupported program. Ascent handles gpx, but don’t know what it expects for heart rate.
strt: t:442274070.571564 hr: v:60.000000; t:1420581270.674859; wp: lat:33.823775; long:-118.368278; hacc:1414.000000; vacc:10.000000; alt:46.013519; speed:-1.000000; course:-1.000000; t:1420581270.911244; dt:1420581270.916915, dist:0.000000 wp: lat:33.824481; long:-118.367274; hacc:1414.000000; vacc:10.000000; alt:46.013519; speed:-1.000000; course:-1.000000; t:1420581270.966093; dt:1420581270.971293, dist:0.000000 wp: lat:33.824835; long:-118.366772; hacc:1414.000000; vacc:10.000000; alt:46.013519; speed:-1.000000; course:-1.000000; t:1420581270.974278; dt:1420581270.980752, dist:0.000000 wp: lat:33.825011; long:-118.366521; hacc:1414.000000; vacc:10.000000; alt:46.013519; speed:-1.000000; course:-1.000000; t:1420581270.980927; dt:1420581270.986745, dist:0.000000 hr: v:60.000000; t:1420581271.674313; wp: lat:33.812261; long:-118.383594; hacc:50.000000; vacc:96.000000; alt:56.578022; speed:0.000000; course:-1.000000; t:1420581272.162422; dt:1420581272.183868, dist:0.000000 … hr: v:110.000000; t:1420581503.774007; wp: lat:33.809755; long:-118.384701; hacc:5.000000; vacc:4.000000; alt:62.196552; speed:1.670000; course:165.937500; t:1420581504.230349; dt:1420581504.245299, dist:363.185229 hr: v:110.000000; t:1420581504.774005; wp: lat:33.809738; long:-118.384692; hacc:5.000000; vacc:4.000000; alt:62.610554; speed:2.170000; course:161.718750; t:1420581505.294441; dt:1420581505.306045, dist:366.836077 hr: v:110.000000; t:1420581505.773943; wp: lat:33.809721; long:-118.384684; hacc:5.000000; vacc:4.000000; alt:64.164448; speed:1.970000; course:161.718750; t:1420581506.280267; dt:1420581506.303622, dist:366.836077 hr: v:110.000000; t:1420581506.773943; wp: lat:33.809707; long:-118.384677; hacc:5.000000; vacc:4.000000; alt:63.869831; speed:1.850000; course:159.960938; t:1420581507.223398; dt:1420581507.237045, dist:370.564706 hr: v:110.000000; t:1420581507.774318; wp: lat:33.809692; long:-118.384670; hacc:5.000000; vacc:4.000000; alt:63.272663; speed:1.910000; course:159.960938; t:1420581508.217323; dt:1420581508.229643, dist:370.564706 hr: v:110.000000; t:1420581508.774003; wp: lat:33.809677; long:-118.384664; hacc:5.000000; vacc:4.000000; alt:63.689411; speed:1.770000; course:164.531250; t:1420581509.230239; dt:1420581509.242228, dist:374.098707 ….. wp: lat:33.812128; long:-118.383533; hacc:5.000000; vacc:4.000000; alt:55.949909; speed:0.000000; course:351.210938; t:1420584602.268403; dt:1420584602.334073, dist:11365.188420 wp: lat:33.812123; long:-118.383530; hacc:5.000000; vacc:4.000000; alt:55.499897; speed:0.190000; course:351.210938; t:1420584603.257177; dt:1420584603.260663, dist:11365.188420 wp: lat:33.812121; long:-118.383529; hacc:5.000000; vacc:4.000000; alt:55.349751; speed:0.190000; course:351.210938; t:1420584604.268731; dt:1420584604.274758, dist:11365.188420 wp: lat:33.812121; long:-118.383529; hacc:5.000000; vacc:4.000000; alt:54.506855; speed:0.000000; course:351.210938; t:1420584605.225173; dt:1420584605.229791, dist:11365.188420 wp: lat:33.812121; long:-118.383529; hacc:5.000000; vacc:4.000000; alt:54.519428; speed:0.000000; course:351.210938; t:1420584606.223511; dt:1420584606.228382, dist:11365.188420 wp: lat:33.812121; long:-118.383529; hacc:5.000000; vacc:4.000000; alt:54.269184; speed:0.000000; course:351.210938; t:1420584607.233396; dt:1420584607.237641, dist:11365.188420 wp: lat:33.812121; long:-118.383529; hacc:5.000000; vacc:4.000000; alt:54.149799; speed:0.000000; course:351.210938; t:1420584608.406772; dt:1420584608.410853, dist:11365.188420 paus: type:0 t:442277409.220280
Greg
This is a from a file from Strava generated on an iPhone.
Is there a way to convert it to gpx?
I don't think you will get any useful answers here, as this is not a Textmate specific problem. But since I am at it: have you considered simply exporting the activity from Strava as GPX? There are even automatic services for doing that (tapiriik) if you don't want to do it manually. In case you have more questions I suggest you reply to my e-mail address and not the TxMt list.
Regards,
Carsten