apply_elevation: Apply elevation to street network

Description Usage Arguments Value See Also

View source: R/elevation_utils.R

Description

Loads a Digital Elevation Model (DEM) from a raster file and weights the street network for walking and cycling according to the terrain's slopes

Usage

1
apply_elevation(r5r_core, raster_files)

Arguments

r5r_core

a rJava object to connect with R5 routing engine

raster_files

string. Path to raster files containing the study area's topography. If a list is provided, all the rasters are automatically merged.

Value

No return value, called for side effects.

See Also

Other elevation support functions: tobler_hiking()


r5r documentation built on July 3, 2021, 1:06 a.m.