GTFS download script

This commit is contained in:
2024-11-03 15:19:53 -05:00
parent 946d4cb8e8
commit 32161dfd68
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
mkdir -p gtfs/
wget https://cdn.mbta.com/MBTA_GTFS.zip --max-redirect=0 -O gtfs/mbta.zip
wget https://www.transitchicago.com/downloads/sch_data/google_transit.zip --max-redirect=0 -O gtfs/cta.zip
+1 -1
View File
@@ -8,7 +8,7 @@ await importGtfs("Boston", {
});
// await importGtfs("Chicago", {
// allowedRouteTypes: ["0", "1"],
// allowedRouteTypes: [SUBWAY],
// sourceFeed: "gtfs/cta.zip",
// outputFile: "cities/chicago.json",
// processStationNames: (name) =>