otp_plan_batch: Get multiple routes from OTP

Description Usage Arguments Details Value

View source: R/otp-batch.R

Description

Get multiple routes from OTP

Usage

1
otp_plan_batch(otpcon = NA, fromPlace = NA, toPlace = NA, ...)

Arguments

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

Details

This function is a batch version of otp_plan() and is useful if you want to produce many routes at once.

Value

Returns a data.frame of SF POLYLINES


marcusyoung/opentripplanner documentation built on May 20, 2019, 4:42 p.m.