diff --git a/gtfs-importer/download-gtfs.sh b/gtfs-importer/download-gtfs.sh new file mode 100755 index 0000000..fee6d51 --- /dev/null +++ b/gtfs-importer/download-gtfs.sh @@ -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 \ No newline at end of file diff --git a/gtfs-importer/index.js b/gtfs-importer/index.js index 3ab012d..3e2ccdb 100644 --- a/gtfs-importer/index.js +++ b/gtfs-importer/index.js @@ -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) =>