Hello there fellows,
I’m doing a project requiring bus stops data from Rotterdam and Amsterdam. I’m successfully starting OTP instance without real-time data. However, in order my project to work I need real time data as well. Following the official documentation provided ( http://docs.opentripplanner.org/en/latest/Configuration/#configuring-real-time-updaters ) seem to produce errors in receiving the data:
Here`s what I do
(Default OTP settings)
(GTFS data source: http://gtfs.ovapi.nl/nl/gtfs-nl.zip)
(OSM data source: http://download.geofabrik.de/europe/netherlands-latest.osm.pbf)
java -Xmx16G -jar otp-2.1.0-SNAPSHOT-shaded.jar --build --save "data/folder/path"
^produces successful graph
Then I place the router-config.json in the graph directory with the following settings only:
Then I run:
java -Xmx16G -jar otp-2.1.0-SNAPSHOT-shaded.jar "data/folder/path" --load
However after the server starts. I start receiving errors (repeating constantly) of type :
Re-writing the router-config.json and restarting the server using these settings:
Then I receive (every 0.2 secs)
Being unfamiliar with Java I was unsuccessful in configuring GTFS-RT feeds. Static GTFS data still works.
Any idea how to setup the router-config syntax If I want to enable all 3, or only 1 of the provided either .proto or .pb files in the data source? Or is it something else I do wrong?
On 3 Dec 2021, at 22:50, Stoyan <stoyan...@gmail.com> wrote:
Hello there fellows,
I’m doing a project requiring bus stops data from Rotterdam and Amsterdam. I’m successfully starting OTP instance without real-time data. However, in order my project to work I need real time data as well. Following the official documentation provided ( http://docs.opentripplanner.org/en/latest/Configuration/#configuring-real-time-updaters ) seem to produce errors in receiving the data:
Here`s what I do
(Default OTP settings)(GTFS data source: http://gtfs.ovapi.nl/nl/gtfs-nl.zip)
(OSM data source: http://download.geofabrik.de/europe/netherlands-latest.osm.pbf)
java -Xmx16G -jar otp-2.1.0-SNAPSHOT-shaded.jar --build --save "data/folder/path"
^produces successful graph
Then I place the router-config.json in the graph directory with the following settings only:
<route-config1.JPG>
Then I run:
java -Xmx16G -jar otp-2.1.0-SNAPSHOT-shaded.jar "data/folder/path" --load
However after the server starts. I start receiving errors (repeating constantly) of type :
<error1.png>
Re-writing the router-config.json and restarting the server using these settings:
<router-config2.JPG>
Then I receive (every 0.2 secs)
<error2.png>
Being unfamiliar with Java I was unsuccessful in configuring GTFS-RT feeds. Static GTFS data still works.
Any idea how to setup the router-config syntax If I want to enable all 3, or only 1 of the provided either .proto or .pb files in the data source? Or is it something else I do wrong?
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/opentripplanner-dev/2d6b7461-c53b-4443-bb93-f36a6204555dn%40googlegroups.com.
<router-config2.JPG><route-config1.JPG><error2.png><error1.png>