From c733983497f8a52247bc33ccb6bbffc7b583aa63 Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Tue, 20 Aug 2019 10:46:14 -0500 Subject: [PATCH] Add preset for amenity=post_depot (close #6773) --- data/presets.yaml | 5 ++++ data/presets/presets.json | 1 + data/presets/presets/amenity/post_depot.json | 29 ++++++++++++++++++++ data/taginfo.json | 1 + dist/locales/en.json | 4 +++ svg/fontawesome/fas-mail-bulk.svg | 1 + 6 files changed, 41 insertions(+) create mode 100644 data/presets/presets/amenity/post_depot.json create mode 100644 svg/fontawesome/fas-mail-bulk.svg diff --git a/data/presets.yaml b/data/presets.yaml index 12ae65d12..a99e03790 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -3190,6 +3190,11 @@ en: name: Mailbox # 'terms: letter drop,mail box,package drop,post box,postal box' terms: '' + amenity/post_depot: + # amenity=post_depot + name: Post Sorting Office + # 'terms: mail processing and distribution center,post depot' + terms: '' amenity/post_office: # amenity=post_office name: Post Office diff --git a/data/presets/presets.json b/data/presets/presets.json index fa8003766..118e4975b 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -169,6 +169,7 @@ "amenity/police": {"icon": "maki-police", "fields": ["name", "operator", "address", "building_area", "opening_hours"], "moreFields": ["email", "fax", "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", "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", "manufacturer", "wheelchair"], "geometry": ["point", "vertex"], "tags": {"amenity": "post_box"}, "terms": ["letter drop", "mail box", "package drop", "post box", "postal box"], "name": "Mailbox"}, + "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", "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": ["payment_multi", "website", "phone", "email", "fax", "wheelchair"], "geometry": ["point", "area"], "terms": ["academic", "ACT", "SAT", "homework", "math", "reading", "test prep", "tutoring", "writing"], "tags": {"amenity": "prep_school"}, "name": "Test Prep / Tutoring School"}, "amenity/prison": {"icon": "maki-prison", "fields": ["name", "operator", "operator/type", "address"], "moreFields": ["website", "phone", "email", "fax", "wheelchair"], "geometry": ["point", "area"], "terms": ["cell", "jail", "correction"], "tags": {"amenity": "prison"}, "name": "Prison Grounds"}, diff --git a/data/presets/presets/amenity/post_depot.json b/data/presets/presets/amenity/post_depot.json new file mode 100644 index 000000000..02140084d --- /dev/null +++ b/data/presets/presets/amenity/post_depot.json @@ -0,0 +1,29 @@ +{ + "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" +} diff --git a/data/taginfo.json b/data/taginfo.json index a518153df..f2fb03ae3 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -170,6 +170,7 @@ {"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/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_depot", "description": "🄿 Post Sorting Office", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD/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"}, {"key": "amenity", "value": "prison", "description": "🄿 Prison Grounds", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/prison-15.svg"}, diff --git a/dist/locales/en.json b/dist/locales/en.json index de5fe3c08..5bfcf2916 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -5492,6 +5492,10 @@ "name": "Mailbox", "terms": "letter drop,mail box,package drop,post box,postal box" }, + "amenity/post_depot": { + "name": "Post Sorting Office", + "terms": "mail processing and distribution center,post depot" + }, "amenity/post_office": { "name": "Post Office", "terms": "letter,mail" diff --git a/svg/fontawesome/fas-mail-bulk.svg b/svg/fontawesome/fas-mail-bulk.svg new file mode 100644 index 000000000..32314796b --- /dev/null +++ b/svg/fontawesome/fas-mail-bulk.svg @@ -0,0 +1 @@ + \ No newline at end of file