-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add real-time data #4
Comments
@barbeau this is my exact config on my working server:
This is my agencies.txt:
And I have pulled opentripplanner from master like two days ago, although before was also working for this config. To have the updated timetable will be needed to make some changes in the code. I can show you my solution but it's not yet code perfectly written and tested to push my changes to master, and I also suppose that Andrew will eventually do it in a much better way :-) btw. what is exactly the problem that you have now with the config? |
Thanks @vreixo! No problem yet (haven't tried it yet), I just wanted to make sure I had the right info (you mentioned something about not having the right config in another issue - wasn't sure if my original comment was outdated). For reference in this issue, here's what real-time looks like in OTP Android: |
@barbeau you can check my modified branch here https://github.com/vreixo/OpenTripPlanner/tree/master_realtime_trips_stoptimes_tametable |
@vreixo Nice! Are you going to submit this in a PR to the server OTP project? |
@barbeau if you want it's ok, but keep in mind that is not the most pretty 2014-09-11 9:22 GMT-04:00 Sean Barbeau notifications@github.com:
|
@vreixo No worries - server OTP maintainers will provide feedback if its not ok to merge. But, IMO, something working is better than nothing. |
@barbeau ok, I'm creating the pull request and it says that more than 250 commits differ. Do you prefer to update your repo first from master or I'll add the pull request like this? |
@vreixo Sorry - I meant to submit the PR to the main OTP project - https://github.com/opentripplanner/OpenTripPlanner I'll then pull the full history from the main OTP project, including your commit if your PR gets merged. |
@barbeau I have submitted my pull request opentripplanner#1495. |
Here is Vreixo's test server, that currently contains Tampa data, for comparison: @vreixo Do you intent to take this server down soon? |
@barbeau as long as they let me have it, it will be up :-) It's a server I have both graphs monitored to check that they're always on. 2014-09-11 13:37 GMT-04:00 Sean Barbeau notifications@github.com:
|
@vreixo How are you monitoring the OTP server? Via REST API requests? I'm interested in a watchdog application for the OTP REST API, that would email us if the server goes down. We have something similar for OneBusAway, but I don't recall seeing anything similar for OTP. |
From @vreixo, and his config of a server to test real-time, here is what the
Graph.properties
file should look like:This requires adding to the HART gtfs, agency_id field in agencies.txt, with value
HART
. Configuration w/o adding agency_id field to GTFS is currently unknown.Note that we'll need to update the OTP code to the current master branch to configure this.
The text was updated successfully, but these errors were encountered: