Files
comaps/libs/editor/keys_to_remove.hpp
map-per f292298c4e use own kes_to_remove list
Signed-off-by: map-per <map-per@gmx.de>
2025-11-13 11:16:07 +01:00

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