mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-21 13:53:37 +00:00
27 lines
1.1 KiB
C++
27 lines
1.1 KiB
C++
#pragma once
|
|
|
|
#include <string_view>
|
|
|
|
// Keys that should be removed when a place in OSM is replaced
|
|
inline constexpr std::string_view kKeysToRemove[] = {
|
|
"amenity", "shop", "craft", "office", "leisure",
|
|
"disused:amenity", "disused:shop", "disused:craft", "disused:office", "disused:leisure",
|
|
"bar", "cafe",
|
|
|
|
"brand", "brand:wikidata", "brand:wikipedia", "operator", "branch",
|
|
|
|
"name", "name:.*", "alt_name", "old_name", "official_name", "ref",
|
|
|
|
"opening_hours", "cuisine", "diet:.*", "internet_access", "internet_access:fee",
|
|
"outdoor_seating", "indoor_seating", "self_service", "takeaway", "smoking", "payment:.*",
|
|
"description", "air_conditioning", "drive_through",
|
|
|
|
"phone", "mobile", "website", "website:menu", "email",
|
|
"contact:(?!housenumber$|street$|place$|postcode$|city$|country$|pobox$|unit$).*",
|
|
|
|
"check_date", "check_date:opening_hours", "survey:date",
|
|
};
|
|
|
|
// There is a more extensive list that we can't use because the project has no licence:
|
|
// https://github.com/mnalis/StreetComplete-taginfo-categorize/blob/master/sc_to_remove.txt
|