ITSLeeds/slopes: Calculate Slopes of Roads, Rivers and Trajectories

Functions and example data to support research into the slope (also known as longitudinal gradient or steepness) of linear geographic entities such as roads <doi:10.1038/s41597-019-0147-x> and rivers <doi:10.1016/j.jhydrol.2018.06.066>. The package was initially developed to calculate the steepness of street segments but can be used to calculate steepness of any linear feature that can be represented as LINESTRING geometries in the 'sf' class system. The package takes two main types of input data for slope calculation: vector geographic objects representing linear features, and raster geographic objects with elevation values (which can be downloaded using functionality in the package) representing a continuous terrain surface. Where no raster object is provided the package attempts to download elevation data using the 'ceramic' package.

Getting started

Package details

Maintainer
LicenseGPL-3
Version1.0.1
URL https://github.com/ropensci/slopes/ https://docs.ropensci.org/slopes/
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("ITSLeeds/slopes")
ITSLeeds/slopes documentation built on Oct. 13, 2024, 3:54 a.m.