diff options
author | Gary E. Miller <gem@rellim.com> | 2018-06-26 20:12:58 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-06-26 20:12:58 -0700 |
commit | efd272c1853d41edbc1ca62af2d138f457533f3e (patch) | |
tree | 518baa1aeab2a07b4d82a401d79a39e847ffb42e /gpsprof | |
parent | e3397eadbb8c5137eef945c3337364521ae05736 (diff) | |
download | gpsd-efd272c1853d41edbc1ca62af2d138f457533f3e.tar.gz |
gpsprof: handle missing altitude in replots.
Diffstat (limited to 'gpsprof')
-rwxr-xr-x | gpsprof | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -323,6 +323,9 @@ class spaceplot(plotter): if sat.used: sats_used += 1 + if 'alt' not in self.session.data: + self.session.data['alt'] = gps.NaN + self.fixes.append((self.session.data['lat'], self.session.data['lon'], self.session.data['alt'], sats_used)) |