Get isochrones for a given start point

gh_get_isochrone(start_point, time_limit = 180, distance_limit = -1,
  ...)

Arguments

start_point

The start point as (lat, lon) pair.

time_limit

The travel time limit in seconds. Ignored if distance_limit > 0.

distance_limit

The distance limit in meters.

...

Additonal parameters. See https://docs.graphhopper.com/#operation/getIsochrone.

Examples

if (FALSE) { start_point <- c(52.53961, 13.36487) isochrone_sf <- gh_get_isochrone(start_point, time_limit = 180) %>% gh_as_sf() }