From ff2fdacfb2d0595156309b46775e3ecbe563b929 Mon Sep 17 00:00:00 2001 From: Damjan Adamic Date: Mon, 31 Oct 2016 11:58:35 +0100 Subject: [PATCH] Fixes #3872: Companion export to Google Earth now converts feet to meters if GPS altitude is logged in feet. --- companion/src/logsdialog.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/companion/src/logsdialog.cpp b/companion/src/logsdialog.cpp index e21f0cba0..4f2d29bbf 100644 --- a/companion/src/logsdialog.cpp +++ b/companion/src/logsdialog.cpp @@ -275,6 +275,8 @@ void LogsDialog::exportToGoogleEarth() if (n==0) return; int gpscol=0, altcol=0, speedcol=0; + double altMultiplier = 1.0; + QSet nondataCols; for (int i=1; i" << coord.longitude << " " << coord.latitude << " " << altitude << " \n" ; }