part of exported tracklog is repeated

View: New views
1 Messages — Rating Filter:   Alert me  

part of exported tracklog is repeated

by ethoms :: Rate this Message:

| View Threaded | Show Only this Message

Hello there,
I use a Canmore USB thumbdrive data logger (GT-730FL-S) with GPS
Babel. I wrote the python script below for extraction:
(the main thing to notice is the switches)

It works fine except that the tracklogs always have a section that is
repeated. For example, in a particular gpx file, the vertices from
1530 ~ 2038 are exactly the same as the vertices from ~ 1020 ~ 1529.

Can anyone suggest what might be going on here?

Thanks
Evan

I can send a gpx or kml file; I just thought not to clog the pipe
unless someone wants to see it.


*****************************
import os
import time


path = r'C:\Workspace\misc\GPStracks'

kmlname = time.strftime("%b_%d_%y.kml", time.localtime())
gpxname = time.strftime("%b_%d_%y.gpx", time.localtime())
csvname = time.strftime("%b_%d_%y.csv", time.localtime())

gpxpath = os.path.join(path, gpxname)
kmlpath = os.path.join(path, kmlname)
csvpath = os.path.join(path, csvname)

switches = []
switches.append('gpsbabel')
switches.append('-t')
switches.append('-i
skytraq,erase,baud=0,initbaud=4800,read-at-once=0,first-sector=0')
switches.append('-f COM3')
switches.append('-o kml,lines,trackdata,labels')
switches.append('-F ' + kmlpath)
switches.append('-o gpx,lines,trackdata,labels')
switches.append('-F ' + gpxpath)
#switches.append('-o csv,lines,trackdata,labels')
#switches.append('-F ' + csvpath)

print 'Calling gpsbabel'
os.system(' '.join(switches))
print 'Opening ', kmlpath
os.system(kmlpath)
***********************************************************

------------------------------------------------------------------------------
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity
while improving strategic productivity.  Learn More!
http://www.accelacomm.com/jaw/sdnl/114/51507609/
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc