This is an old revision of the document!


GPS track manipulation

Tools:

  • gpsbabel
  • gpxsee
  • viking
  • qmapshack

Merge multiple track files

  • gpsbabel -i gpx -f track1.gpx -f track2.gpx -o gpx -F merged.gpx
  • For merging automatically a list of files:
    l=""; for f in $(ls *.gpx); do l="$l -f $f"; done; echo gpsbabel -i gpx ($l) -o gpx -F merged.gpx;

Format conversion

  • gpsbabel -i kml -f file.kml -o gpx -F file.gpx

Filters

  • duplicate waypoints (eg geocaches): -x duplicate,location
  • fix time: -x track,move=-1h-1s
  • remove elements: -x nuketypes,waypoints, -x nuketypes,tracks
  • simplify track: -x simplify,crosstrack,error=0.001
  • pack all tracks:
    • -x track,pack
    • if time is missing, a workaround with QMapShack is to reorder the tracks with drag and drop in the list, select them, right click, Combine Tracks, and then right click on the new project, “Save as GPX 1.1 w/o ext”
  • crop track: -x track,stop=20201231235959, -x track,start=20201231235959
software/gpx.1657382891.txt.gz · Last modified: 2022/07/09 16:08 by cyril
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0