The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Tools to read, clean and standardise GNSS (Global Navigation Satellite System) streams recorded by sports watches and similar devices, with a focus on trail and mountain running. The pipeline reads GPX files, applies a naming convention, sanitises coordinates (Kalman, LOESS, Gaussian kernel or Savitzky-Golay smoothing, and red flags for implausible readings), resamples the trajectory to a uniform spatial resolution derived from the Nyquist criterion, and replaces elevation with values from a Digital Elevation Model. Derived measures include speed, slope, elevation gain and kilometre-effort, Tobler hiking function parameters fitted by quantile regression, comparison between streams, detection of passes along a route and map matching to a known reference trail by dynamic programming. Methods follow Sanchez and Villena (2020) <doi:10.1177/1754337120918975>, Sanchez et al. (2024) <doi:10.1109/ICECET61485.2024.10698606>, Sanchez et al. (2025) <doi:10.1177/17543371251341660> and Martinez, Sanchez and Diaz (2026) <doi:10.1109/ICECET65726.2026.11632531>.
| Version: | 1.0.0 |
| Depends: | R (≥ 4.1) |
| Imports: | magrittr, sf, stats, terra, tibble, utils |
| Suggests: | curl, knitr, rmarkdown, testthat (≥ 3.0.0) |
| Published: | 2026-10-21 |
| DOI: | 10.32614/CRAN.package.metrictrails |
| Author: | Raimundo Sanchez |
| Maintainer: | Raimundo Sanchez <raimundosanchezu at gmail.com> |
| BugReports: | https://github.com/raimun2/metrictrails/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/raimun2/metrictrails |
| NeedsCompilation: | no |
| Citation: | metrictrails citation info |
| Materials: | README |
| CRAN checks: | metrictrails results |
| Reference manual: | metrictrails.html , metrictrails.pdf |
| Vignettes: |
From a GPX file to research-grade trail measures (source, R code) |
| Package source: | metrictrails_1.0.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: metrictrails_1.0.0.zip |
| macOS binaries: | r-release (arm64): metrictrails_1.0.0.tgz, r-oldrel (arm64): metrictrails_1.0.0.tgz, r-release (x86_64): metrictrails_1.0.0.tgz, r-oldrel (x86_64): metrictrails_1.0.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=metrictrails to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.