diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2018-10-12 15:48:33 +0300 |
---|---|---|
committer | Tatiana Yan <tatiana.kondakova@gmail.com> | 2018-10-12 16:39:16 +0300 |
commit | 6d588948b239e037ac1ce30f14145c2c131d8b14 (patch) | |
tree | 0d4354dcdc9403e42873b290c8b8f9389a186e49 /indexer | |
parent | c594e3110fe60471053a1d08fb3c228d55afbca1 (diff) |
Generating city_roads section based on cities, town and villages.
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/ftypes_matcher.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/ftypes_matcher.hpp b/indexer/ftypes_matcher.hpp index 340d530a83..bb591955bf 100644 --- a/indexer/ftypes_matcher.hpp +++ b/indexer/ftypes_matcher.hpp @@ -261,13 +261,13 @@ public: }; template <typename Types> -bool IsTownOrCity(Types const & types) +bool IsCityTownOrVillage(Types const & types) { feature::TypesHolder h; for (auto const t : types) h.Add(t); auto const type = IsLocalityChecker::Instance().GetType(h); - return type == TOWN || type == CITY; + return type == CITY || type == TOWN || type == VILLAGE; } /// @name Get city radius and population. |