java -Xmx6G -jar otp-0.19.0-shaded.jar --server --insecureNext I build a graph with:
java -Xmx6G -jar otp-0.19.0-shaded.jar --build /dataMy data dir contains Portland's GTFS file and a router-config.json. The router-config is the following:
{
"updaters": [{
"url": "http://developer.trimet.org/ws/V1/FeedSpecAlerts/appID/7AD4C25BABC8B017651A55C18",
"frequencySec": 30,
"defaultAgencyId": "TRIMET",
"type": "real-time-alerts"
}]
}The router-config.json is picked up on graph build:
Found and loaded JSON configuration file '/data/router-config.json'
Next I post the graph to my local server:
curl -T Graph.obj -H "Content-Type: application/octet-stream" -X POST http://localhost:8080/otp/routers/testThe OTP server logs:
INFO (GraphService.java:190) Registering new router 'test'
INFO (Router.java:84) No default routing parameters were found in the router config JSON. Using built-in OTP defaults.
INFO (Router.java:111) Timeouts for router 'test': [5.0, 2.0, 1.0, 0.5, 0.1]
INFO (GraphUpdaterConfigurator.java:57) Using configurations: [main] OTP doesn't seem to pick up the router-configuration specified in the graph. I assume I have to specify it in a different way. Is there a way to add GTFS-RT to a running OTP instance?
Any help or hints are appreciated!
Thanks,
Uli
http://docs.opentripplanner.org/en/latest/Configuration/
Router-config.json is read at runtime, not during build.
Marcus
--
You received this message because you are subscribed to the Google Groups "OpenTripPlanner Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opentripplanner...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.