igotu2gpx team mailing list archive
-
igotu2gpx team
-
Mailing list archive
-
Message #00533
[Bug 484667] Re: Export EHPE as HDOP in gpx
Thanks for your question. I don't really know. EHPE will give you a
different scale than HDOP, so I think at least some conversion between
the scales should be done. Otherwise, I would be fine with a patch to
implement this.
** Changed in: igotu2gpx
Importance: Undecided => Wishlist
--
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)
References