Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLev Dragunov <l.dragunov@corp.mail.ru>2016-01-13 19:05:00 +0300
committerLev Dragunov <l.dragunov@corp.mail.ru>2016-01-13 19:05:00 +0300
commit8ce4fdea2cb702b1fb9467dbe23ed1255bf07c45 (patch)
tree8b3c70b6f3b929b1ea9de408248ffa21a300ab76 /routing/pedestrian_model.cpp
parent34bcc66af590638a549cb2f6920574f023226cb9 (diff)
Pedestrian model avoid simplification fix.
Diffstat (limited to 'routing/pedestrian_model.cpp')
-rw-r--r--routing/pedestrian_model.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/routing/pedestrian_model.cpp b/routing/pedestrian_model.cpp
index 3ee9e81ddb..e7ae8fe400 100644
--- a/routing/pedestrian_model.cpp
+++ b/routing/pedestrian_model.cpp
@@ -579,8 +579,10 @@ routing::VehicleModel::InitListT const s_pedestrianLimits_USA =
namespace routing
{
-PedestrianModel::PedestrianModel()
- : VehicleModel(classif(), s_pedestrianLimits_Default)
+// Use Australia limits because it has all track types availible for pedestrian.
+// If one of feature types will be disabled for pedestrian? Features of this type will be simplyfied
+// in generator. Look FeatureBuilder1::IsRoad() for more info.
+PedestrianModel::PedestrianModel() : VehicleModel(classif(), s_pedestrianLimits_Australia)
{
Init();
}