Learn R Programming

opentripplanner (version 0.5.1)

otp_surface_isochrone: Make an isochrone from a surface

Description

Make a raster image (picture) of travel time using the surface features in OTP 1.x

Usage

otp_surface_isochrone(otpcon = NULL, surface = NULL)

Value

Returns a data.frame of travel times

Arguments

otpcon

OTP connection object produced by otp_connect()

surface

A suface list from otp_make_surface()

Details

THis function requires the analysis and pointset features to be enabled during `otp_setup()`. Thus it will only work with OTP 1.x. For more detail see the analyst vignette.

Examples

Run this code
if (FALSE) {
times <- otp_surface(otpcon, c(-1.17502, 50.64590), "lsoa", path_data)
}

Run the code above in your browser using DataLab