Re: [Gpsbabel-misc] Timeshift of gpx-data - was: Nokia mobile phones, eg C5 and sports tracker
Brought to you by:
robertl
From: Al B. <gps...@ml...> - 2010-09-24 16:05:41
|
Am Fr, 24 Sep 2010 10:12:14 CEST schrieb Robert Lipe: > On Fri, Sep 24, 2010 at 8:15 AM, Al Bogner > <gps...@ml...>wrote: > > > Am Mo, 20 Sep 2010 22:53:25 CEST schrieb Al Bogner: > > > > > Is it possible to convert dat-Files, created by the Nokia Sports > > > tracker http://store.ovi.com/content/31721 with gpsbabel to gpx? > > > > > > IMHO is the gpx-file broken, which is created by the Sports > > > Tracker. The file contains binary data. If I load it with Google > > > Earth (linux) I don't see a track, but things like speed. > > > > > > Is it possible to repair gpx files with gpsbabel? > > > > I found a simple way to view the track with Google-Earth: > > > > gpsbabel -i gpx -f sportstracker.gpx -o kml,units=m -F test.kml > > > > test.kml is shown with Google-Earth > > > > gpsbabel -i kml -f test.kml -o gpx -F test.gpx > > > > The gpx-file created from the kml-file _cannot_ be shown with Google > > Earth. Are options missing, when I convert from kml to gpx? > > > > That doesn't make sense. There is wacky KML we can't read, but we > should do a reasonable job with our own KML output from a GPX > source. Once again, if you want us to look at the failing case, you > really need to provide a sample we can investigate. Robert, of course I will provide a sample file. Did I miss a mail, where you asked for it? I didn't see any response to the 1st mail of this thread. This mail contains an attachment with a sample, where W178218105.dat is the default-file created by Sportstracker and W20100826180249.gpx is created by Sportstracker from W178218105.dat > > When I use the "repaired" gpx-file with gpsphoto it works, but not > > correctly. > > > > I think, that sportstracker doesn't save the time in UTC, but in > > local time. Mayabe it is a problem with the daylight saving time. I > > have to test this. > > > > If it's saving local time in GPX, it's broken. GPX clearly specifies > that timestamps are UTC. I agree, but this doesn't help. > > > > > Can I do a timeshift shomehow with gpsbabel to get a gpx-file with > > UTC? > > > > Investigate the 'move' option of our track filter. > http://www.gpsbabel.org/htmldoc-development/filter_track.html#fmt_track_o_move As mentioned in another mail, I am testing at the moment with: gpsbabel -t -i gpx -f "$1" -x track,move=-2h -o gpx -F out.gpx \ -o kml,units=m -F out.kml The kml-file can be loaded with GoogleEarth, while the gpx-file can't. If I do similar things with my WBT 201 and gpsbabel, I can load gpx-files with GE. -x track,move=-2h doesn't shift all times, but it looks like it is enough to get gpsphoto work. Al |