GTFS download script
This commit is contained in:
Executable
+4
@@ -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
|
||||
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user