Package: slopes 1.0.1
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.
Authors:
slopes_1.0.1.tar.gz
slopes_1.0.1.zip(r-4.5)slopes_1.0.1.zip(r-4.4)slopes_1.0.1.zip(r-4.3)
slopes_1.0.1.tgz(r-4.4-any)slopes_1.0.1.tgz(r-4.3-any)
slopes_1.0.1.tar.gz(r-4.5-noble)slopes_1.0.1.tar.gz(r-4.4-noble)
slopes_1.0.1.tgz(r-4.4-emscripten)slopes_1.0.1.tgz(r-4.3-emscripten)
slopes.pdf |slopes.html✨
slopes/json (API)
NEWS
# Install 'slopes' in R: |
install.packages('slopes', repos = c('https://packages.ropensci.org', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ropensci/slopes/issues
- cyclestreets_route - A journey from CycleStreets.net
- dem_lisbon_raster - Elevation in central Lisbon, Portugal
- lisbon_road_network - Road segments in Lisbon
- lisbon_road_segment - A road segment in Lisbon, Portugal
- lisbon_road_segment_3d - A road segment in Lisbon, Portugal
- lisbon_road_segment_xyz_mapbox - A road segment in Lisbon, Portugal
- lisbon_route - A route composed of a single linestring in Lisbon, Portugal
- lisbon_route_3d - A route composed of a single linestring in Lisbon, Portugal
- lisbon_route_xyz_mapbox - A route composed of a single linestring in Lisbon, Portugal
- magnolia_xy - Road segments in Magnolia, Seattle
Last updated 4 days agofrom:7f9ee5cd6d (on master). Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 07 2024 |
R-4.5-win | OK | Oct 07 2024 |
R-4.5-linux | OK | Oct 07 2024 |
R-4.4-win | OK | Oct 07 2024 |
R-4.4-mac | OK | Oct 07 2024 |
R-4.3-win | OK | Oct 07 2024 |
R-4.3-mac | OK | Oct 07 2024 |
Exports:elevation_addelevation_extractelevation_getplot_slopesequential_distslope_distanceslope_distance_meanslope_distance_weightedslope_matrixslope_matrix_meanslope_matrix_weightedslope_rasterslope_vectorslope_xyzz_cumulative_differencez_directionz_elevation_change_start_endz_endz_maxz_meanz_minz_startz_value
Dependencies:classclassIntcolorspaceDBIe1071geodistKernSmoothlatticemagrittrMASSpbapplyproxyrasterRcpps2sfspterraunitswk
An introduction to slopes
Rendered fromintro-to-slopes.Rmd
usingknitr::rmarkdown
on Oct 07 2024.Last update: 2021-09-14
Started: 2021-08-24
Benchmarking slopes calculation
Rendered frombenchmark.Rmd
usingknitr::rmarkdown
on Oct 07 2024.Last update: 2021-09-27
Started: 2021-06-21
Example: gradients of a road network for a given city
Rendered fromroadnetworkcycling.Rmd
usingknitr::rmarkdown
on Oct 07 2024.Last update: 2024-10-07
Started: 2021-06-21
Get started
Rendered fromslopes.Rmd
usingknitr::rmarkdown
on Oct 07 2024.Last update: 2021-09-27
Started: 2020-05-05
Verification of slopes
Rendered fromverification.Rmd
usingknitr::rmarkdown
on Oct 07 2024.Last update: 2021-09-28
Started: 2020-05-06