| Mon, Jun 29, 5:53 AM | ![]() ![]() | ||
| ||||
| Fri, Jun 26, 6:30 PM | ![]() ![]() | ||
| ||||
Hi, Fran. Sure thing. I left most of the defaults. The ones I changed as an experiment were:{
"routingDefaults": {
"bikeSpeed": 5,
"bikeSwitchCost": 0,
"bikeSwitchTime": 0,
"clampInitialWait": -1,
"maxWalkDistance": 2000,
"waitReluctance": 1,
"walkReluctance": 1,
"walkSpeed": 1.34
},
"timeouts": [5, 4, 3, 1]
}
This is what the initial read-out of the terminal session calling the script looks like. It seems like OTP saw the router-config.json was there and read in the settings. But comparing the two runs, the travel-times were identical to the second.
14:46:03.956 INFO (OTPServer.java:39) Wiring up and configuring server.
14:46:03.973 INFO (GraphScanner.java:64) Attempting to automatically register routerIds [montreal]
14:46:03.974 INFO (GraphScanner.java:65) Graph files will be sought in paths relative to .
14:46:03.975 INFO (GraphService.java:176) Registering new router 'montreal'
14:46:03.975 INFO (InputStreamGraphSource.java:181) Loading graph...
14:46:04.176 INFO (Graph.java:746) Graph version: MavenVersion(1, 4, 0, , b272f14007c97d769216e9ebab65baad7410cdf5)
14:46:04.176 INFO (Graph.java:747) OTP version: MavenVersion(1, 4, 0, , b272f14007c97d769216e9ebab65baad7410cdf5)
14:46:04.176 INFO (Graph.java:764) This graph was built with the currently running version and commit of OTP.
14:46:10.570 INFO (Graph.java:731) Main graph read. |V|=572744 |E|=2279677
14:46:13.250 INFO (GraphIndex.java:127) Indexing graph...
14:46:14.999 INFO (GraphIndex.java:595) Clustering stops by geographic proximity and name...
14:46:16.953 INFO (GraphIndex.java:210) Creating a spatial index for stop clusters.
14:46:16.983 INFO (GraphIndex.java:192) Initializing areas....
14:46:16.983 INFO (GraphIndex.java:199) Done indexing graph.
14:46:17.091 INFO (Router.java:96) Loading default routing parameters from JSON:
14:46:17.100 INFO (ReflectiveInitializer.java:108) Initialized 'bikeSpeed' with value 5.
14:46:17.100 INFO (ReflectiveInitializer.java:108) Initialized 'walkSpeed' with value 1.34.
14:46:17.100 INFO (ReflectiveInitializer.java:108) Initialized 'walkReluctance' with value 1.
14:46:17.100 INFO (ReflectiveInitializer.java:108) Initialized 'clampInitialWait' with value -1.
14:46:17.100 INFO (ReflectiveInitializer.java:108) Initialized 'bikeSwitchCost' with value 0.
14:46:17.100 INFO (ReflectiveInitializer.java:108) Initialized 'bikeSwitchTime' with value 0.
14:46:17.101 INFO (ReflectiveInitializer.java:108) Initialized 'maxWalkDistance' with value 2000.
14:46:17.101 INFO (ReflectiveInitializer.java:108) Initialized 'waitReluctance' with value 1.
14:46:17.101 INFO (Router.java:127) Timeouts for router 'montreal': [5.0, 4.0, 3.0, 1.0]
14:46:17.101 INFO (Router.java:134) Incoming requests will not be logged.
14:46:17.102 INFO (GraphUpdaterConfigurator.java:41) Using configurations: [main]
On Fri, Jun 26, 2020 at 5:00 PM Francisco José Peñarrubia <fpen...@gmail.com> wrote:Hi James.Could you share with us router-config.json parameters?.There are some of them that can produce extrange results.Best regards.Fran
Hello!New to the group -- I was looking to measure the decreases in travel time resulting when we added a new transit line to the graph (ran with original GTFS file and an additional file), however we noticed some increases in travel time on some origin destination pairs after adding the new line.Is this the expected behavior of OTP?The travel times mostly improved, it was just a few that took longer upon adding the additional transit option.I have provided a link to the scripts that we used, same times for both, happy to provide more information if this is not the expected behavior.Kind regards,Brian--
You received this message because you are subscribed to the Google Groups "OpenTripPlanner Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opentripplanner-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/opentripplanner-users/09c26b76-9b4f-42b2-98a9-8018d07df11cn%40googlegroups.com.