-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more OTP endpoints and update coverage areas
Coverage areas are no longer based on the (often bogus) bounding polygons reported by the OTP instances themselves, but are now the convex hull of all stops after applying basic outlier filtering on those.
- Loading branch information
Showing
13 changed files
with
152 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "Peatus", | ||
"coverage": { | ||
"anyCoverage": { | ||
"area": { | ||
"coordinates": [ [ [ 21.01000005, 56.47999934 ], [ 22.26000113, 60.4499993 ], [ 23.76000159, 61.48999981 ], [ 28.77000133, 60.69999991 ], [ 30.33000028, 59.94999924 ], [ 30.362018, 59.92978 ], [ 30.54000016, 56.33999986 ], [ 29.95999976, 55.84999959 ], [ 24.36999903, 55.72999942 ], [ 21.13999916, 55.68999934 ], [ 21.06999937, 55.91000052 ], [ 21.01000005, 56.47999934 ] ] ], | ||
"type": "Polygon" | ||
}, | ||
"region": [ "EE" ] | ||
} | ||
}, | ||
"options": { | ||
"apiVersion": "otp1", | ||
"endpoint": "https://api.peatus.ee/routing/v1/routers/estonia/" | ||
}, | ||
"supportedLanguages": [ "ee" ], | ||
"timezone": "Europe/Tallinn", | ||
"type": { | ||
"otpGraphQl": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "Muoversi in Piemonte", | ||
"coverage": { | ||
"anyCoverage": { | ||
"area": { | ||
"coordinates": [ [ [ 6.657883, 45.192791 ], [ 6.6584399, 45.193577 ], [ 7.32343, 45.73486 ], [ 7.32358, 45.73497 ], [ 8.26473, 46.06416 ], [ 8.737411, 45.996876 ], [ 9.20245, 45.765152 ], [ 9.207863, 45.476323 ], [ 9.20967544764, 45.1110632288 ], [ 9.20905531201, 44.9739638801 ], [ 9.20890537229, 44.9633386187 ], [ 9.20406738968, 44.7772915919 ], [ 9.18694377385, 44.7114138668 ], [ 9.032512, 44.383804 ], [ 8.0207, 43.92891 ], [ 7.512849, 43.938467 ], [ 6.93822, 44.39601 ], [ 6.66512311, 45.04967936 ], [ 6.657883, 45.192791 ] ] ], | ||
"type": "Polygon" | ||
}, | ||
"region": [ "IT-21" ] | ||
} | ||
}, | ||
"options": { | ||
"endpoint": "https://map.muoversinpiemonte.it/otp/routers/mip/" | ||
}, | ||
"supportedLanguages": [ "it" ], | ||
"timezone": "Europe/Rome", | ||
"type": { | ||
"otpRest": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "Muoversi a Torino", | ||
"coverage": { | ||
"anyCoverage": { | ||
"area": { | ||
"coordinates": [ [ [ 6.83188, 45.03133 ], [ 7.32343, 45.73486 ], [ 7.32358, 45.73497 ], [ 8.26473, 46.06416 ], [ 8.47228, 45.94383 ], [ 8.53161, 45.88447 ], [ 8.57088, 45.84334 ], [ 8.628632, 45.726383 ], [ 8.67202, 45.35155 ], [ 8.683283, 44.882405 ], [ 8.678328, 44.403081 ], [ 8.220248, 44.043758 ], [ 8.03422, 43.90048 ], [ 7.512849, 43.938467 ], [ 6.93822, 44.39601 ], [ 6.83508, 44.93638 ], [ 6.83188, 45.03133 ] ] ], | ||
"type": "Polygon" | ||
}, | ||
"region": [ "IT-21" ] | ||
} | ||
}, | ||
"options": { | ||
"endpoint": "https://mapi.5t.torino.it/routing/v1/routers/mat/" | ||
}, | ||
"timezone": "Europe/Rome", | ||
"supportedLanguages": [ "it" ], | ||
"type": { | ||
"otpGraphQl": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "Los Angeles Metro", | ||
"coverage": { | ||
"anyCoverage": { | ||
"area": { | ||
"coordinates": [ [ [ -118.809037, 34.022151 ], [ -118.808978, 34.143394 ], [ -118.80884, 34.14387 ], [ -118.807322, 34.146898 ], [ -118.65693927239, 34.419754153355 ], [ -118.61772353405, 34.434719170387 ], [ -118.57494154687, 34.436765058366 ], [ -118.3930428244, 34.43706481063 ], [ -117.711253, 34.121709 ], [ -117.711613, 34.094773 ], [ -117.73279753881, 33.657105048338 ], [ -118.29252, 33.706853 ], [ -118.294531, 33.707365 ], [ -118.40309, 33.745209 ], [ -118.809037, 34.022151 ] ] ], | ||
"type": "Polygon" | ||
}, | ||
"region": [ "US-CA" ] | ||
} | ||
}, | ||
"options": { | ||
"endpoint": "https://otp.metroservices.io/otp/routers/default/" | ||
}, | ||
"supportedLanguages": [ "en" ], | ||
"timezone": "America/Los_Angeles", | ||
"type": { | ||
"otpRest": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "Marta", | ||
"coverage": { | ||
"anyCoverage": { | ||
"area": { | ||
"coordinates": [ [ [ -84.701564, 33.867512 ], [ -84.65646, 34.077262 ], [ -84.656428, 34.077357 ], [ -84.26965, 34.105609 ], [ -84.266494, 34.105822 ], [ -84.248608, 34.104237 ], [ -84.246876, 34.103721 ], [ -84.241578, 34.101539 ], [ -84.005038, 33.982187 ], [ -84.004367, 33.96005 ], [ -84.007821, 33.921209 ], [ -84.014637, 33.854053 ], [ -84.056727, 33.685082 ], [ -84.314471, 33.435981 ], [ -84.340934, 33.441836 ], [ -84.669803, 33.517397 ], [ -84.701564, 33.867512 ] ] ], | ||
"type": "Polygon" | ||
}, | ||
"region": [ "US-GA" ] | ||
} | ||
}, | ||
"options": { | ||
"endpoint": "https://opentrip.atlantaregion.com/otp/routers/default/" | ||
}, | ||
"supportedLanguages": [ "en" ], | ||
"timezone": "America/New_York", | ||
"type": { | ||
"otpRest": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "Massachusetts Bay Transportation Authority (MBTA)", | ||
"coverage": { | ||
"anyCoverage": { | ||
"area": { | ||
"coordinates": [ [ [ -71.347133, 42.285719 ], [ -71.325404, 42.41342 ], [ -71.280995, 42.593248 ], [ -70.874801, 42.609212 ], [ -70.811405, 42.561651 ], [ -70.837529, 42.24421 ], [ -70.934405, 42.107156 ], [ -71.016534, 42.084659 ], [ -71.26151, 42.0951 ], [ -71.325217, 42.120694 ], [ -71.347133, 42.285719 ] ] ], | ||
"type": "Polygon" | ||
}, | ||
"region": [ "US-MA" ] | ||
} | ||
}, | ||
"options": { | ||
"endpoint": "https://prod.otp.mbtace.com/otp/routers/mbta/" | ||
}, | ||
"supportedLanguages": [ "en" ], | ||
"timezone": "America/New_York", | ||
"type": { | ||
"otpRest": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"name": "TriMet", | ||
"coverage": { | ||
"anyCoverage": { | ||
"area": { | ||
"coordinates": [ [ [ -123.04452, 45.519998 ], [ -123.044484, 45.520284 ], [ -122.994384, 45.549727 ], [ -122.815496, 45.629438 ], [ -122.766013, 45.637726 ], [ -122.756281, 45.636553 ], [ -122.39933, 45.55503 ], [ -122.388561, 45.551362 ], [ -122.378245, 45.537293 ], [ -122.346691, 45.346034 ], [ -122.343322, 45.323908 ], [ -122.34333, 45.32204 ], [ -122.343643, 45.321402 ], [ -122.560059, 45.318713 ], [ -122.567026, 45.318708 ], [ -122.775493, 45.33519 ], [ -122.841555, 45.357395 ], [ -122.841956, 45.357534 ], [ -123.04452, 45.519998 ] ] ], | ||
"type": "Polygon" | ||
}, | ||
"region": [ "US-OR" ] | ||
}, | ||
"realtimeCoverage": { | ||
"area": { | ||
"type": "Polygon" | ||
} | ||
} | ||
}, | ||
"options": { | ||
"endpoint": "https://maps.trimet.org/otp_mod/" | ||
}, | ||
"supportedLanguages": [ "en" ], | ||
"timezone": "America/Los_Angeles", | ||
"type": { | ||
"otpRest": true | ||
} | ||
} |