Calculates the slope (longitudinal gradient or steepness) of linear geographic features such as roads (for more details, see Ariza-López et al. (2019) <doi:10.1038/s41597-019-0147-x>) and rivers (for more details, see Cohen et al. (2018) <doi:10.1016/j.jhydrol.2018.06.066>). It can use local Digital Elevation Model (DEM) data or download DEM data via the 'ceramic' package. The package also provides functions to add elevation data to linestrings and visualize elevation profiles.
Version: | 1.0.1 |
Depends: | R (≥ 2.10) |
Imports: | sf, raster, methods, pbapply, geodist, colorspace |
Suggests: | terra, knitr, rmarkdown, ceramic, bookdown, covr, testthat, osmextract, stplanr, dplyr, tmap, leaflet, bench, rlang |
Published: | 2025-06-23 |
DOI: | 10.32614/CRAN.package.slopes |
Author: | Robin Lovelace |
Maintainer: | Robin Lovelace <rob00x at gmail.com> |
BugReports: | https://github.com/ropensci/slopes/issues |
License: | GPL-3 |
URL: | https://github.com/ropensci/slopes/, https://docs.ropensci.org/slopes/ |
NeedsCompilation: | no |
Materials: | README NEWS |
CRAN checks: | slopes results |
Reference manual: | slopes.pdf |
Vignettes: |
Benchmarking slopes calculation (source, R code) An introduction to slopes (source, R code) Example: gradients of a road network for a given city (source, R code) Get started (source, R code) Verification of slopes (source, R code) |
Package source: | slopes_1.0.1.tar.gz |
Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
macOS binaries: | r-release (arm64): slopes_1.0.1.tgz, r-oldrel (arm64): slopes_1.0.1.tgz, r-release (x86_64): slopes_1.0.1.tgz, r-oldrel (x86_64): slopes_1.0.1.tgz |
Please use the canonical form https://CRAN.R-project.org/package=slopes to link to this page.