More Fun with GPSBabel

Robert Lipe, the author of GPSBabel, told me about other tricks:

  • GPSBabel can not only handle many differen types of input files, but those files can be of different type. Example (from the README):
    gpsbabel  -i geo -f 1.loc -i gpx -f 2.gpx -i pcx 3.pcx -o gpsutil -F big.gps
    
  • GPSBabel can also filter out sites based on distance, etc. I cooked this little dandy up last night. It gives me all the points in my GPX backup file that are 3 miles from my house:
    gpsbabel -i gpx -f mine-gpx.xml \\
            -x radius,lat=$HOMELAT,lon=$HOMELONG,distance=3m  \\
           -o gpx -F byhome.xml
    

I won’t say that GPSBabel is easy to figure out — I was lost when I first looked at it — but, wow, it can do a lot.

Leave a Reply

You must be logged in to post a comment.