← Back to team overview

igotu2gpx team mailing list archive

[Bug 484667] Re: Export EHPE as HDOP in gpx

 

This should land in 0.4.0. Thanks hopet! I was not able to find the
source code for the change
(https://code.edge.launchpad.net/~hopet/igotu2gpx/extended-gpx does not
show any commits related to this), are you sure that you pushed your
changes to launchpad?

** Changed in: igotu2gpx
    Milestone: None => 0.4.0

-- 
Export EHPE as HDOP in gpx
https://bugs.launchpad.net/bugs/484667
You received this bug notification because you are a member of
MobileAction i-gotU USB GPS travel logger Mac/Linux developers, which is
subscribed to igotu2gpx.

Status in MobileAction i-gotU USB GPS travel logger Mac/Linux support: New

Bug description:
For exporting data from igotu to JOSM (Java OpenStreetMap Editor), it would be nice to export EHPE
as HDOP, provided HDOP is not available from igotu. I've noticed others do this as well for some
applications, e.g., EventLogger:
http://web.tiscali.it/macri/Event_Logger/Event_Logger.htm
It's more of correctness question than technical question, as the patch is actually quite simple:

hopet@kloboucek:~/igotu/trunk/igotu2gpx$ bzr diff
=== modified file 'src/gpxexporter/gpxexporter.cpp'
--- src/gpxexporter/gpxexporter.cpp     2009-10-26 19:31:00 +0000
+++ src/gpxexporter/gpxexporter.cpp     2009-11-06 20:39:23 +0000
@@ -115,6 +115,8 @@
                     << "</time>\n"
                 << xmlIndent(2) << "<sat>" << point.satellites().count()
                     << "</sat>\n"
+                << xmlIndent(2) << "<hdop>" << point.ehpe()
+                    << "</hdop>\n"
                 << xmlIndent(1) << "</wpt>\n";
         }
     }
@@ -138,6 +140,8 @@
                     << "</sat>\n"
                 << xmlIndent(4) << "<speed>" << point.speed() / 3.6
                     << "</speed>\n"
+                << xmlIndent(4) << "<hdop>" << point.ehpe()
+                    << "</hdop>\n"
                 << xmlIndent(3) << "</trkpt>\n";
         out << xmlIndent(2) << "</trkseg>\n";
         if (!tracksAsSegments)







Follow ups

References