Package | Description |
---|---|
org.transitime.worldbank.gtfsRtExample |
For helping transit agencies provide a GTFS-realtime feed of their GPS
data by querying a database and putting the data into GTFS-realtime
format.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<VehicleData> |
DataFetcher.createTestData()
Create test ApiVehicle without accessing database
|
static java.util.List<VehicleData> |
DataFetcher.queryDatabase()
Gets a database connection, queries the database for the GPS data,
and puts the resulting data into a List of ApiVehicle objects.
|
static java.util.List<VehicleData> |
DataFetcher.queryDatabaseFilteringDuplicates()
Gets the ApiVehicle from the database but only returns the last
record for each vehicle.
|