readVista {pgirmess}R Documentation

Download waypoints and tracks from a GPS

Description

Download GPS waypoints and tracks using gpsbabel

Usage

readVista(i = "garmin", f = "usb:", type="w", seg=FALSE, invisible=TRUE)

Arguments

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

Details

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.

Value

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.

References

http://www.gpsbabel.org

See Also

readGPS

Examples


## Not run: 
mywaypoints<-readVista() # download waypoints
mytracks<-readVista(type="t") # download tracks
## End(Not run)


[Package pgirmess version 1.4.3 Index]