Reads GPX format files by simply finding all longitudes and latitudes; in other words, information on separate tracks, or waypoints, etc., is lost.

read.gps(file, type = NULL, debug = getOption("oceDebug"), processingLog)



name of file containing gps data.


type of file, which will be inferred from examination of the data if not supplied. In the present version, the only choice for type is "gpx".


set to TRUE to print information about the header, etc.


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.)


A gps object.

See also

Other things related to gps data: [[,gps-method, [[<-,gps-method, as.gps(), gps-class, plot,gps-method, summary,gps-method