mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-30 22:51:16 +01:00
Added support for GPX 1.0 speed data
This commit is contained in:
parent
20956625db
commit
301172f5e8
@ -118,6 +118,9 @@ void GPXParser::trackpointData(Trackpoint &trackpoint)
|
|||||||
trackpoint.setTimestamp(time());
|
trackpoint.setTimestamp(time());
|
||||||
else if (_reader.name() == QLatin1String("geoidheight"))
|
else if (_reader.name() == QLatin1String("geoidheight"))
|
||||||
gh = number();
|
gh = number();
|
||||||
|
// GPX 1.0
|
||||||
|
else if (_reader.name() == QLatin1String("speed"))
|
||||||
|
trackpoint.setSpeed(number());
|
||||||
else if (_reader.name() == QLatin1String("extensions"))
|
else if (_reader.name() == QLatin1String("extensions"))
|
||||||
trkptExtensions(trackpoint);
|
trkptExtensions(trackpoint);
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user