Use at your own risk. This software comes with absolutely no warranty.
Import tracks from /dev/ttyS0 garmin GPS in tracks binary
vector file
v.in.gpsbabel -w file=/dev/ttyS0 format=garmin
output=tracks
Import routes as points from /dev/ttyS0 garmin GPS in routePoints
binary vector file
v.in.gpsbabel -r -p file=/dev/ttyS0 format=garmin
output=routePoints
Route and Track data may be uploaded as points by using the -p flag, otherwise they will be imported as a line. You can run v.in.gpsbabel multiple times and merge the line and point vectors with the v.patch command if you want, but take care when merging dissimilar attribute tables.
When we tested the script with garmin GPS, we noticed that importing waypoints the time field is not correctly set. The data reported is a default system time, while with a gpx text file this thing did not happen. We believe that is a gpsbabel trouble in translating from garmin to xcsv ...
Last changed: $Date: 2005/12/14 18:38:44 $