readVista {pgirmess} | R Documentation |
Download GPS waypoints and tracks using gpsbabel
readVista(i = "garmin", f = "usb:", type="w", seg=FALSE, invisible=TRUE)
i |
INTYPE: a supported file type, default "garmin" |
f |
INFILE: the appropriate device interface, default "usb:", on Windows for serial interfaces commonly "com4:" or similar |
type |
"w" waypoints, or "t" track, or others provided in gpsbabel |
seg |
track ID type: FALSE for numbers, TRUE for GPS track IDs |
invisible |
Under Windows, do not open an extra window |
The function calls gpsbabel via the system. The gpsbabel program must be present and on the user's PATH for the function to work see http://www.gpsbabel.org. The function has been tested on the following Garmin GPS devices: Etrex Summit, Etrex Vista Cx and GPSmap 60CSx.
A data frame of four columns:
ident |
waypoint names or track IDs |
long |
longitude |
lat |
latitude |
altitude |
elevation |
Information about the data type (waypoints or tracks) and the date of download are stored as attributes.
## Not run: mywaypoints<-readVista() # download waypoints mytracks<-readVista(type="t") # download tracks ## End(Not run)