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:
authorMaksim Andrianov <maksimandrianov1@gmail.com>2018-12-18 16:28:54 +0300
committermpimenov <mpimenov@users.noreply.github.com>2018-12-21 13:32:21 +0300
commitc19ba80a7a5618335d354ba87d04afd3d900a81a (patch)
treed2f968b6af19399c2a5203a2073e3559338f8376 /indexer/ftypes_matcher.cpp
parentf58d50a0439efff100c823dc293af00e0325ee04 (diff)
[generator] Added types for IsPopularityPlaceChecker()
Diffstat (limited to 'indexer/ftypes_matcher.cpp')
-rw-r--r--indexer/ftypes_matcher.cpp23
1 files changed, 16 insertions, 7 deletions
diff --git a/indexer/ftypes_matcher.cpp b/indexer/ftypes_matcher.cpp
index 669dac1a02..1684415b60 100644
--- a/indexer/ftypes_matcher.cpp
+++ b/indexer/ftypes_matcher.cpp
@@ -405,13 +405,23 @@ unsigned IsHotelChecker::GetHotelTypesMask(FeatureType & ft) const
IsPopularityPlaceChecker::IsPopularityPlaceChecker()
{
vector<pair<string, string>> const popularityPlaceTypes = {
+
{"amenity", "bar"},
+ {"amenity", "biergarten"},
{"amenity", "cafe"},
+ {"amenity", "cinema"},
{"amenity", "fast_food"},
+ {"amenity", "fountain"},
{"amenity", "pub"},
{"amenity", "restaurant"},
{"amenity", "place_of_worship"},
{"amenity", "grave_yard"},
+ {"amenity", "theatre"},
+ {"amenity", "nightclub"},
+ {"amenity", "marketplace"},
+ {"amenity", "casino"},
+ {"amenity", "townhall"},
+ {"highway", "pedestrian"},
{"historic", "archaeological_site"},
{"historic", "castle"},
{"historic", "memorial"},
@@ -420,11 +430,6 @@ IsPopularityPlaceChecker::IsPopularityPlaceChecker()
{"historic", "ruins"},
{"historic", "ship"},
{"historic", "tomb"},
- {"shop", "bakery"},
- {"shop", "bicycle"},
- {"shop", "department_store"},
- {"shop", "outdoor"},
- {"shop", "ticket"},
{"tourism", "artwork"},
{"tourism", "attraction"},
{"tourism", "museum"},
@@ -432,11 +437,15 @@ IsPopularityPlaceChecker::IsPopularityPlaceChecker()
{"tourism", "viewpoint"},
{"tourism", "zoo"},
{"tourism", "theme_park"},
+ {"leisure", "garden"},
{"leisure", "park"},
{"leisure", "water_park"},
{"landuse", "cemetery"},
- {"highway", "pedestrian"},
- {"man_made", "lighthouse"}
+ {"man_made", "lighthouse"},
+ {"natural", "geyser"},
+ {"natural", "peak"},
+ {"shop", "bakery"},
+ {"waterway", "waterfall"}
};
Classificator const & c = classif();