Skip to content

Commit 5653516

Browse files
committed
traverse *_link roads at a significantly lower speed than the main link, fixes #1174
1 parent 22da5be commit 5653516

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

features/car/speed.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ Feature: Car - speeds
99
Then routability should be
1010
| highway | oneway | bothw |
1111
| motorway | no | 72 km/h |
12-
| motorway_link | no | 60 km/h |
12+
| motorway_link | no | 36 km/h |
1313
| trunk | no | 67 km/h +- 1 |
14-
| trunk_link | no | 55 km/h +- 1 |
14+
| trunk_link | no | 32 km/h +- 1 |
1515
| primary | no | 52 km/h +- 1 |
16-
| primary_link | no | 48 km/h |
16+
| primary_link | no | 24 km/h |
1717
| secondary | no | 43 km/h +- 1 |
18-
| secondary_link | no | 40 km/h |
18+
| secondary_link | no | 20 km/h |
1919
| tertiary | no | 32 km/h |
20-
| tertiary_link | no | 24 km/h |
20+
| tertiary_link | no | 16 km/h |
2121
| unclassified | no | 20 km/h |
2222
| residential | no | 20 km/h |
2323
| living_street | no | 8 km/h |

profiles/car.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ restriction_exception_tags = { "motorcar", "motor_vehicle", "vehicle" }
1313

1414
speed_profile = {
1515
["motorway"] = 90,
16-
["motorway_link"] = 75,
16+
["motorway_link"] = 45,
1717
["trunk"] = 85,
18-
["trunk_link"] = 70,
18+
["trunk_link"] = 40,
1919
["primary"] = 65,
20-
["primary_link"] = 60,
20+
["primary_link"] = 30,
2121
["secondary"] = 55,
22-
["secondary_link"] = 50,
22+
["secondary_link"] = 25,
2323
["tertiary"] = 40,
24-
["tertiary_link"] = 30,
24+
["tertiary_link"] = 20,
2525
["unclassified"] = 25,
2626
["residential"] = 25,
2727
["living_street"] = 10,

0 commit comments

Comments
 (0)