From 98294e3ddd9dcb314f531f2c443ba73144d0c235 Mon Sep 17 00:00:00 2001 From: Ilya Zverev Date: Mon, 4 Mar 2019 13:23:17 +0300 Subject: [PATCH 1/3] Decrease max height to 2 meters --- CHANGELOG.md | 1 + features/car/physical_limitation.feature | 1 + profiles/car.lua | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e5bb0d8ddad..4c77a605b5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ - Routing: - CHANGED: allow routing past `barrier=arch` [#5352](https://github.com/Project-OSRM/osrm-backend/pull/5352) - CHANGED: default car weight was reduced to 2000 kg. [#5371](https://github.com/Project-OSRM/osrm-backend/pull/5371) + - CHANGED: default car height was reduced to 2 meters. # 5.21.0 - Changes from 5.20.0 diff --git a/features/car/physical_limitation.feature b/features/car/physical_limitation.feature index 6c016815f9d..ba7119c67aa 100644 --- a/features/car/physical_limitation.feature +++ b/features/car/physical_limitation.feature @@ -43,6 +43,7 @@ Feature: Car - Handle physical limitation | primary | 1 | | | | primary | 3 | | x | | primary | | 1 | | + | primary | | 8' | x | | primary | | 3 | x | | primary | | default | x | | primary | | none | x | diff --git a/profiles/car.lua b/profiles/car.lua index e0ea2d797c7..ce52b94b969 100644 --- a/profiles/car.lua +++ b/profiles/car.lua @@ -39,7 +39,7 @@ function setup() cardinal_directions = false, -- Size of the vehicle, to be limited by physical restriction of the way - vehicle_height = 2.5, -- in meters, 2.5m is the height of van + vehicle_height = 2.0, -- in meters, 2.5m is the height of van vehicle_width = 1.9, -- in meters, ways with narrow tag are considered narrower than 2.2m -- Size of the vehicle, to be limited mostly by legal restriction of the way From f5ebe8bc3b51831b7b19e73d4879ebbad0161a19 Mon Sep 17 00:00:00 2001 From: Ilya Zverev Date: Mon, 4 Mar 2019 13:27:16 +0300 Subject: [PATCH 2/3] Update comment --- profiles/car.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/car.lua b/profiles/car.lua index ce52b94b969..e034e78281a 100644 --- a/profiles/car.lua +++ b/profiles/car.lua @@ -39,11 +39,11 @@ function setup() cardinal_directions = false, -- Size of the vehicle, to be limited by physical restriction of the way - vehicle_height = 2.0, -- in meters, 2.5m is the height of van + vehicle_height = 2.0, -- in meters, 2.0m is the height slightly above biggest SUVs vehicle_width = 1.9, -- in meters, ways with narrow tag are considered narrower than 2.2m -- Size of the vehicle, to be limited mostly by legal restriction of the way - vehicle_length = 4.8, -- in meters, 4.8m is the length of large or familly car + vehicle_length = 4.8, -- in meters, 4.8m is the length of large or family car vehicle_weight = 2000, -- in kilograms -- a list of suffixes to suppress in name change instructions. The suffixes also include common substrings of each other From 2820853fb676a39ee1317730f9504be0361c0e45 Mon Sep 17 00:00:00 2001 From: Ilya Zverev Date: Mon, 4 Mar 2019 13:30:10 +0300 Subject: [PATCH 3/3] Update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c77a605b5a..275101745e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ - Routing: - CHANGED: allow routing past `barrier=arch` [#5352](https://github.com/Project-OSRM/osrm-backend/pull/5352) - CHANGED: default car weight was reduced to 2000 kg. [#5371](https://github.com/Project-OSRM/osrm-backend/pull/5371) - - CHANGED: default car height was reduced to 2 meters. + - CHANGED: default car height was reduced to 2 meters. [#5389](https://github.com/Project-OSRM/osrm-backend/pull/5389) # 5.21.0 - Changes from 5.20.0