-
Notifications
You must be signed in to change notification settings - Fork 8
/
router-config.json
117 lines (117 loc) · 2.96 KB
/
router-config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"routingDefaults" : {
"numItineraries": 5
},
"transit": {
"dynamicSearchWindow": {
"minWindow": "4h",
"maxWindow": "16h"
}
},
"vectorTiles": {
"layers": [
{
"name": "stops",
"type": "Stop",
"mapper": "Digitransit",
"maxZoom": 20,
"minZoom": 14,
"cacheMaxSeconds": 600
},
// flex zones
{
"name": "areaStops",
"type": "AreaStop",
"mapper": "OTPRR",
"maxZoom": 20,
"minZoom": 14,
"cacheMaxSeconds": 600
},
{
"name": "stations",
"type": "Station",
"mapper": "Digitransit",
"maxZoom": 20,
"minZoom": 12,
"cacheMaxSeconds": 600
},
// all rental places: stations and free-floating vehicles
{
"name": "citybikes",
"type": "VehicleRental",
"mapper": "Digitransit",
"maxZoom": 20,
"minZoom": 14,
"cacheMaxSeconds": 60,
"expansionFactor": 0.25
},
// just free-floating vehicles
{
"name": "rentalVehicles",
"type": "VehicleRentalVehicle",
"mapper": "DigitransitRealtime",
"maxZoom": 20,
"minZoom": 14,
"cacheMaxSeconds": 60
},
// just rental stations
{
"name": "rentalStations",
"type": "VehicleRentalStation",
"mapper": "Digitransit",
"maxZoom": 20,
"minZoom": 14,
"cacheMaxSeconds": 600
},
// no real-time, translatable fields are translated based on accept-language header
// and contains less fields than the Stadtnavi mapper
{
"name": "vehicleParking",
"type": "VehicleParking",
"mapper": "Digitransit",
"maxZoom": 20,
"minZoom": 14,
"cacheMaxSeconds": 600,
"expansionFactor": 0.25
}
]
},
"updaters": [
{
"type": "stop-time-updater",
"url": "https://mobility.api.opendatahub.testingmachine.eu/v2/GTFS-RT",
"feedId": "sta"
},
{
"type" : "vehicle-rental",
"sourceType" : "gbfs",
"url" : "https://gbfs.otp.opendatahub.com/bz/2.1/gbfs.json"
},
{
"type" : "vehicle-rental",
"sourceType" : "gbfs",
"url" : "https://gbfs.otp.opendatahub.com/me/2.1/gbfs.json"
},
{
"type" : "vehicle-rental",
"sourceType" : "gbfs",
"url" : "https://gbfs.otp.opendatahub.com/papin/2.1/gbfs.json"
},
{
"type" : "vehicle-rental",
"sourceType" : "gbfs",
"url" : "https://carsharing.otp.opendatahub.testingmachine.eu/noi/gbfs.json"
},
{
"type": "stop-time-updater",
"url": "https://amarillo.otp.opendatahub.testingmachine.eu/gtfs/amarillo.altoadige.gtfsrt.pbf",
"feedId": "amarillo"
},
{
"type": "vehicle-parking",
"feedId": "parking",
"sourceType": "siri-fm",
"url": "https://transmodel.api.opendatahub.com/siri-lite/facility-monitoring/parking"
}
]
}