← Back to team overview

igotu2gpx team mailing list archive

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

 

The only thing is use of this information by the third-party software -
but I can also write a patch for JOSM, but the question is whether it's
going to be accepted or not.

I've received information from Mobileaction
(http://www.a-trip.com/forum/viewtopic.php?t=1141), that HDOP is not
recorded by the device now and I assume they are getting the EHPE
information directly from the GPS chip and thus doing no HDOP<->EHPE
conversion on their own.

-- 
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 &#039;src/gpxexporter/gpxexporter.cpp&#039;
--- 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)





References