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:
authorVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2019-11-29 17:57:14 +0300
committermesozoic-drones <mesozoic.drones@gmail.com>2019-12-02 16:37:36 +0300
commit3e4e9d022b30a1cfb7ee7784b778c4f0462313b3 (patch)
treebf611d6a83662e227535d108db52371ca2239e1b /indexer/ftypes_matcher.cpp
parentf1e7647eb6758ec37a97e52663f6d33e2a87402a (diff)
[routing] Adding highway-construction to HighwayClasses because it's possible that adjacent to route roads have such type.
Diffstat (limited to 'indexer/ftypes_matcher.cpp')
-rw-r--r--indexer/ftypes_matcher.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indexer/ftypes_matcher.cpp b/indexer/ftypes_matcher.cpp
index f28b169997..e0b114bc71 100644
--- a/indexer/ftypes_matcher.cpp
+++ b/indexer/ftypes_matcher.cpp
@@ -62,6 +62,8 @@ public:
m_map[c.GetTypeByPath({"highway", "steps"})] = ftypes::HighwayClass::Pedestrian;
m_map[c.GetTypeByPath({"highway", "cycleway"})] = ftypes::HighwayClass::Pedestrian;
m_map[c.GetTypeByPath({"highway", "path"})] = ftypes::HighwayClass::Pedestrian;
+ m_map[c.GetTypeByPath({"highway", "construction"})] = ftypes::HighwayClass::Pedestrian;
+
}
ftypes::HighwayClass Get(uint32_t t) const