The description says it all. Throw OneBusAway real-time and
OpenTripPlanner trip planning in a blender, and what you get is an
open-source real-time trip planner. This is the real-deal: itinerary
planning where the current location of the bus is taken into account
during the search phase (as opposed to tacking it on afterwards). I
know there has been talk on the list about making a real-time trip
planner a reality, so I wanted to give you all a heads-up on my
progress.
Right now, we're pushing hard to get this into the OneBusAway mobile
apps first, but we do have a basic web interface that we use for
debugging. You can check it out at:
http://soak.onebusaway.org/where/standard/plan.action
(Real-time is off by default. Enable it under 'Show Options'. No
geocoder connected yet, so select a To or From box and click on the
map to set your start and end location. This will all probably crash
about five minutes after I send this email ; )
Source code is up at:
https://code.google.com/p/onebusaway/
Some technical details for those who care:
Since OBA and OTP both have their own transit data models and I can't
afford the memory to keep both around, I wrote an adapter that allows
the OBA transit graph to implement the OTP graph data structures.
This made it easier for me to implement the real-time aspects (since
that's what OBA is all about), but the downside is that this isn't
immediately usable in the OTP webapps without some additional work
that hasn't yet been done.
Again, still a ton of work to be done here, but wanted to give people
a heads up that I was working on this.
Brian
> I wanted to ask your opinion on a different method for managing
> real-time.
>
> 1. Building the graph without adding to the schedules of public
> transportation.
> 2. Every time an instance of ArrayTripPattern must calculate the
> travel time then made a request to the WS nextBus for real-time data.
>
> As this second method weights compared to JMS messages?
This second method seems like it could slow down trip planning
significantly, but it's what Jerry used for his realtime trip planner in
San Francisco. Let us know how it goes!
Brian