R/obsolete/isochrone-response.R

Defines functions make_isochrone

make_isochrone <- function(resp) {
  feature_collection <- list(
    type = "FeatureCollection", features = resp$polygons
  ) %>%
    toJSON_st_read()
  # list(
  #   polygons = toJSON_st_read(feature_collection)
  # )
}

Try the graphhopper package in your browser

Any scripts or data that you put into this service are public.

graphhopper documentation built on Feb. 6, 2021, 5:05 p.m.