diff options
author | mgsergio <mgsergio@yandex.ru> | 2016-07-08 16:06:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-08 16:06:53 +0300 |
commit | 96e7e73e1a4b48c9e3f81388b2c90b5f993be5d2 (patch) | |
tree | 631aacca17644e7c42c6eb724d19462a39038641 /indexer | |
parent | aef5903ca959a9175c52e35c7746655319bebcba (diff) | |
parent | 1717fa143d0f196afc7c32bd24fc04c293b70a0a (diff) |
Merge pull request #3511 from Zverik/wheelchair
[types] Wheelchair accessibility types
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/feature_visibility.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indexer/feature_visibility.cpp b/indexer/feature_visibility.cpp index 921b9131d6..3eb5ec31f5 100644 --- a/indexer/feature_visibility.cpp +++ b/indexer/feature_visibility.cpp @@ -213,6 +213,7 @@ namespace static const uint32_t roundabout = classif().GetTypeByPath({ "junction", "roundabout" }); static const uint32_t hwtag = classif().GetTypeByPath({ "hwtag" }); static const uint32_t psurface = classif().GetTypeByPath({ "psurface" }); + static const uint32_t wheelchair = classif().GetTypeByPath({ "wheelchair" }); if (g == GEOM_LINE || g == GEOM_UNDEFINED) { @@ -227,6 +228,11 @@ namespace return true; } + // We're okay with the type being already truncated above. + ftype::TruncValue(type, 1); + if (wheelchair == type) + return true; + return false; } } |