Reads GPX format files by simply finding all longitudes and latitudes; in other words, information on separate tracks, or waypoints, etc., is lost.
Usage
read.gps(
  file,
  type = NULL,
  encoding = "latin1",
  debug = getOption("oceDebug"),
  processingLog
)Arguments
- 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 - typeis- "gpx".
- encoding
- a character value that indicates the encoding to be used for this data file, if it is textual. The default value for most functions is - "latin1", which seems to be suitable for files containing text written in English and French.
- debug
- set to TRUE to print information about the header, etc. 
- processingLog
- ignored. 
Value
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