mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
EPM Parser - Don't overwrite distance from position records
For older files with dpf match is not exact, missing coordinates can be completed using FixGPS.
This commit is contained in:
@@ -63,7 +63,7 @@ EpmParser::startElement(const QString&, const QString&,
|
||||
double lon = attrs.value("lon").toDouble();
|
||||
double alt = attrs.value("height").toDouble();
|
||||
double secs = rideFile->distanceToTime(dist);
|
||||
rideFile->appendOrUpdatePoint(secs, 0, 0, dist, 0, 0, 0, alt,
|
||||
rideFile->appendOrUpdatePoint(secs, 0, 0, 0, 0, 0, 0, alt,
|
||||
lon, lat, 0, 0.0, RideFile::NA, 0.0,
|
||||
0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
|
||||
0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
|
||||
|
||||
Reference in New Issue
Block a user