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

Lists

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.