| otp_make_config | R Documentation |
OTP can be configured using three json files 'otp-config.json', 'build-config.json', and 'router-config.json'. This function creates a named list for each config file and populates the defaults values.
otp_make_config(type, version = 1)
type |
Which type of config file to create, "otp", "build", "router" |
version |
version of OPT e.g. 1 or 2 |
For more details see: http://docs.opentripplanner.org/en/latest/Configuration
Other setup:
otp_build_graph(),
otp_check_java(),
otp_check_version(),
otp_dl_demo(),
otp_dl_jar(),
otp_setup(),
otp_stop(),
otp_validate_config(),
otp_write_config()
{
conf <- otp_make_config("build")
conf <- otp_make_config("router")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.