mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 16:39:57 +00:00
GPS support in RideFile
RideFile data points now include lon and lat members for the longitude degrees and latitute degrees from the source ride files. As a result most of the RideFile readers now set longitude and latitude to zero for each data point, except for: * Gc Format Files - now support read/write * Wko Format Files - now support read * Tcx Format Files - now support read (smoothed if smart recording) Although there are no features within GC at this point in time that use positioning data this may change over time. Critically, as users save files to the new GC file format whilst adding interval data it is important that this positioning data is not discarded before new features arrive.
This commit is contained in:
committed by
Sean Rhea
parent
2745291f59
commit
45d7d3c610
@@ -110,7 +110,7 @@ RideFile *ManualFileReader::openRideFile(QFile &file, QStringList &errors) const
|
||||
interval = 0;
|
||||
|
||||
rideFile->appendPoint(minutes * 60.0, cad, hr, km,
|
||||
kph, nm, watts, alt, interval, bs);
|
||||
kph, nm, watts, alt, 0.0, 0.0, interval, bs);
|
||||
|
||||
rideSec = minutes * 60.0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user