Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

swh:1:snp:a4c99a50dc49f82b591f268001b320f8c3ca0041
  • Code
  • Branches (42)
  • Releases (0)
    • Branches
    • Releases
    • HEAD
    • refs/heads/master
    • refs/tags/0.96
    • refs/tags/0.97-1
    • refs/tags/1.0-1
    • refs/tags/1.0-2
    • refs/tags/1.0-3
    • refs/tags/1.0-4
    • refs/tags/1.0-5
    • refs/tags/1.0-6
    • refs/tags/1.0-6.1
    • refs/tags/R-2.10.0
    • refs/tags/R-2.10.1
    • refs/tags/R-2.11.0
    • refs/tags/R-2.11.1
    • refs/tags/R-2.12.0
    • refs/tags/R-2.12.1
    • refs/tags/R-2.12.2
    • refs/tags/R-2.13.0
    • refs/tags/R-2.13.1
    • refs/tags/R-2.13.2
    • refs/tags/R-2.14.0
    • refs/tags/R-2.14.1
    • refs/tags/R-2.14.2
    • refs/tags/R-2.15.0
    • refs/tags/R-2.15.1
    • refs/tags/R-2.15.2
    • refs/tags/R-2.15.3
    • refs/tags/R-2.6.0
    • refs/tags/R-2.6.1
    • refs/tags/R-2.6.2
    • refs/tags/R-2.7.0
    • refs/tags/R-2.7.1
    • refs/tags/R-2.7.2
    • refs/tags/R-2.8.0
    • refs/tags/R-2.8.1
    • refs/tags/R-2.9.0
    • refs/tags/R-2.9.1
    • refs/tags/R-2.9.2
    • refs/tags/R-3.0.0
    • refs/tags/R-3.0.1
    • refs/tags/R-3.0.2
    • refs/tags/R-3.0.3
    No releases to show
  • 46ec0e1
  • /
  • man
  • /
  • scanGPSTrack.Rd
Raw File Download
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
content badge Iframe embedding
swh:1:cnt:1ec5636a08055326c5a302ad102164eb1752f3af
directory badge Iframe embedding
swh:1:dir:b8e8ff44b5e9724f390de5aae681dc35a28d4b65
revision badge
swh:1:rev:635622b024294f87a1442a50ad662642f5586aa7
snapshot badge
swh:1:snp:a4c99a50dc49f82b591f268001b320f8c3ca0041
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: 635622b024294f87a1442a50ad662642f5586aa7 authored by jmc on 14 July 2008, 00:00:00 UTC
version 1.0-4
Tip revision: 635622b
scanGPSTrack.Rd
\name{scanGPSTrack}
\alias{scanGPSTrack}
\title{Scan GPS Track Data into a GPSTrack class Object }
\description{
Attempts to scan a file or other connection containing GPS track information in a typical format, and to store the data in an object from class \code{\linkS4class{GPSTrack}}.
Optional arguments define the layout of lines and the format used for date/time information
}
\usage{
scanGPSTrack(con, fields, dateTimeFormat)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
  \item{con}{ A file name or open connection from which to read the data. }
  \item{fields}{An optional list for use by \code{\link{scan}} to interpret the fields in each line of the file.  The list must include the names in the default list, which is \code{list(date = "", time = "", lat = 0, lon = 0, el = 0)}.  Note that other fields can be included to skip over data not needed for the track information, and that the field names can be longer, provided that the versions here match by partial matching.
 }
  \item{dateTimeFormat}{An optional character string format for the date and time, in the scheme used by \code{\link{strptime}}.  The default is the standard date/time format,  \code{"\%Y-\%m-\%d\%H:\%M:\%S"}.
}
}
\details{
  Data is read from the connection by \code{scan()}, and the date and time components are then re-read by \code{strptime}, and a new object of class \code{"GPSTrack"} is created from the results.  The scan takes in all the lines available.
}
\value{
  An object of \code{\linkS4class{GPSTrack}} containing the coordinates and time as scanned.
}
\seealso{ \code{\linkS4class{GPSTrack}} }
% Add one or more standard keywords, see file 'KEYWORDS' in the
% R documentation directory.
\keyword{IO}

back to top

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API