otp_surface_isochrone | R Documentation |
Make a raster image (picture) of travel time using the surface features in OTP 1.x
otp_surface_isochrone(otpcon = NULL, surface = NULL)
otpcon |
OTP connection object produced by otp_connect() |
surface |
A surface list from otp_make_surface() |
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.
Returns a data.frame of travel times
## Not run:
times <- otp_surface(otpcon, c(-1.17502, 50.64590), "lsoa", path_data)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.