[OSM-talk] Revisited: how to edit GPX tracks?

malenki osm_ at malenki.ch
Sat Jan 30 14:51:53 GMT 2010


Steve Bennett wrote:

[...]
>In short, I need to be able to:
>- merge multiple traces

For this I optimized a small script found on this list (or from
talk-de) which appends all tracks invoked with 
$ scriptname [expression]

(e.g. scriptname 2010-01-[12]*gpx 
 - appends all gpx-files from January 10th to 29th 2010)

#!/bin/bash
gpsbabel -i gpx $(echo "$*" | sed 's/" "/\n/g' | for GPX; do echo -n "
-f $GPX "; done) -o gpx -F appended.gpx

just my 2p, HTH
malenki





More information about the talk mailing list