From e996ea5cc813d8ac4b329fa2cb3f579ac73c65af Mon Sep 17 00:00:00 2001 From: Jannis R Date: Wed, 17 Feb 2021 14:16:07 +0100 Subject: [PATCH] US: add BART --- data/us/bart-hafas-mgate.json | 42 +++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 data/us/bart-hafas-mgate.json diff --git a/data/us/bart-hafas-mgate.json b/data/us/bart-hafas-mgate.json new file mode 100644 index 0000000..d91caf7 --- /dev/null +++ b/data/us/bart-hafas-mgate.json @@ -0,0 +1,42 @@ +{ + "name": "Bay Area Rapid Transit (BART)", + "type": { + "hafasMgate": true + }, + "supportedLanguages": [ + "en", + "es" + ], + "timezone": "Europe/Berlin", + "attribution": { + "name": "San Francisco Bay Area Rapid Transit District", + "homepage": "https://bart.gov/", + "isProprietary": true + }, + "coverage": { + "realtimeCoverage": { + "area": {"type":"Polygon","coordinates":[[[-122.4375,38.0039],[-122.4121,37.9011],[-122.3507,37.8924],[-122.3333,37.8549],[-122.4705,37.8195],[-122.5283,37.7907],[-122.5047,37.6603],[-122.4109,37.5689],[-122.3262,37.5935],[-122.3691,37.6759],[-122.3452,37.7108],[-122.3503,37.7482],[-122.3368,37.7686],[-122.2412,37.6921],[-122.2018,37.6853],[-121.9058,37.2821],[-121.7902,37.3224],[-121.8428,37.4048],[-121.9187,37.56],[-122.0138,37.615],[-122.0441,37.6639],[-121.8919,37.681],[-121.8938,37.725],[-122.0704,37.7156],[-122.1051,37.7329],[-122.2038,37.8273],[-122.0528,37.8726],[-122.0152,37.9936],[-121.7662,37.9798],[-121.7389,38.0257],[-121.9899,38.0612],[-122.0679,38.0557],[-122.1284,37.9264],[-122.2412,37.9061],[-122.2903,38.011],[-122.4375,38.0039]]]} + } + }, + "options": { + "auth": { + "type": "AID", + "aid": "kEwHkFUCIL500dym" + }, + "client": { + "id": "BART", + "type": "WEB", + "name": "webapp", + "l": "vs_webapp" + }, + "endpoint": "https://planner.bart.gov/bin/mgate.exe", + "lineModeMap": { + "4": "cable car", + "8": "regional trains (Caltrain, Capitol Corridor, ACE)", + "32": "Bus", + "64": "Ferry", + "128": "BART", + "256": "Tram" + } + } +}