Checks the time duration and speed inputs and converts them to distance.
assign_max_street_time(max_time, speed, max_trip_duration, mode)
An integer
representing the maximum number of minutes walking.
A numeric of length 1. Maximum walking distance (in meters) for the whole trip. Passed from routing functions.
A numeric of length 1. Average walk speed in km/h. Defaults to 3.6 Km/h. Passed from routing functions.
A numeric of length 1. Maximum trip duration in seconds. Defaults to 120 minutes (2 hours). Passed from routing functions.
A string. Either "bike"
or "walk"
.
Other assigning functions:
assign_decay_function()
,
assign_departure()
,
assign_drop_geometry()
,
assign_max_trip_duration()
,
assign_mode()
,
assign_opportunities()
,
assign_points_input()
,
assign_shortest_path()