From c4a3f720c328c8501b1bccf8ca0fce25a39d16bd Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Tue, 15 Oct 2019 11:36:12 +0200 Subject: [PATCH] Rename "Mailbox" preset to "Mail Drop Box" and add more search terms (close #6939) --- data/presets.yaml | 6 +++--- data/presets/presets.json | 2 +- data/presets/presets/amenity/post_box.json | 13 +++++++++++-- data/taginfo.json | 2 +- dist/locales/en.json | 4 ++-- 5 files changed, 18 insertions(+), 9 deletions(-) diff --git a/data/presets.yaml b/data/presets.yaml index 2607d38bc..b1cc9bcf8 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -3267,9 +3267,9 @@ en: terms: '' amenity/post_box: # amenity=post_box - name: Mailbox - # 'terms: letter drop,mail box,package drop,post box,postal box' - terms: '' + name: Mail Drop Box + # 'terms: drop box,dropbox,letter drop,mail box,mail collection box,mail drop,mail dropoff,mailbox,package drop,pillar box,pillarbox,post box,postal box,postbox' + terms: '' amenity/post_depot: # amenity=post_depot name: Post Sorting Office diff --git a/data/presets/presets.json b/data/presets/presets.json index 1ef5fb087..f4ce218d4 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -171,7 +171,7 @@ "amenity/planetarium": {"icon": "maki-globe", "fields": ["name", "operator", "address", "building_area", "opening_hours"], "moreFields": ["air_conditioning", "charge_fee", "email", "fax", "fee", "payment_multi_fee", "phone", "website", "wheelchair"], "geometry": ["point", "area"], "terms": ["museum", "astronomy", "observatory"], "tags": {"amenity": "planetarium"}, "name": "Planetarium"}, "amenity/police": {"icon": "maki-police", "fields": ["name", "operator", "address", "building_area", "opening_hours"], "moreFields": ["email", "fax", "level", "phone", "polling_station", "website", "wheelchair"], "geometry": ["point", "area"], "terms": ["badge", "constable", "constabulary", "cop", "detective", "fed", "law", "enforcement", "officer", "patrol"], "tags": {"amenity": "police"}, "name": "Police"}, "amenity/polling_station": {"icon": "fas-vote-yea", "fields": ["name", "ref", "operator", "address", "opening_hours", "building_area"], "moreFields": ["air_conditioning", "email", "fax", "internet_access", "internet_access/fee", "internet_access/ssid", "level", "phone", "website", "wheelchair"], "geometry": ["point", "area"], "terms": ["ballot box", "ballot drop", "democracy", "elections", "polling place", "vote", "voting booth", "voting machine"], "tags": {"amenity": "polling_station"}, "addTags": {"amenity": "polling_station", "polling_station": "yes"}, "name": "Permanent Polling Place"}, - "amenity/post_box": {"icon": "temaki-post_box", "fields": ["operator", "collection_times", "drive_through", "ref"], "moreFields": ["access_simple", "brand", "covered", "height", "indoor", "level", "manufacturer", "wheelchair"], "geometry": ["point", "vertex"], "tags": {"amenity": "post_box"}, "terms": ["letter drop", "mail box", "package drop", "post box", "postal box"], "name": "Mailbox"}, + "amenity/post_box": {"icon": "temaki-post_box", "fields": ["operator", "collection_times", "drive_through", "ref"], "moreFields": ["access_simple", "brand", "covered", "height", "indoor", "level", "manufacturer", "wheelchair"], "geometry": ["point", "vertex"], "tags": {"amenity": "post_box"}, "terms": ["drop box", "dropbox", "letter drop", "mail box", "mail collection box", "mail drop", "mail dropoff", "mailbox", "package drop", "pillar box", "pillarbox", "post box", "postal box", "postbox"], "name": "Mail Drop Box"}, "amenity/post_depot": {"icon": "fas-mail-bulk", "fields": ["name", "operator", "address", "building_area", "phone"], "moreFields": ["email", "fax", "opening_hours", "website", "wheelchair"], "geometry": ["point", "area"], "terms": ["mail processing and distribution center", "post depot"], "tags": {"amenity": "post_depot"}, "name": "Post Sorting Office"}, "amenity/post_office": {"icon": "maki-post", "fields": ["name", "operator", "address", "building_area", "opening_hours"], "moreFields": ["email", "fax", "internet_access", "internet_access/fee", "internet_access/ssid", "level", "payment_multi", "phone", "polling_station", "website", "wheelchair"], "geometry": ["point", "area"], "terms": ["letter", "mail"], "tags": {"amenity": "post_office"}, "name": "Post Office"}, "amenity/prep_school": {"icon": "temaki-school", "fields": ["name", "operator", "address", "building_area", "opening_hours"], "moreFields": ["email", "fax", "level", "payment_multi", "phone", "website", "wheelchair"], "geometry": ["point", "area"], "terms": ["academic", "ACT", "SAT", "homework", "math", "reading", "test prep", "tutoring", "writing"], "tags": {"amenity": "prep_school"}, "name": "Test Prep / Tutoring School"}, diff --git a/data/presets/presets/amenity/post_box.json b/data/presets/presets/amenity/post_box.json index b65948d92..ddc03c6fc 100644 --- a/data/presets/presets/amenity/post_box.json +++ b/data/presets/presets/amenity/post_box.json @@ -24,11 +24,20 @@ "amenity": "post_box" }, "terms": [ + "drop box", + "dropbox", "letter drop", "mail box", + "mail collection box", + "mail drop", + "mail dropoff", + "mailbox", "package drop", + "pillar box", + "pillarbox", "post box", - "postal box" + "postal box", + "postbox" ], - "name": "Mailbox" + "name": "Mail Drop Box" } diff --git a/data/taginfo.json b/data/taginfo.json index 569052613..0e37e4445 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -172,7 +172,7 @@ {"key": "amenity", "value": "planetarium", "description": "🄿 Planetarium", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/globe-15.svg"}, {"key": "amenity", "value": "police", "description": "🄿 Police", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/police-15.svg"}, {"key": "amenity", "value": "polling_station", "description": "🄿 Permanent Polling Place", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@master/svg/fontawesome/fas-vote-yea.svg"}, - {"key": "amenity", "value": "post_box", "description": "🄿 Mailbox", "object_types": ["node"], "icon_url": "https://cdn.jsdelivr.net/gh/bhousel/temaki/icons/post_box.svg"}, + {"key": "amenity", "value": "post_box", "description": "🄿 Mail Drop Box", "object_types": ["node"], "icon_url": "https://cdn.jsdelivr.net/gh/bhousel/temaki/icons/post_box.svg"}, {"key": "amenity", "value": "post_depot", "description": "🄿 Post Sorting Office", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@master/svg/fontawesome/fas-mail-bulk.svg"}, {"key": "amenity", "value": "post_office", "description": "🄿 Post Office", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/post-15.svg"}, {"key": "amenity", "value": "prep_school", "description": "🄿 Test Prep / Tutoring School", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/bhousel/temaki/icons/school.svg"}, diff --git a/dist/locales/en.json b/dist/locales/en.json index bce36bff6..d49ea0214 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -5616,8 +5616,8 @@ "terms": "ballot box,ballot drop,democracy,elections,polling place,vote,voting booth,voting machine" }, "amenity/post_box": { - "name": "Mailbox", - "terms": "letter drop,mail box,package drop,post box,postal box" + "name": "Mail Drop Box", + "terms": "drop box,dropbox,letter drop,mail box,mail collection box,mail drop,mail dropoff,mailbox,package drop,pillar box,pillarbox,post box,postal box,postbox" }, "amenity/post_depot": { "name": "Post Sorting Office",