otp_surface_isochrone {opentripplanner}R Documentation

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)

Arguments

otpcon

OTP connection object produced by otp_connect()

surface

A surface 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.

Value

Returns a data.frame of travel times

Examples

## Not run: 
times <- otp_surface(otpcon, c(-1.17502, 50.64590), "lsoa", path_data)

## End(Not run)

[Package opentripplanner version 0.5.2 Index]