GTFS download script
This commit is contained in:
2 files changed
+5
-1
No files matched your search
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", {
|
// await importGtfs("Chicago", {
|
||||||
// allowedRouteTypes: ["0", "1"],
|
// allowedRouteTypes: [SUBWAY],
|
||||||
// sourceFeed: "gtfs/cta.zip",
|
// sourceFeed: "gtfs/cta.zip",
|
||||||
// outputFile: "cities/chicago.json",
|
// outputFile: "cities/chicago.json",
|
||||||
// processStationNames: (name) =>
|
// processStationNames: (name) =>
|
||||||
|
|||||||
Reference in new issue
Block a user