An unofficial view of the real-time train data from the Tyne and Wear Metro.
https://metro-info.think.somethingorotherwhatever.com/
|
|
||
|---|---|---|
| cgi-bin | ||
| src | ||
| .gitignore | ||
| .watchmakerc | ||
| elm.json | ||
| index.html | ||
| lines.json | ||
| load-app.js | ||
| Makefile | ||
| manifest.json | ||
| metro_logo.png | ||
| metro_logo.svg | ||
| metro_logo_192.png | ||
| metro_map.svg | ||
| platforms.json | ||
| README.txt | ||
| Sanchez-Regular.otf | ||
| Sanchezregular.otf | ||
| show-error.mjs | ||
| station-directions.json | ||
| station-latlons.json | ||
| station-positions.json | ||
| stations.json | ||
| style.css | ||
JSON files:
lines.json
Maps line names ("GREEN" or "YELLOW") to a list of stations along that line, with properties "key" (string) and "position" (list of two floats).
platforms.json
From https://github.com/danielgjackson/metro-rti/blob/main/data/platforms.json
Maps station keys to objects:
"platformNumber": int
"direction": string, "IN" or "OUT"
"helperText": string, readable description of the direction of travel
station-directions.json
Maps station keys to a dictionary mapping platform numbers to the angle of that platform on the map.
station-positions.json
Maps line names ("green" or "yellow") to a list of pairs of floats, giving the position on the map of each station on the line.
stations.json
From https://github.com/danielgjackson/metro-rti/blob/main/data/stations.json
Maps station keys to readable station names.