Learn R Programming

r5r (version 0.7.0)

apply_elevation: Apply elevation to street network

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

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()