Skip to content
This repository has been archived by the owner on Feb 15, 2020. It is now read-only.

Latest commit

 

History

History
22 lines (13 loc) · 906 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 906 Bytes

wmata-gtfsrealtime

GTFS-realtime TripUpdate, VehiclePosition, and Alert feeds for WMATA. The TripUpdate and VehiclePosition feeds are produced using WMATA's BusPositions API, while the Alert feed uses RSS feeds from MetroAlerts.

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.