-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrouter-config.json
165 lines (165 loc) · 4.13 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
"routingDefaults": {
"walkSpeed": 1.3,
"transferSlack": 120,
"walkReluctance": 1.75,
"stairsReluctance": 2,
"walkBoardCost": 540,
"allowKeepingRentedBicycleAtDestination": true,
"keepingRentedBicycleAtDestinationCost": 180,
"numItineraries": 5,
"bikeTriangleSafetyFactor": 0.4,
"bikeTriangleSlopeFactor": 0.3,
"bikeTriangleTimeFactor": 0.3,
"bikeRentalPickupTime": 60,
"bikeRentalPickupCost": 60,
"carReluctance": 3.0,
"itineraryFilters": {
"bikeRentalDistanceRatio": 0.75,
"parkAndRideDurationRatio": 0.6,
"minBikeParkingDistance": 500,
"transitGeneralizedCostLimit": "900 + 2.0 x"
},
"maxAccessEgressDurationForMode": {
"WALK": "20m"
},
"maxJourneyDuration": "12h"
},
"transit": {
"dynamicSearchWindow": {
"minTransitTimeCoefficient": 1.5,
"minWaitTimeCoefficient": 1.5,
"minWinTimeMinutes": 60,
"maxWinTimeMinutes": 360,
"minWindow": "1h",
"maxWindow": "6h"
}
},
"flex": {
"maxTransferDurationSeconds": 300
},
"vectorTileLayers": [
{
"name": "stops",
"type": "Stop",
"mapper": "Digitransit",
"maxZoom": 20,
"minZoom": 14,
"cacheMaxSeconds": 600,
"expansionFactor": 0.5
},
{
"name": "stations",
"type": "Station",
"mapper": "Digitransit",
"maxZoom": 20,
"minZoom": 12,
"cacheMaxSeconds": 600,
"expansionFactor": 0.5
},
{
"name": "citybikes",
"type": "VehicleRental",
"mapper": "Digitransit",
"maxZoom": 20,
"minZoom": 14,
"cacheMaxSeconds": 60,
"expansionFactor": 0.5
},
{
"name": "rentalVehicles",
"type": "VehicleRentalVehicle",
"mapper": "DigitransitRealtime",
"maxZoom": 20,
"minZoom": 14,
"cacheMaxSeconds": 60
},
{
"name": "rentalStations",
"type": "VehicleRentalStation",
"mapper": "Digitransit",
"maxZoom": 20,
"minZoom": 14,
"cacheMaxSeconds": 600
},
{
"name": "realtimeRentalStations",
"type": "VehicleRentalStation",
"mapper": "DigitransitRealtime",
"maxZoom": 20,
"minZoom": 14,
"cacheMaxSeconds": 60
},
{
"name": "parking",
"type": "VehicleParking",
"mapper": "Stadtnavi",
"maxZoom": 20,
"minZoom": 14,
"cacheMaxSeconds": 60,
"expansionFactor": 0.5
}
],
"updaters": [
//{
// "type": "stop-time-updater",
// "frequencySec": 60,
// "url": "https://amarillo-dev.mfdz.de/gtfs/amarillo.bb.gtfsrt.pbf",
// "feedId": "mfdz"
//},
{
"type": "vehicle-rental",
"frequencySec": 600,
"sourceType": "gbfs",
"url": "https://gbfs.nextbike.net/maps/gbfs/v2/nextbike_dc/gbfs.json"
},
{
"type": "vehicle-rental",
"frequencySec": 600,
"sourceType": "gbfs",
"url": "https://gbfs.nextbike.net/maps/gbfs/v2/nextbike_bn/gbfs.json"
},
{
"type": "vehicle-rental",
"frequencySec": 600,
"sourceType": "gbfs",
"url": "https://opendata.bbnavi.de/barshare/bicycle/gbfs.json"
},
{
"type": "vehicle-rental",
"frequencySec": 600,
"sourceType": "gbfs",
"url": "https://opendata.bbnavi.de/barshare/car/gbfs.json"
},
{
"type": "vehicle-rental",
"frequencySec": 600,
"sourceType": "gbfs",
"url": "https://opendata.bbnavi.de/barshare/other/gbfs.json"
},
{
"type": "vehicle-rental",
"frequencySec": 60,
"sourceType": "gbfs",
"url": "https://stables.donkey.bike/api/public/gbfs/2/donkey_berlin/gbfs.json"
},
{
"type": "vehicle-rental",
"frequencySec": 60,
"sourceType": "gbfs",
"url": "https://opendata.bbnavi.de/flotte/flotte-berlin/gbfs.json"
},
{
"type": "vehicle-rental",
"frequencySec": 60,
"sourceType": "gbfs",
"url": "https://opendata.bbnavi.de/flotte/flotte-brandenburg/gbfs.json"
},
{
"type": "vehicle-rental",
"frequencySec": 60,
"sourceType": "gbfs",
"url": "https://opendata.bbnavi.de/flotte/flotte-potsdam/gbfs.json"
}
]
}