Skip to content

Commit 0dfab2c

Browse files
authored
Merge pull request #533 from HSLdevcom/revert-532-remove-flex-and-car-transit-for-release
Revert "Remove flex, car transit, and Kuopio data for release"
2 parents 39de101 + a982156 commit 0dfab2c

14 files changed

Lines changed: 102 additions & 16 deletions

finland/router-config.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@
3535
"maxStopCountForMode": {
3636
"BIKE": 0,
3737
"CAR": 0
38+
},
39+
"penalty": {
40+
"FLEXIBLE": {
41+
"timePenalty": "20m + 3t",
42+
"costFactor": 1
43+
}
3844
}
3945
},
4046
"maxDirectStreetDuration": "100h",
@@ -68,10 +74,11 @@
6874
"tracingTags": ["digitransit-subscription-id"]
6975
},
7076
"flex": {
71-
"maxTransferDuration": "1m",
72-
"maxFlexTripDuration": "3h",
77+
"maxTransferDuration": "5m",
78+
"maxFlexTripDuration": "1h",
7379
"maxAccessWalkDuration": "5m",
74-
"maxEgressWalkDuration": "5m"
80+
"maxEgressWalkDuration": "5m",
81+
"maxFlexStopCount": 300
7582
},
7683
"transit": {
7784
"pagingSearchWindowAdjustments": ["8h", "4h", "4h", "4h", "4h"],

hsl/config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ module.exports = {
1010
undefined,
1111
{ 'trips.txt': 'trips2.txt' },
1212
),
13+
mapSrc(
14+
'02Taksi',
15+
'https://resources.02taksi.fi/digitransit_02_taksi.zip',
16+
false,
17+
),
1318
/*
1419
mapSrc(
1520
'HSLlautta',

hsl/router-config.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"maxDuration": "1h",
2929
"penalty": {
3030
"FLEXIBLE": {
31-
"timePenalty": "10m + 1.9t",
32-
"costFactor": 2
31+
"timePenalty": "20m + 3t",
32+
"costFactor": 1
3333
}
3434
}
3535
},
@@ -110,7 +110,8 @@
110110
"maxTransferDuration": "5m",
111111
"maxFlexTripDuration": "30m",
112112
"maxAccessWalkDuration": "5m",
113-
"maxEgressWalkDuration": "5m"
113+
"maxEgressWalkDuration": "5m",
114+
"maxFlexStopCount": 100
114115
},
115116
"transit": {
116117
"maxSearchWindow": "8h",

kela/build-config.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,15 @@
1515
"wheelchairAccessibility": {
1616
"enabled": true
1717
}
18-
}
18+
},
19+
{ "modes": "CAR" }
1920
],
21+
"transferParametersForMode": {
22+
"CAR": {
23+
"disableDefaultTransfers": true,
24+
"carsAllowedStopMaxTransferDuration": "60m"
25+
}
26+
},
2027
"boardingLocationTags": ["ref", "ref:findt", "ref:findr"],
2128
"osmDefaults": {
2229
"timeZone": "Europe/Helsinki",

kela/router-config.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
"maxDuration": "8h",
2929
"maxStopCount": "400",
3030
"maxDurationForMode": {
31-
"CAR": "1m"
31+
"CAR": "60m"
3232
},
3333
"maxStopCountForMode": {
34-
"CAR": 1
34+
"CAR": 0
3535
}
3636
},
3737
"maxDirectStreetDuration": "100h",
@@ -79,6 +79,9 @@
7979
"walk": {
8080
"speed": 1.67
8181
}
82+
},
83+
{
84+
"modes": "CAR"
8285
}
8386
]
8487
},

varely/config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ module.exports = {
1414
),
1515
mapSrc('Salo', 'https://tvv.fra1.digitaloceanspaces.com/239.zip', true),
1616
mapSrc('Pori', 'https://tvv.fra1.digitaloceanspaces.com/231.zip', true),
17+
mapSrc(
18+
'02Taksi',
19+
'https://resources.02taksi.fi/digitransit_02_taksi.zip',
20+
false,
21+
),
1722
],
1823
osm: ['varely'],
1924
};

varely/otp-config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"SandboxAPIMapboxVectorTilesApi": true,
99
"ActuatorAPI": true,
1010
"AsyncGraphQLFetchers": false,
11-
"DebugRasterTiles": true
11+
"DebugRasterTiles": true,
12+
"FlexRouting": true
1213
}
1314
}

varely/router-config.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,13 @@
2525
"boardCost": 120
2626
},
2727
"accessEgress": {
28-
"maxDuration": "1h"
28+
"maxDuration": "1h",
29+
"penalty": {
30+
"FLEXIBLE": {
31+
"timePenalty": "20m + 3t",
32+
"costFactor": 1
33+
}
34+
}
2935
},
3036
"maxDirectStreetDuration": "2h",
3137
"maxDirectStreetDurationForMode": {
@@ -51,6 +57,13 @@
5157
"gtfsApi": {
5258
"tracingTags": ["digitransit-subscription-id"]
5359
},
60+
"flex": {
61+
"maxTransferDuration": "5m",
62+
"maxFlexTripDuration": "30m",
63+
"maxAccessWalkDuration": "5m",
64+
"maxEgressWalkDuration": "5m",
65+
"maxFlexStopCount": 100
66+
},
5467
"transit": {
5568
"pagingSearchWindowAdjustments": ["8h", "4h", "4h", "4h", "4h"],
5669
"dynamicSearchWindow": {

waltti-alt/config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ module.exports = {
2727
},
2828
},
2929
),
30+
mapSrc(
31+
'02Taksi',
32+
'https://resources.02taksi.fi/digitransit_02_taksi.zip',
33+
false,
34+
),
3035
],
3136
osm: ['oulu', 'southFinland'],
3237
};

waltti-alt/otp-config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"SandboxAPIMapboxVectorTilesApi": true,
99
"ActuatorAPI": true,
1010
"AsyncGraphQLFetchers": false,
11-
"DebugRasterTiles": true
11+
"DebugRasterTiles": true,
12+
"FlexRouting": true
1213
}
1314
}

0 commit comments

Comments
 (0)