Re-sync boston.json with GTFS feed

This commit is contained in:
cjdenio committed 2025-02-07 10:04:37 -05:00
1 parent deb52f6f84
commit c605835f2f
2 files changed
+8 -3

No files matched your search

+1 -1
View File
@@ -1 +1 @@
{"stations":{"place-wondl":{"stop_id":"place-wondl","stop_code":"","stop_name":"Wonderland","stop_desc":"","platform_code":"","platform_name":"","stop_lat":"42.413420","stop_lon":"-70.991648","zone_id":"","stop_address":"1300 North Shore Rd, Revere, MA 02151","stop_url":"https://www.mbta.com/stops/place-wondl","level_id":"","location_type":"1","parent_station":"","wheelchair_boarding":"1","municipality":"Revere","on_street":"","at_street":"","vehicle_type":"","routes":["Blue"]},"place-rbmnl":{"stop_id":"place-rbmnl","stop_code":"","stop_name":"Revere Beach","stop_desc":"","platform_code":"","platform_name":"","stop_lat":"42.407843","stop_lon":"-70.992533","zone_id":"","stop_address":"220 Shirley Ave, Revere, MA","stop_url":"https://www.mbta.com/stops/place-rbmnl","level_id":"","location_type":"1","parent_station":"","wheelchair_boarding":"1","municipality":"Revere","on_street":"","at_street":"","vehicle_type":"","routes":["Blue"]},"place-bmmnl":{"stop_id":"place-bmmnl","stop_code":"","stop_name":"Beachmont","stop_desc":"","platform_code":"","platform_name":"","stop_lat":"42.397542","stop_lon":"-70.992319","zone_id":"","stop_address":"630 Winthrop Ave, Revere, MA 02151","stop_url":"https://www.mbta.com/stops/place-bmmnl","level_id":"","location_type":"1","parent_station":"","wheelchair_boarding":"1","municipality":"Revere","on_street":"","at_street":"","vehicle_type":"","routes":["Blue"]},"place-sdmnl":{"stop_id":"place-sdmnl","stop_code":"","stop_name":"Suffolk Downs","stop_desc":"","platform_code":"","platform_name":"","stop_lat":"42.390501","stop_lon":"-70.997123","zone_id":"","stop_address":"1230 Bennington St, East Boston, MA 02128","stop_url":"https://www.mbta.com/stops/place-sdmnl","level_id":"","location_type":"1","parent_station":"","wheelchair_boarding":"1","municipality":"Boston","on_street":"","at_street":"","vehicle_type":"","routes":["Blue"]},"place-orhte":{"stop_id":"place-orhte","stop_code":"","stop_name":"Orient Heights","stop_desc":"","platform_code":"","platform_name":"","stop_lat":"42.386867","stop_lon":"-71.004736","zone_id":"","stop_address":"1000 Bennington St, East Boston, MA 02128","stop_url":"https://www.mbta.com/stops/place-orhte","level_id":"","location_type":"1","parent_station":"","wheelchair_boarding":"1","municipality":"Boston","on_street":"","at_street":"","vehicle_type":"","routes":["Blue"]},"place-wimnl":{"stop_id":"place-wimnl","stop_code":"","stop_name":"Wood Island","stop_desc":"","platform_code":"","platform_name":"","stop_lat":"42.379640","stop_lon":"-71.022865","zone_id":"","stop_address":"450 Bennington St, East Boston, MA","stop_url":"https://www.mbta.com/stops/place-wimnl","level_id":"","location_type":"1","parent_station":"","wheelchair_boarding":"1","municipality":"Boston","on_street":"","at_street":"","vehicle_type":"","routes":["Blue"]},"place-aport":{"stop_id":"place-aport","stop_code":"","stop_name":"Airport","stop_desc":"","platform_code":"","platform_name":"","stop_lat":"42.374262","stop_lon":"-71.030395","zone_id":"","stop_address":"Transportation Way and Service Rd, Boston, MA 02128","stop_url":"https://www.mbta.com/stops/place-aport","level_id":"","location_type":"1","parent_station":"","wheelchair_boarding":"1","municipality":"Boston","on_street":"","at_street":"","vehicle_type":"","routes":["Blue"]},"place-mvbcl":{"stop_id":"place-mvbcl","stop_code":"","stop_name":"Maverick","stop_desc":"","platform_code":"","platform_name":"","stop_lat":"42.369119","stop_lon":"-71.039530","zone_id":"","stop_address":"Sumner St and Maverick Sq, East Boston, MA","stop_url":"https://www.mbta.com/stops/place-mvbcl","level_id":"","location_type":"1","parent_station":"","wheelchair_boarding":"1","municipality":"Boston","on_street":"","at_street":"","vehicle_type":"","routes":["Blue"]},"place-aqucl":{"stop_id":"place-aqucl","stop_code":"","stop_name":"Aquarium","stop_desc":"","platform_code":"","platform_name":"","stop_lat":"42.359784","stop_lon":"-71.051652","zone_id":"","stop_address":"Atlantic Ave and State St, Boston, MA 02120","stop_url":"https://www.mbta.com/stops/place-aqucl","level_id":"","location_type":"1","parent_station":"","wheelchair_boarding":"1","municipality":"Boston","on_street":"","at_street":"","vehicle_type":"","routes":["Blue"]},"place-state":{"stop_id":"place-state","stop_code":"","stop_name":"State","stop_desc":"","platform_code":"","platform_name":"","stop_lat":"42.358978","stop_lon":"-71.057598","zone_id":"","stop_address":"200 Washington St, Boston, MA","stop_url":"https://www.mbta.com/stops/place-state","level_id":"","location_type":"1","parent_station":"","wheelchair_boarding":"1","municipality":"Boston","on_street":"","at_street":"","vehicle_type":"","routes":["Blue","Orange"]},"place-gover":{"stop_id":"place-gover","stop_code":"","stop_name":"Government Center","stop_desc":"","platform_code":"","platform_name":"","stop_lat":"42.359705","stop_lon":"-71.059215","zone_id":"","stop_address":"Cambridge St and Court St, Boston, MA","stop_url":"httpsLine truncated {"stations":{"place-wondl":{"stop_id":"place-wondl","stop_code":"","stop_name":"Wonderland","stop_desc":"","platform_code":"","platform_name":"","stop_lat":"42.413420","stop_lon":"-70.991648","zone_id":"","stop_address":"1300 North Shore Rd, Revere, MA 02151","stop_url":"https://www.mbta.com/stops/place-wondl","level_id":"","location_type":"1","parent_station":"","wheelchair_boarding":"1","municipality":"Revere","on_street":"","at_street":"","vehicle_type":"","routes":["Blue"]},"place-rbmnl":{"stop_id":"place-rbmnl","stop_code":"","stop_name":"Revere Beach","stop_desc":"","platform_code":"","platform_name":"","stop_lat":"42.407843","stop_lon":"-70.992533","zone_id":"","stop_address":"220 Shirley Ave, Revere, MA","stop_url":"https://www.mbta.com/stops/place-rbmnl","level_id":"","location_type":"1","parent_station":"","wheelchair_boarding":"1","municipality":"Revere","on_street":"","at_street":"","vehicle_type":"","routes":["Blue"]},"place-bmmnl":{"stop_id":"place-bmmnl","stop_code":"","stop_name":"Beachmont","stop_desc":"","platform_code":"","platform_name":"","stop_lat":"42.397542","stop_lon":"-70.992319","zone_id":"","stop_address":"630 Winthrop Ave, Revere, MA 02151","stop_url":"https://www.mbta.com/stops/place-bmmnl","level_id":"","location_type":"1","parent_station":"","wheelchair_boarding":"1","municipality":"Revere","on_street":"","at_street":"","vehicle_type":"","routes":["Blue"]},"place-sdmnl":{"stop_id":"place-sdmnl","stop_code":"","stop_name":"Suffolk Downs","stop_desc":"","platform_code":"","platform_name":"","stop_lat":"42.390501","stop_lon":"-70.997123","zone_id":"","stop_address":"1230 Bennington St, East Boston, MA 02128","stop_url":"https://www.mbta.com/stops/place-sdmnl","level_id":"","location_type":"1","parent_station":"","wheelchair_boarding":"1","municipality":"Boston","on_street":"","at_street":"","vehicle_type":"","routes":["Blue"]},"place-orhte":{"stop_id":"place-orhte","stop_code":"","stop_name":"Orient Heights","stop_desc":"","platform_code":"","platform_name":"","stop_lat":"42.386867","stop_lon":"-71.004736","zone_id":"","stop_address":"1000 Bennington St, East Boston, MA 02128","stop_url":"https://www.mbta.com/stops/place-orhte","level_id":"","location_type":"1","parent_station":"","wheelchair_boarding":"1","municipality":"Boston","on_street":"","at_street":"","vehicle_type":"","routes":["Blue"]},"place-wimnl":{"stop_id":"place-wimnl","stop_code":"","stop_name":"Wood Island","stop_desc":"","platform_code":"","platform_name":"","stop_lat":"42.379640","stop_lon":"-71.022865","zone_id":"","stop_address":"450 Bennington St, East Boston, MA","stop_url":"https://www.mbta.com/stops/place-wimnl","level_id":"","location_type":"1","parent_station":"","wheelchair_boarding":"1","municipality":"Boston","on_street":"","at_street":"","vehicle_type":"","routes":["Blue"]},"place-aport":{"stop_id":"place-aport","stop_code":"","stop_name":"Airport","stop_desc":"","platform_code":"","platform_name":"","stop_lat":"42.374262","stop_lon":"-71.030395","zone_id":"","stop_address":"Transportation Way and Service Rd, Boston, MA 02128","stop_url":"https://www.mbta.com/stops/place-aport","level_id":"","location_type":"1","parent_station":"","wheelchair_boarding":"1","municipality":"Boston","on_street":"","at_street":"","vehicle_type":"","routes":["Blue"]},"place-mvbcl":{"stop_id":"place-mvbcl","stop_code":"","stop_name":"Maverick","stop_desc":"","platform_code":"","platform_name":"","stop_lat":"42.369119","stop_lon":"-71.039530","zone_id":"","stop_address":"Sumner St and Maverick Sq, East Boston, MA","stop_url":"https://www.mbta.com/stops/place-mvbcl","level_id":"","location_type":"1","parent_station":"","wheelchair_boarding":"1","municipality":"Boston","on_street":"","at_street":"","vehicle_type":"","routes":["Blue"]},"place-aqucl":{"stop_id":"place-aqucl","stop_code":"","stop_name":"Aquarium","stop_desc":"","platform_code":"","platform_name":"","stop_lat":"42.359784","stop_lon":"-71.051652","zone_id":"","stop_address":"Atlantic Ave and State St, Boston, MA 02120","stop_url":"https://www.mbta.com/stops/place-aqucl","level_id":"","location_type":"1","parent_station":"","wheelchair_boarding":"1","municipality":"Boston","on_street":"","at_street":"","vehicle_type":"","routes":["Blue"]},"place-state":{"stop_id":"place-state","stop_code":"","stop_name":"State","stop_desc":"","platform_code":"","platform_name":"","stop_lat":"42.358978","stop_lon":"-71.057598","zone_id":"","stop_address":"200 Washington St, Boston, MA","stop_url":"https://www.mbta.com/stops/place-state","level_id":"","location_type":"1","parent_station":"","wheelchair_boarding":"1","municipality":"Boston","on_street":"","at_street":"","vehicle_type":"","routes":["Blue","Orange"]},"place-gover":{"stop_id":"place-gover","stop_code":"","stop_name":"Government Center","stop_desc":"","platform_code":"","platform_name":"","stop_lat":"42.359705","stop_lon":"-71.059215","zone_id":"","stop_address":"Cambridge St and Court St, Boston, MA","stop_url":"httpsLine truncated
+7 -2
View File
@@ -1,4 +1,9 @@
mkdir -p gtfs/ mkdir -p gtfs/
wget https://cdn.mbta.com/MBTA_GTFS.zip --max-redirect=0 -O gtfs/mbta.zip function download {
wget https://www.transitchicago.com/downloads/sch_data/google_transit.zip --max-redirect=0 -O gtfs/cta.zip wget $2 --accept="*.zip" -O gtfs/$1.zip
}
download mbta "https://cdn.mbta.com/MBTA_GTFS.zip"
# download cta "https://www.transitchicago.com/downloads/sch_data/google_transit.zip"
# download bart "https://www.bart.gov/dev/schedules/google_transit.zip"