added WGS84 altitudes to GPSLoader returned values
This commit is contained in:
parent
477f479712
commit
57808d6f2f
@ -9,6 +9,7 @@ class GPSLoader:
|
|||||||
"times": [],
|
"times": [],
|
||||||
"points": [],
|
"points": [],
|
||||||
"altitudes": [],
|
"altitudes": [],
|
||||||
|
"altitudes_wgs84": [],
|
||||||
"speeds": [],
|
"speeds": [],
|
||||||
"directions": [],
|
"directions": [],
|
||||||
"distances": [],
|
"distances": [],
|
||||||
@ -45,6 +46,7 @@ class GPSLoader:
|
|||||||
data["times"].append(time)
|
data["times"].append(time)
|
||||||
data["points"].append(Vec2(lon.value, lat.value))
|
data["points"].append(Vec2(lon.value, lat.value))
|
||||||
data["altitudes"].append(alt)
|
data["altitudes"].append(alt)
|
||||||
|
data["altitudes_wgs84"].append(alt_wgs84)
|
||||||
data["speeds"].append(speed)
|
data["speeds"].append(speed)
|
||||||
data["directions"].append(dir_)
|
data["directions"].append(dir_)
|
||||||
data["distances"].append(dist)
|
data["distances"].append(dist)
|
||||||
|
Loading…
Reference in New Issue
Block a user