[OSM-talk] Uploading multiple tracks
Christoph Eckert
ce at christeck.de
Tue May 8 20:12:42 BST 2007
Hi Dirk,
> gpsbabel can merge multiple files, unfortunately it expects a "-f"
> switch between each file so you can't do something like
> gpsbabel -i gpx -f *.gpx -o gpx -F merged.gpx
> so instead you can do some bash magic:
>
> gpsbabel -i gpx $(ls -1 *.gpx | while read GPX; do echo -n " -f $GPX
> "; done) -o gpx -F merged.gpx
>
> all in one line. Not tested, but should work.
thanks for the hint, will cope with it. The question is if it will
create tracksegments in the resulting file; it was wrong to write them
all into one tracksegment (my tracks do not end and start at the same
point).
Is gpsbabel able to anonymize the timestamps as well? I know it can
simply shift the timestamps, but I'd prefer to create some completely
new ones. I tried Jörgs script, but it didn't work as expected and if I
already use gpsbabel. it would be cool to do both steps with one tool.
Thanks & best regards,
ce
More information about the talk
mailing list