forked from opentripplanner/OpenTripPlanner
-
Notifications
You must be signed in to change notification settings - Fork 3
GTFS Realtime
novalis edited this page Jun 7, 2012
·
3 revisions
To add support for GTFS-Realtime, make sure your graph is built with TransitIndexBuilder and add the following to your application-context.xml in onebusaway-api-webapp:
<bean id="periodicGraphUpdater" class="org.opentripplanner.api.servlet.PeriodicGraphUpdater">
<property name="updaters">
<list>
<bean class="org.opentripplanner.updater.GtfsRealtimeUpdater">
<property name="url" value="YOUR URL" />
<property name="defaultAgencyId" value="YOUR AGENCY ID" />
</bean>
</list>
</property>
</bean>