otp_surface_isochrone: Make an isochrone from a surface

View source: R/otp-surface.R

otp_surface_isochroneR 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 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.

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)

opentripplanner documentation built on Feb. 16, 2023, 8:10 p.m.