igotu2gpx team mailing list archive
-
igotu2gpx team
-
Mailing list archive
-
Message #00539
[Bug 484667] Re: Export EHPE as HDOP in gpx
The conversion would be needed of course - some comments are available, e.g., from here:
http://gpsinformation.net/main/epenew.txt
but as far as I know, we don't have have URA information available (except that some sources suggest URA < 10).
Btw, what's the meaning of MSVs_QCN and weight criteria? Couldn't that be used?
Another (and more clean) option would be to create extension like:
<extensions>
<ehpe unit="m">5</ehpe>
</extensions>
in analogy to what TrekBuddy does (GSM and NMEA extensions - but they also prefix it with their own namespace):
<?xml version='1.0' encoding='UTF-8' ?>
<gpx version="1.1" creator="TrekBuddy 0.9.89" xmlns="http://www.topografix.com/GPX/1/1" xmlns:nmea="http://trekbuddy.net/2009/01/gpx/nmea" xmlns:gsm="http://trekbuddy.net/2009/01/gpx/gsm">
<trk>
<trkseg>
<trkpt lat="45.530174693" lon="-122.614001793">
<ele>56.5</ele>
<time>2009-11-15T16:48:16.431Z</time>
<fix>3d</fix>
<sat>4</sat>
<extensions>
<nmea:course>314.1</nmea:course>
<nmea:speed>22.6</nmea:speed>
<gsm:cellid>456</gsm:cellid>
</extensions>
</trkpt>
--
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