uploadGPS {pgirmess}R Documentation

Upload waypoints to Garmin GPS

Description

Upload waypoints to Garmin GPS, using gpsbabel

Usage

uploadGPS(gpx, f = "usb:",type="w")

Arguments

gpx name of the .gpx file (can be created from a data frame using writeGPX)
f the appropriate device interface, default "com4:", see details
type 'w' for waypoints (default), 't' for track

Details

This function uploads waypoints or a track to a garmin GPS from a '.gpx' file. gpsbabel is called via the system. Therefore gpsbabel must be installed and on the user's path, see http://www.gpsbabel.org. If not the default, device interface should be something as "usb:", "usb:1", or on linux "/dev/ttyUSB0", etc.

Warning

Overwrite waypoints having the same name in the GPS

See Also

writeGPX

Examples


## Not run: 
coords<-data.frame(ID=c("C18J01", "C18J02"),Long= c(-46.996602, 47.002745),Lat=c(-6.148734, 6.14829),Alt=c(250,1230))
writeGPX(coords,"mywaypoints")
uploadGPS("mywaypoint.gpx")
## End(Not run)


[Package pgirmess version 1.4.3 Index]