Somebody asked me how to do this a few days ago, and since google is not much help, here is how to download GPX track files from a GPS (Garmin eTrex in my case) over a Serial port (/dev/ttyS0 in my case), under Linux (Ubuntu Feisty in my case).
- Install the GPS Babel Program thusly:
- Plug the GPS into your first serial port.
- Turn on the GPS and make sure you have a saved track file in it.
- Run the following from a terminal
- You should now see your nice GPX file sitting in the directory from which you ran the command.
- Congratulations, You are now cool.
sudo apt-get install gpsbabel
gpsbabel -tw -i garmin -f /dev/ttyS0 -o gpx -F "test.gpx"