Skip to content

Commit

Permalink
update KEYS_THAT_SHOULD_BE_REMOVED_WHEN_PLACE_IS_REPLACED
Browse files Browse the repository at this point in the history
  • Loading branch information
mnalis authored and westnordost committed Dec 31, 2024
1 parent 3c97c08 commit 6fddce3
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions app/src/main/java/de/westnordost/streetcomplete/osm/Place.kt
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,8 @@ private val KEYS_THAT_SHOULD_BE_REMOVED_WHEN_PLACE_IS_REPLACED = listOf(
"unisex", "male", "female", "gender", "gender_simple", "lgbtq(:.*)?", "gay", "female:signed",
"male:signed",
// healthcare
"healthcare(:.*)?", "healthcare_.*", "health", "health_.*", "medical_.*", "facility(:.*)?",
"activities", "healthcare_facility(:.*)?", "laboratory(:.*)?", "blood(:.*)?",
"healthcare(:.*)?", "healthcare_.*", "health", "health_.*", "medical_.*", "emergency_ward",
"facility(:.*)?", "activities", "healthcare_facility(:.*)?", "laboratory(:.*)?", "blood(:.*)?",
"blood_components", "infection(:.*)?", "disease(:.*)?", "covid19(:.*)?", "COVID_.*",
"CovidVaccineCenterId", "coronaquarantine", "hospital(:.*)?", "hospital_type_id",
"emergency_room", "sample_collection(:.*)?", "bed_count", "capacity:beds", "part_time_beds",
Expand All @@ -340,7 +340,7 @@ private val KEYS_THAT_SHOULD_BE_REMOVED_WHEN_PLACE_IS_REPLACED = listOf(
"rooms", "stars", "accommodation", "beds", "capacity(:persons)?", "laundry_service",
"guest_house",
// amenity=place_of_worship
"deanery", "subject:(wikidata|wikipedia)",
"deanery", "subject:(wikidata|wikipedia|wikimedia_commons)", "church", "church:type",
// schools
"capacity:(pupils|teachers)", "grades", "population:pupils:.*",
"school:(FR|gender|trust|type|type_idn)", "primary",
Expand All @@ -358,7 +358,8 @@ private val KEYS_THAT_SHOULD_BE_REMOVED_WHEN_PLACE_IS_REPLACED = listOf(
"music_genre", "length", "fire_station:type:FR", "cadet", "observatory:type", "tower:type",
"zoo", "shooting", "commons", "groomer", "group_only", "hazard", "identity", "interaction",
"logo", "maxheight", "provides", "regional", "scale", "site", "plots", "allotments",
"local_food", "monitoring:pedestrian", "recording:automated",
"local_food", "monitoring:pedestrian", "recording:automated", "yacht", "background_music",
"url:spaceapi",
// misc specific attributes
"clothes", "shoes", "tailor", "beauty", "tobacco", "carpenter", "furniture", "lottery",
"sport", "dispensing", "tailor:.*", "gambling", "material", "raw_material", "stonemason",
Expand All @@ -369,16 +370,17 @@ private val KEYS_THAT_SHOULD_BE_REMOVED_WHEN_PLACE_IS_REPLACED = listOf(
"air_conditioning", "atm", "vending", "vending_machine", "recycling_type", "museum",
"license_classes", "dance:.*", "isced:level", "school", "preschool", "university",
"research_institution", "research", "member_of", "topic", "townhall:type", "parish", "police",
"government", "office", "administration", "administrative", "association", "transport",
"utility", "consulting", "Commercial", "commercial", "private", "taxi", "admin_level",
"official_status", "target", "liaison", "diplomatic(:.*)?", "embassy", "consulate", "aeroway",
"department", "faculty", "aerospace:product", "boundary", "population", "diocese", "depot",
"cargo", "function", "game", "party", "political_party.*", "telecom(munication)?",
"service_times", "kitchen:facilities", "it:(type|sales)", "cannabis:cbd", "bath:type",
"bath:(open_air|sand_bath)", "animal_boarding", "animal_shelter", "mattress", "screen",
"monitoring:weather", "public", "theatre", "culture", "library", "cooperative",
"government", "thw:(lv|rb|ltg)", "office", "administration", "administrative", "association",
"transport", "utility", "consulting", "Commercial", "commercial", "private", "taxi",
"admin_level", "official_status", "target", "liaison", "diplomatic(:.*)?", "embassy",
"consulate", "aeroway", "department", "faculty", "aerospace:product", "boundary", "population",
"diocese", "depot", "cargo", "function", "game", "party", "political_party.*",
"telecom(munication)?", "service_times", "kitchen:facilities", "it:(type|sales)",
"cannabis:cbd", "bath:type", "bath:(open_air|sand_bath)", "animal_boarding", "animal_shelter",
"mattress", "screen", "monitoring:weather", "public", "theatre", "culture", "library",
"cooperative",
"camp_site", "camping", "emergency(:.*)?", "evacuation_cent(er|re)", "education",
"engineering", "forestry", "foundation", "lawyer", "logistics", "military", "community_centre",
"bank", "operational",
"bank", "operational", "users_(PLWD|boy|elderly|female|girl|men)",
"Comments?", "comments?", "entrance:(width|step_count|kerb:height)", "fenced", "motor_vehicle",
).map { it.toRegex() }

0 comments on commit 6fddce3

Please sign in to comment.