Skip to content

Commit fa6b59f

Browse files
authored
Merge pull request #543 from HSLdevcom/revert-542-remove-flex-and-others
Revert "Remove flex test configurations for release"
2 parents aad4496 + d191139 commit fa6b59f

12 files changed

Lines changed: 75 additions & 10 deletions

finland/router-config.json

Lines changed: 8 additions & 2 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": "5m + 5t",
42+
"costFactor": 1
43+
}
3844
}
3945
},
4046
"maxDirectStreetDuration": "100h",
@@ -68,8 +74,8 @@
6874
"tracingTags": ["digitransit-subscription-id"]
6975
},
7076
"flex": {
71-
"maxTransferDuration": "1m",
72-
"maxFlexTripDuration": "3h",
77+
"maxTransferDuration": "5m",
78+
"maxFlexTripDuration": "40m",
7379
"maxAccessWalkDuration": "5m",
7480
"maxEgressWalkDuration": "5m"
7581
},

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: 2 additions & 2 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": "5m + 5t",
32+
"costFactor": 1
3333
}
3434
}
3535
},

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: 13 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": "5m + 5t",
32+
"costFactor": 1
33+
}
34+
}
2935
},
3036
"maxDirectStreetDuration": "2h",
3137
"maxDirectStreetDurationForMode": {
@@ -51,6 +57,12 @@
5157
"gtfsApi": {
5258
"tracingTags": ["digitransit-subscription-id"]
5359
},
60+
"flex": {
61+
"maxTransferDuration": "5m",
62+
"maxFlexTripDuration": "30m",
63+
"maxAccessWalkDuration": "5m",
64+
"maxEgressWalkDuration": "5m"
65+
},
5466
"transit": {
5567
"pagingSearchWindowAdjustments": ["8h", "4h", "4h", "4h", "4h"],
5668
"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
mapSrc(
3136
'WalttiTest',
3237
'https://tvv.fra1.digitaloceanspaces.com/229.zip',

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
}

waltti-alt/router-config.json

Lines changed: 13 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": "5m + 5t",
32+
"costFactor": 1
33+
}
34+
}
2935
},
3036
"maxDirectStreetDuration": "4h",
3137
"maxDirectStreetDurationForMode": {
@@ -51,6 +57,12 @@
5157
"gtfsApi": {
5258
"tracingTags": ["digitransit-subscription-id"]
5359
},
60+
"flex": {
61+
"maxTransferDuration": "5m",
62+
"maxFlexTripDuration": "30m",
63+
"maxAccessWalkDuration": "5m",
64+
"maxEgressWalkDuration": "5m"
65+
},
5466
"transit": {
5567
"pagingSearchWindowAdjustments": ["8h", "4h", "4h", "4h", "4h"],
5668
"dynamicSearchWindow": {

waltti/config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,11 @@ module.exports = {
127127
),
128128
mapSrc('Salo', 'https://tvv.fra1.digitaloceanspaces.com/239.zip', true),
129129
mapSrc('Kajaani', 'https://tvv.fra1.digitaloceanspaces.com/211.zip', true),
130+
mapSrc(
131+
'02Taksi',
132+
'https://resources.02taksi.fi/digitransit_02_taksi.zip',
133+
false,
134+
),
130135
],
131136
osm: ['kajaani', 'oulu', 'rovaniemi', 'southFinland', 'vaasa'],
132137
};

0 commit comments

Comments
 (0)