wrong time in imported GPX tracks

7 views
Skip to first unread message

polek

unread,
Jan 9, 2010, 6:29:24 PM1/9/10
to TrailHead
Hi,
I tried to import my GPX files (Logger-> GPS Travel Recorder -> GPS
Babel (elevation fix) -> TrailRunner 2.1 (v474)).
I encountered some strange phenomena concerning time in importing
records.

This is GPX file (stripped to only two track point records):

<gpx
version="1.0"
creator="GPSBabel - http://www.gpsbabel.org"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.topografix.com/GPX/1/0"
xsi:schemaLocation="http://www.topografix.com/GPX/1/1
http://www.topografix.com/GPX/1/1/gpx.xsd">
<name>GPS-20100102 </name>
<time>2010-01-02T22:10:06Z</time>
<trk>
<trkseg>
<trkpt lat="49.415237564" lon="20.949168096">
<ele>685.585712</ele>
<time>2009-12-30T08:20:43Z</time>
<speed>1.594000</speed>
<name>2009-12-30T08:20:43Z</name>
<fix>3d</fix>
<hdop>0.910000</hdop>
<vdop>0.800000</vdop>
<magvar>350.5731</magvar>
<type>T</type>
<nsat>9(11)</nsat>
<distance>253.205</distance>
</trkpt>
<trkpt lat="49.415484042" lon="20.949035590">
<ele>641.787413</ele>
<time>2009-12-30T08:21:43Z</time>
<speed>2.571000</speed>
<name>2009-12-30T08:21:43Z</name>
<fix>3d</fix>
<hdop>0.910000</hdop>
<vdop>0.790000</vdop>
<magvar>30.9077</magvar>
<type>T</type>
<nsat>9(11)</nsat>
<distance>29.035</distance>
</trkpt>
</trkseg>
</trk>
</gpx>

In table where I can see detailed information (Time, Distance,
Elevation) I see:
09:20:43 0m 686m
09:20:51 29m 642m

The elevation is ok, distance is calculated, but time in second record
is not right. It should be 09:21:43, but not 09:20:51. Every single
record (after first one) has wrong time. The time distance between
records differs, 7s, 8s, 4s, etc.

What can I do to have it ok?

With regards,
Pawel Witan

polek

unread,
Feb 18, 2010, 6:02:52 PM2/18/10
to TrailHead
OK, I've nailed it.

It's the <distance> tag. Without it it's ok.

Now I can import my five years of gpx tracks :-)

Hope this helps somebody..


On 10 Sty, 00:29, polek <po...@fanatorium.info> wrote:
> Hi,
> I tried to import my GPX files (Logger-> GPS Travel Recorder -> GPS
> Babel (elevation fix) -> TrailRunner 2.1 (v474)).
> I encountered some strange phenomena concerning time in importing
> records.
>
> This is GPX file (stripped to only two track point records):
>
> <gpx
>   version="1.0"

>   creator="GPSBabel -http://www.gpsbabel.org"

>   xsi:schemaLocation="http://www.topografix.com/GPX/1/1http://www.topografix.com/GPX/1/1/gpx.xsd">

Reply all
Reply to author
Forward
0 new messages