Description Usage Arguments Details Value
Get multiple routes from OTP
1 | otp_plan_batch(otpcon = NA, fromPlace = NA, toPlace = NA, ...)
|
otpcon |
OTP connection object produced by otp_connect() |
fromPlace |
Numeric matrix of two columns, Latitude/Longitude pairs |
toPlace |
Numeric matrix of two columns, Latitude/Longitude pairs |
... |
Other variables passed to otp_plan |
This function is a batch version of otp_plan() and is useful if you want to produce many routes at once.
Returns a data.frame of SF POLYLINES
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.