as.gps {oce} | R Documentation |
Coerces a sequence of longitudes and latitudes into a GPS dataset.
as.gps(longitude, latitude, filename="")
longitude |
the longitude in decimal degrees, positive east of
Greenwich, or a data frame with columns named |
latitude |
the latitude in decimal degrees, positive north of the Equator. |
filename |
name of file containing data (if applicable). |
This may be used when read.gps
cannot read a file, or
when the data have been manipulated.
An object of class
"gps"
(for details, see
read.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.