From 98294e3ddd9dcb314f531f2c443ba73144d0c235 Mon Sep 17 00:00:00 2001 From: Ilya Zverev Date: Mon, 4 Mar 2019 13:23:17 +0300 Subject: [PATCH] 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 e5bb0d8dd..4c77a605b 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 6c016815f..ba7119c67 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 e0ea2d797..ce52b94b9 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