roads: Road Network Projection

Iterative least cost path and minimum spanning tree methods for projecting forest road networks. The methods connect a set of target points to an existing road network using 'igraph' <> to identify least cost routes. The cost of constructing a road segment between adjacent pixels is determined by a user supplied weight raster and a weight function; options include the average of adjacent weight raster values, and a function of the elevation differences between adjacent cells that penalizes steep grades. These road network projection methods are intended for integration into R workflows and modelling frameworks used for forecasting forest change, and can be applied over multiple time-steps without rebuilding a graph at each time-step.

Version: 1.2.0
Depends: R (≥ 2.10)
Imports: dplyr, igraph (≥ 2.0.3), data.table, sf, units, rlang, methods, tidyselect, terra
Suggests: testthat (≥ 2.1.0), knitr, rmarkdown, viridis, tmap, bench, gdistance
Published: 2024-06-27
DOI: 10.32614/CRAN.package.roads
Author: Sarah Endicott ORCID iD [aut, cre], Kyle Lochhead [aut], Josie Hughes [aut], Patrick Kirby [aut], Her Majesty the Queen in Right of Canada as represented by the Minister of the Environment [cph] (Copyright holder for included functions buildSimList, getLandingsFromTarget, pathsToLines, plotRoads, projectRoads, rasterizeLine, rasterToLineSegments), Province of British Columbia [cph] (Copyright holder for included functions getGraph, lcpList, mstList, shortestPaths, getClosestRoad, buildSnapRoads)
Maintainer: Sarah Endicott <sarah.endicott at>
License: Apache License (≥ 2)
NeedsCompilation: no
Materials: README NEWS
CRAN checks: roads results


Reference manual: roads.pdf
Vignettes: ReconstructRoadHistory
Using the grade penalty function
roads Package


Package source: roads_1.2.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): roads_1.2.0.tgz, r-oldrel (arm64): roads_1.1.1.tgz, r-release (x86_64): roads_1.2.0.tgz, r-oldrel (x86_64): roads_1.1.1.tgz
Old sources: roads archive


Please use the canonical form to link to this page.