add altitude for iBike CSV format

Thanks to Fernando Maldonado for the test file.
This commit is contained in:
Sean Rhea
2009-12-13 17:37:06 -05:00
parent a649f64655
commit 542e4d6a4d
2 changed files with 4868 additions and 0 deletions

View File

@@ -159,6 +159,7 @@ RideFile *CsvFileReader::openRideFile(QFile &file, QStringList &errors) const
km = line.section(',', 3, 3).toDouble();
cad = line.section(',', 4, 4).toDouble();
hr = line.section(',', 5, 5).toDouble();
alt = line.section(',', 6, 6).toDouble();
interval = NULL; //not provided?
if (!metric) {
km *= KM_PER_MILE;