Validate routingOptions object
OTP supports a wide selection of routing options 'otp_plan()' accepts a named list of these options. This function validates a named list of inputs and removes any empty inputs.
otp_validate_routing_options(opts)
opts |
a named list of options possibly from 'otp_routing_options()' |
Supports almost all of the possible options in OTP 1.4. Note that some of the most popular option (mode, date, time, etc.) are set directly in 'otp_plan()'. If you want to permenaty set an option many are supported in the config files, see help on 'otp_make_config()'. http://dev.opentripplanner.org/apidoc/1.4.0/resource_PlannerResource.html
Other routing:
otp_geocode(),
otp_isochrone(),
otp_plan(),
otp_routing_options()
## Not run: routingOptions <- otp_routing_options() routingOptions$walkSpeed <- 1.5 routingOptions <- otp_validate_routing_options(routingOptions) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.