metro-info/README.txt
Christian Lawson-Perfect 3f68f9ae72 first commit
2025-02-09 20:35:51 +00:00

22 lines
No EOL
857 B
Text

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.