| walk_isochrone | R Documentation |
Generates spatial polygon isochrones (concave hulls or buffered envelopes) and extracts the exact reachable street network from an origin location for specified walking time budgets (e.g. 5, 10, 15 minutes).
walk_isochrone(
network,
origin,
time_min = c(5, 10, 15),
method = c("concave", "buffer"),
buffer_m = 25,
concave_ratio = 0.3,
rings = TRUE
)
network |
A |
origin |
Origin location: an integer node ID, coordinate vector |
time_min |
Numeric vector of walking time thresholds in minutes
(e.g. |
method |
Polygon generation technique: |
buffer_m |
Buffer width in meters applied along reachable edges when synthesizing pedestrian walkable corridors (default 25.0 m). |
concave_ratio |
Ratio parameter passed to |
rings |
Logical. If |
A walk_isochrone S3 object containing:
polygons |
|
cumulative_polygons |
|
edges |
|
origin |
|
time_min |
The evaluated time thresholds. |
rings |
Logical indicating whether disjoint rings were generated. |
network |
The input |
data(streets_cusco)
net <- walk_build_network(streets_cusco, verbose = FALSE)
orig <- sf::st_coordinates(net$nodes[net$nodes$is_giant, ])[1, 1:2]
iso <- walk_isochrone(net, origin = orig, time_min = c(5, 10), rings = TRUE)
print(iso)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.