Skip to content

Commit

Permalink
Add a lot more bus routes! (#929)
Browse files Browse the repository at this point in the history
* Add a lot more bus routes!

* Adding more stop ids
  • Loading branch information
devinmatte authored Jan 9, 2024
1 parent d8a32c6 commit c94a49c
Show file tree
Hide file tree
Showing 17 changed files with 799 additions and 10 deletions.
9 changes: 8 additions & 1 deletion common/constants/baselines.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,23 @@ export const PEAK_RIDERSHIP = {
'9': 7116,
'15': 6379,
'16': 6197,
'1719': 6300,
'21': 5236,
'22': 8767,
'23': 12225,
'28': 12893,
'32': 10982,
'34': 6674,
'39': 11792,
'57': 14505,
'47': 5955,
'57': 11284,
'6170170': 6988,
'66': 14505,
'71': 5789,
'73': 6616,
'77': 8015,
'86': 6850,
'89': 3963,
'111': 11258,
'114116117': 12867,
'220221222': 3370,
Expand Down
181 changes: 181 additions & 0 deletions common/constants/bus_constants/17-19.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
{
"17/19": {
"type": "bus",
"direction": {
"0": "outbound",
"1": "inbound"
},
"stations": [
{
"stop_name": "Fields Corner",
"branches": ["17", "19"],
"station": "fldcr",
"order": 1,
"stops": {
"1": ["17-1-323", "19-1-322", "19-1-323"],
"0": ["17-0-323", "19-0-323"]
}
},
{
"stop_name": "Geneva Avenue @ Bowdoin Street",
"branches": ["19"],
"station": "genbo",
"order": 2,
"stops": {
"1": ["19-1-562"],
"0": ["19-0-552"]
}
},
{
"stop_name": "Kane Square",
"branches": ["17"],
"station": "kane",
"order": 2,
"stops": {
"1": ["17-1-1475"],
"0": ["17-0-1508"]
}
},
{
"stop_name": "Geneva Avenue @ Columbia Road",
"branches": ["19"],
"station": "genco",
"order": 3,
"stops": {
"1": ["19-1-565"],
"0": ["19-0-550"]
}
},
{
"stop_name": "Uphams Corner",
"branches": ["17"],
"station": "upham",
"order": 3,
"stops": {
"1": ["17-1-1480"],
"0": ["17-0-2910"]
}
},
{
"stop_name": "Edward Everett Square Columbia @ Massachusetts Avenue",
"branches": ["17"],
"station": "edevt",
"order": 4,
"stops": {
"1": ["17-1-2935"],
"0": ["17-0-362"]
}
},
{
"stop_name": "Grove Hall",
"branches": ["19"],
"station": "ghall",
"order": 4,
"stops": {
"1": ["19-1-386"],
"0": ["19-0-412"]
}
},
{
"stop_name": "Andrew",
"branches": ["17"],
"station": "andrw",
"order": 5,
"stops": {
"1": ["17-1-13"],
"0": ["17-0-13"]
}
},
{
"stop_name": "Warren Street @ Boston Latin Academy",
"branches": ["19"],
"station": "latac",
"order": 5,
"stops": {
"1": ["19-1-390"],
"0": ["19-0-407"]
}
},
{
"stop_name": "Warren Street @ Walnut Avenue",
"branches": ["19"],
"station": "warwl",
"order": 6,
"stops": {
"1": ["19-1-395", "19-1-396"],
"0": ["19-0-40001"]
}
},
{
"stop_name": "Nubian Station",
"branches": ["19"],
"station": "nubn",
"order": 7,
"stops": {
"1": ["19-1-64", "19-1-64002"],
"0": ["19-0-64000"]
}
},
{
"stop_name": "Melnea Cass Boulevard @ Washington Street",
"branches": ["19"],
"station": "melwa",
"order": 8,
"stops": {
"1": ["19-1-7"],
"0": []
}
},
{
"stop_name": "Ruggles",
"branches": ["19"],
"station": "rugg",
"order": 9,
"stops": {
"1": ["19-1-17862"],
"0": ["19-0-17862"]
}
},
{
"stop_name": "Huntington & Ruggles",
"branches": ["19"],
"station": "hrugg",
"order": 10,
"stops": {
"1": ["19-1-1799"],
"0": ["19-0-1784"]
}
},
{
"stop_name": "Brookline & Longwood Avenues",
"branches": ["19"],
"station": "brlng",
"order": 11,
"stops": {
"1": ["19-1-1804"],
"0": ["19-0-1779"]
}
},
{
"stop_name": "Brookline Avenue @ Park Drive",
"branches": ["19"],
"station": "brkpk",
"order": 12,
"stops": {
"1": ["19-1-9441"],
"0": ["19-0-1520"]
}
},
{
"stop_name": "Kenmore (Busway)",
"branches": ["19"],
"station": "kenbs",
"order": 13,
"stops": {
"1": ["19-1-899"],
"0": ["19-0-899"]
}
}
]
}
}
71 changes: 71 additions & 0 deletions common/constants/bus_constants/21.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"21": {
"type": "bus",
"direction": {
"0": "outbound",
"1": "inbound"
},
"stations": [
{
"stop_name": "Ashmont Terminal",
"branches": null,
"station": "ashmt",
"order": 1,
"stops": {
"1": ["21-1-334"],
"0": ["21-0-334"]
}
},
{
"stop_name": "Dorchester Avenue @ Gallivan Boulevard",
"branches": null,
"station": "dotga",
"order": 2,
"stops": {
"1": ["21-1-537"],
"0": ["21-0-533"]
}
},
{
"stop_name": "Morton @ Gallivan",
"branches": null,
"station": "mort",
"order": 3,
"stops": {
"1": ["21-1-499"],
"0": ["21-0-507"]
}
},
{
"stop_name": "Morton Street @ Blue Hill Avenue",
"branches": null,
"station": "mortn",
"order": 4,
"stops": {
"1": ["21-1-543"],
"0": ["21-0-526"]
}
},
{
"stop_name": "Shattuck Hospital",
"branches": null,
"station": "shosp",
"order": 5,
"stops": {
"1": ["21-1-546"],
"0": ["21-0-5232"]
}
},
{
"stop_name": "Forest Hills Busway",
"branches": null,
"station": "fhill",
"order": 6,
"stops": {
"1": ["21-1-10642", "21-1-875"],
"0": ["21-0-875"]
}
}
]
}
}
91 changes: 91 additions & 0 deletions common/constants/bus_constants/34.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"34": {
"type": "bus",
"direction": {
"0": "outbound",
"1": "inbound"
},
"stations": [
{
"stop_name": "Dedham Line (Washington Street)",
"branches": null,
"station": "dline",
"order": 1,
"stops": {
"1": ["34-1-70618"],
"0": ["34-0-99832"]
}
},
{
"stop_name": "Dedham Mall",
"branches": null,
"station": "dmall",
"order": 1,
"stops": {
"1": ["34-1-10833"],
"0": ["34-0-10833"]
}
},
{
"stop_name": "Stimson Street @ Washington Street",
"branches": null,
"station": "stims",
"order": 2,
"stops": {
"1": ["34-1-621"],
"0": ["34-0-616"]
}
},
{
"stop_name": "Washington Street @ West Boundary Road",
"branches": null,
"station": "wawbw",
"order": 3,
"stops": {
"1": ["34-1-625"],
"0": ["34-0-10612"]
}
},
{
"stop_name": "Washington Street @ LaGrange Street",
"branches": null,
"station": "walag",
"order": 4,
"stops": {
"1": ["34-1-628"],
"0": ["34-0-609"]
}
},
{
"stop_name": "Washington Street @ Metropolitan Avenue",
"branches": null,
"station": "wamet",
"order": 5,
"stops": {
"1": ["34-1-633"],
"0": ["34-0-604"]
}
},
{
"stop_name": "Roslindale Square",
"branches": null,
"station": "rossq",
"order": 6,
"stops": {
"1": ["34-1-636"],
"0": ["34-0-6022", "34-0-602"]
}
},
{
"stop_name": "Forest Hills Busway",
"branches": null,
"station": "fhill",
"order": 7,
"stops": {
"1": ["34-1-10642", "34-1-875"],
"0": ["34-0-10642"]
}
}
]
}
}
Loading

0 comments on commit c94a49c

Please sign in to comment.