igotu2gpx team mailing list archive
-
igotu2gpx team
-
Mailing list archive
-
Message #00520
[Question #89015]: EHPE as HDOP into GPX
New question #89015 on igotu2gpx:
https://answers.launchpad.net/igotu2gpx/+question/89015
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)
You received this question notification because you are a member of
MobileAction i-gotU USB GPS travel logger Mac/Linux developers, which is
an answer contact for igotu2gpx.