From 185d0c41207f524f71e29e7e8a37d959dff55384 Mon Sep 17 00:00:00 2001 From: vng Date: Fri, 10 Apr 2015 15:51:40 +0300 Subject: [PATCH] [pedestrian] Added all road types for pedestrian routing by default. --- routing/vehicle_model.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/routing/vehicle_model.cpp b/routing/vehicle_model.cpp index d40f3e8b72..d0eb89f4bb 100644 --- a/routing/vehicle_model.cpp +++ b/routing/vehicle_model.cpp @@ -43,6 +43,10 @@ static int const kPedestrianSpeedKMpH = 5; VehicleModel::InitListT const s_pedestrianLimits = { + { {"highway", "motorway"}, kPedestrianSpeedKMpH }, + { {"highway", "trunk"}, kPedestrianSpeedKMpH }, + { {"highway", "motorway_link"}, kPedestrianSpeedKMpH }, + { {"highway", "trunk_link"}, kPedestrianSpeedKMpH }, { {"highway", "primary"}, kPedestrianSpeedKMpH }, { {"highway", "primary_link"}, kPedestrianSpeedKMpH }, { {"highway", "secondary"}, kPedestrianSpeedKMpH },