From a1e5061799f1980c64be5afb8a9071d6c68d7164 Mon Sep 17 00:00:00 2001 From: Ilya Zverev Date: Wed, 20 Feb 2019 21:19:18 +0300 Subject: [PATCH] Decrease default car weight to 2 tons (#5371) * Decrease default car weight to 2 tons * Add a link to PR to the change log --- 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 3a440881c..e5bb0d8dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - ADDED: new API parameter - `snapping=any|default` to allow snapping to previously unsnappable edges [#5361](https://github.com/Project-OSRM/osrm-backend/pull/5361) - 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) # 5.21.0 - Changes from 5.20.0 diff --git a/features/car/physical_limitation.feature b/features/car/physical_limitation.feature index 43eef90f8..6c016815f 100644 --- a/features/car/physical_limitation.feature +++ b/features/car/physical_limitation.feature @@ -62,6 +62,7 @@ Feature: Car - Handle physical limitation | highway | maxweight | bothw | | primary | | x | | primary | 1 | | + | primary | 2 | x | | primary | 3.5 | x | | primary | 35000 kg | x | | primary | 8.9t | x | diff --git a/profiles/car.lua b/profiles/car.lua index bd6980689..e0ea2d797 100644 --- a/profiles/car.lua +++ b/profiles/car.lua @@ -44,7 +44,7 @@ function setup() -- 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_weight = 3500, -- in kilograms + vehicle_weight = 2000, -- in kilograms -- a list of suffixes to suppress in name change instructions. The suffixes also include common substrings of each other suffix_list = {