mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-22 14:13:45 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
||||
namespace search
|
||||
{
|
||||
using namespace ftypes;
|
||||
@@ -23,32 +22,30 @@ class IsComplexPoiChecker : public ftypes::BaseChecker
|
||||
{
|
||||
// For MatchPOIsWithParent matching. Some entries may be controversial here, but keep as-is for now.
|
||||
// POI near "Complex POI" matching.
|
||||
base::StringIL const paths[] = {
|
||||
{"aeroway", "aerodrome"},
|
||||
{"amenity", "hospital"},
|
||||
{"amenity", "university"},
|
||||
{"building", "train_station"},
|
||||
{"historic", "archaeological_site"},
|
||||
{"historic", "castle"},
|
||||
{"historic", "fort"},
|
||||
{"landuse", "cemetery"},
|
||||
{"landuse", "religious"},
|
||||
{"landuse", "commercial"},
|
||||
{"landuse", "forest"},
|
||||
{"landuse", "industrial"},
|
||||
{"landuse", "retail"},
|
||||
{"leisure", "garden"},
|
||||
{"leisure", "nature_reserve"},
|
||||
{"leisure", "park"},
|
||||
{"leisure", "stadium"},
|
||||
{"leisure", "water_park"},
|
||||
{"natural", "beach"},
|
||||
{"office", "company"},
|
||||
{"railway", "station"},
|
||||
{"shop", "mall"},
|
||||
{"tourism", "museum"},
|
||||
{"tourism", "gallery"}
|
||||
};
|
||||
base::StringIL const paths[] = {{"aeroway", "aerodrome"},
|
||||
{"amenity", "hospital"},
|
||||
{"amenity", "university"},
|
||||
{"building", "train_station"},
|
||||
{"historic", "archaeological_site"},
|
||||
{"historic", "castle"},
|
||||
{"historic", "fort"},
|
||||
{"landuse", "cemetery"},
|
||||
{"landuse", "religious"},
|
||||
{"landuse", "commercial"},
|
||||
{"landuse", "forest"},
|
||||
{"landuse", "industrial"},
|
||||
{"landuse", "retail"},
|
||||
{"leisure", "garden"},
|
||||
{"leisure", "nature_reserve"},
|
||||
{"leisure", "park"},
|
||||
{"leisure", "stadium"},
|
||||
{"leisure", "water_park"},
|
||||
{"natural", "beach"},
|
||||
{"office", "company"},
|
||||
{"railway", "station"},
|
||||
{"shop", "mall"},
|
||||
{"tourism", "museum"},
|
||||
{"tourism", "gallery"}};
|
||||
|
||||
Classificator const & c = classif();
|
||||
for (auto const & path : paths)
|
||||
|
||||
Reference in New Issue
Block a user