On 2012-02-05 00:10 , isw wrote:
> I walk a lot, and tote along a GPS receiver that creates a GPX file on
> my phone (using GPSMid) as I go. When I get home, I copy the file to my
> Mac, and push it through gpsBabel to create a KML.
>
> As I travel, I can look at a data page created by GPSMid that tells me
> the distance I've walked. When I get home, I can open the KML file
> created from the GPX file and see the distance I traveled (in a summary
> along with some other items). They are always the same, or very close.
>
> Now, I know that the GPX file is just an ordered list of locations and
> times, and does not contain any information concerning the accumulated
> distance. That tells me -- I think -- that gpsBabel must be calculating
> the path length from the coordinate data. GPSMid, on my phone, is
> presumably doing the same thing, because I don't think the GPS unit
> emits messages containing data about distance traveled.
Typically not.
> So the question is, how is the length of a path calculated, so that
> identical answers are produced by both methods?
I'd be surprised if you got identical results from two different methods
unless both do the simple integration of delta-pos for each recorded
point and both have the same resolution in calculation (or otherwise run
the same method). But they should be close.
Most handheld GPS' compute position at 1 Hz. If you're walking (about 1
to 1.5 metres per second is typical) the position recording tends to be
noisy.
GPS makers know this and use various strategies to reduce the noise. My
Garmin, for example, is set to record position every 5 seconds. (I
could also set it to record only every x metres of change). But I find
the Garmin to record very poor tracks compared to my other GPS. (An AMOD
3080 photo tracker). (I do need to test the Garmin in recording
position changes)
OTOH, the same Garmin has an "odometer" feature, and it is quite
accurate as far as I've checked. So it seems while Garmin tracks are
not great their algorithm for distance is quite good. Note that Garmin
make a lot of products for athletes, so they've probably honed this
feature well and the same is integrated into their handheld GPS'.
If I integrate (from the AMOD data) on Google Earth (open the track and
right-click the elevation profile - that also gives you distance) then I
get hiking distance results that are about 10% longer than the actual hike.
I wrote my own integrator/filter to take track logs, do a moving average
delta-pos and then integrate only intervals of x metres or more (5 or 10
being the usual value). It also writes a new log with the filtered
track. Looks smoother on Google Earth, etc. That has given me accurate
(better than 1%) distance on courses that I could measure using Google
Earth "path" (clear view of the path on the ground in GE).
You can be sure GPSBabel has its own assumptions and algorithm. I
didn't even know it had a distance integration feature. (I only use it
to convert my AMOD tracks from NMEA to GPX so I can upload them to
Google Maps when needed).
As to phones, I have the iPhone 4 and its tracks are not that great,
esp. in the woods. The iPhone is great for finding restaurants and
navigating there, it's not a great hiking GPS - though the display
quality is fantastic, the "compass" is nice, and I have several paid for
GPS Apps that are very good. Too bad the GPS in the iPhone is a bit
crippled.
It would be nice if the iPhone GPS could be set by the user to run at a
higher rate (at the expense of battery power) such that the GPS solution
would be better.
--
"We demand rigidly defined areas of doubt and uncertainty."
Douglas Adams - (Could have been a GPS engineer).
|