read.gps {oce} | R Documentation |
Read a gps file in gpx format format.
read.gps(file, type, debug=getOption("oceDebug"), processingLog)
file |
name of file containing gps data. |
type |
type of file, which will be inferred from examination of the data
if not supplied. In the present version, the only choice for |
debug |
set to TRUE to print information about the header, etc. |
processingLog |
if provided, the action item to be stored in the log. (Typically only provided for internal calls; the default that it provides is better for normal calls by a user.) |
Reads GPX format files by simply finding all longitudes and latitudes; in other words, information on separate tracks, or waypoints, etc., is lost.
An object of class
"gps"
.
Dan Kelley
The GPX format is described at http://www.topografix.com/GPX/1/1/.
The documentation for gps-class
explains the structure
of gps objects, and also outlines the other functions dealing with them.
## Not run: library(oce) gps <- read.gps("~/Dropbox/dalwhoi.gpx") ## End(Not run)