Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kurtraschke/wmata-gtfsrealtime
GTFS-realtime StopTimeUpdate, VehiclePosition, and Alert feeds for WMATA
https://github.com/kurtraschke/wmata-gtfsrealtime
Last synced: about 2 months ago
JSON representation
GTFS-realtime StopTimeUpdate, VehiclePosition, and Alert feeds for WMATA
- Host: GitHub
- URL: https://github.com/kurtraschke/wmata-gtfsrealtime
- Owner: kurtraschke
- License: other
- Archived: true
- Created: 2012-11-17T21:32:42.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2020-02-11T06:21:17.000Z (over 4 years ago)
- Last Synced: 2024-04-16T01:25:16.453Z (3 months ago)
- Language: Java
- Homepage: https://kurtraschke.com/2012/11/gtfs-realtime-for-wmata-buses
- Size: 426 KB
- Stars: 12
- Watchers: 5
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Lists
- awesome-transit - WMATA BusPositions API to GTFS-realtime - Java-based tool to convert from WMATA's [BusPositions API](https://developer.wmata.com/docs/services/54763629281d83086473f231/operations/5476362a281d830c946a3d68) and Alert RSS feeds from [MetroAlerts](http://www.wmata.com/rider_tools/metro_service_status/rail_bus.cfm?) to GTFS-realtime TripUpdates, VehiclePositions, and Alerts feeds. (Uncategorized / Uncategorized)
- awesome-transit - WMATA BusPositions API to GTFS-realtime - Java-based tool to convert from WMATA's [BusPositions API](https://developer.wmata.com/docs/services/54763629281d83086473f231/operations/5476362a281d830c946a3d68) and Alert RSS feeds from [MetroAlerts](http://www.wmata.com/rider_tools/metro_service_status/rail_bus.cfm?) to GTFS-realtime TripUpdates, VehiclePositions, and Alerts feeds. (Uncategorized / Uncategorized)
README
wmata-gtfsrealtime
==================GTFS-realtime TripUpdate, VehiclePosition, and Alert feeds for WMATA. The TripUpdate and VehiclePosition feeds are produced using WMATA's [BusPositions API](https://developer.wmata.com/docs/services/54763629281d83086473f231/operations/5476362a281d830c946a3d68), while the Alert feed uses RSS feeds from [MetroAlerts](http://www.wmata.com/rider_tools/metro_service_status/rail_bus.cfm?).
Building
--------Build with Maven:
`mvn clean install`
Running
-------Copy `config.sample` to `config`, and edit to set values for `WMATA.key` and `GTFS.path`. You may also need to update `WMATA.agencyID`, `WMATA.badRoutes` and `WMATA.staticMappings`, but the defaults should be fine.
Then, run with:
`java -jar target/wmata-gtfsrealtime-1.0-SNAPSHOT-withAllDependencies.jar --config config`
Visit `http://localhost:9000/tripUpdates?debug` to view the generated feed.