Contents
GPX fiddling
See GpxSplitter, a program I wrote for splitting multiple GPS tracks from a monolithic GPX track file.
Remove low accuracy GPS points
# Remove low accuracy HDOP
gpsbabel -i gpx -f in.gpx -x discard,hdop=3 -o gpx -F out.gpx
# Remove low accuracy HDOP and VDOP
gpsbabel -i gpx -f in.gpx -x discard,hdop=10,vdop=20,hdopandvdop -o gpx -F out.gpx
Reduce resolution
If a GPX file is too large, run this to reduce the number of points in the file. Removes points within 0.1m of each other (i.e. standing still).
gpsbabel -i gpx -f in.gpx -x simplify,error=0.0001k -o gpx -F out.gpx
Convert KML to GPX w/ gpsbabel
1 gpsbabel -i kml -f in.kml -o gpx -F out.gpx