Skip to content

Commit

Permalink
Car profile, add new specific country speed limit at:urban, ca-on:rur…
Browse files Browse the repository at this point in the history
…al and es:trunk (#6443)
  • Loading branch information
frodrigo authored Nov 6, 2022
1 parent 5f82d0c commit 2bbb347
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions profiles/car.lua
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ function setup()

-- List only exceptions
maxspeed_table = {
["at:urban"] = 40,
["at:rural"] = 100,
["at:trunk"] = 100,
["be:motorway"] = 120,
Expand All @@ -276,6 +277,7 @@ function setup()
["be-vlg:rural"] = 70,
["by:urban"] = 60,
["by:motorway"] = 110,
["ca-on:rural"] = 80,
["ch:rural"] = 80,
["ch:trunk"] = 100,
["ch:motorway"] = 120,
Expand All @@ -285,6 +287,7 @@ function setup()
["de:rural"] = 100,
["de:motorway"] = 0,
["dk:rural"] = 80,
["es:trunk"] = 90,
["fr:rural"] = 80,
["gb:nsl_single"] = (60*1609)/1000,
["gb:nsl_dual"] = (70*1609)/1000,
Expand Down
3 changes: 3 additions & 0 deletions taginfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,14 @@
{"key": "maxspeed", "value": "rural"},
{"key": "maxspeed", "value": "trunk"},
{"key": "maxspeed", "value": "motorway"},
{"key": "maxspeed", "value": "AT:urban"},
{"key": "maxspeed", "value": "AT:rural"},
{"key": "maxspeed", "value": "AT:trunk"},
{"key": "maxspeed", "value": "BE:motorway"},
{"key": "maxspeed", "value": "BE-VLG:rural"},
{"key": "maxspeed", "value": "BY:urban"},
{"key": "maxspeed", "value": "BY:motorway"},
{"key": "maxspeed", "value": "CA-ON:rural"},
{"key": "maxspeed", "value": "CH:rural"},
{"key": "maxspeed", "value": "CH:trunk"},
{"key": "maxspeed", "value": "CH:motorway"},
Expand All @@ -161,6 +163,7 @@
{"key": "maxspeed", "value": "DE:rural"},
{"key": "maxspeed", "value": "DE:motorway"},
{"key": "maxspeed", "value": "DK:rural"},
{"key": "maxspeed", "value": "ES:trunk"},
{"key": "maxspeed", "value": "FR:rural"},
{"key": "maxspeed", "value": "GB:nsl_single"},
{"key": "maxspeed", "value": "GB:nsl_dual"},
Expand Down

0 comments on commit 2bbb347

Please sign in to comment.