From eb21bbfcde4e7cf820770dc5ac0eff9c5a1d555a Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Thu, 7 May 2020 13:49:58 -0700 Subject: [PATCH] Add Orthodontist preset (close #7575) --- data/presets.yaml | 5 +++ data/presets/presets.json | 1 + .../healthcare/dentist/orthodontics.json | 36 +++++++++++++++++++ data/taginfo.json | 1 + dist/locales/en.json | 4 +++ svg/fontawesome/fas-teeth.svg | 1 + 6 files changed, 48 insertions(+) create mode 100644 data/presets/presets/healthcare/dentist/orthodontics.json create mode 100644 svg/fontawesome/fas-teeth.svg diff --git a/data/presets.yaml b/data/presets.yaml index aeba8ebe4..23619af8e 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -4986,6 +4986,11 @@ en: # healthcare=counselling name: Counselling Center terms: '' + healthcare/dentist/orthodontics: + # 'healthcare=dentist, healthcare:speciality=orthodontics' + name: Orthodontist + # 'terms: braces,dentistry,dentofacial orthopedics,headgear,jaw alignment,teeth,tooth' + terms: '' healthcare/hospice: # healthcare=hospice name: Hospice diff --git a/data/presets/presets.json b/data/presets/presets.json index 6c392ef2d..58b187301 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -485,6 +485,7 @@ "healthcare/birthing_center": {"icon": "fas-baby", "geometry": ["point", "area"], "terms": ["baby", "childbirth", "delivery", "labour", "labor", "pregnancy"], "tags": {"healthcare": "birthing_center"}, "name": "Birthing Center"}, "healthcare/blood_donation": {"icon": "maki-blood-bank", "fields": ["{healthcare}", "blood_components"], "geometry": ["point", "area"], "terms": ["blood bank", "blood donation", "blood transfusion", "apheresis", "plasmapheresis", "plateletpheresis", "stem cell donation"], "tags": {"healthcare": "blood_donation"}, "name": "Blood Donor Center"}, "healthcare/counselling": {"icon": "fas-comments", "geometry": ["point", "area"], "tags": {"healthcare": "counselling"}, "name": "Counselling Center"}, + "healthcare/dentist/orthodontics": {"icon": "fas-teeth", "fields": ["{amenity/dentist}"], "moreFields": ["{amenity/dentist}"], "geometry": ["point", "area"], "terms": ["braces", "dentistry", "dentofacial orthopedics", "headgear", "jaw alignment", "teeth", "tooth"], "tags": {"healthcare": "dentist", "healthcare:speciality": "orthodontics"}, "addTags": {"healthcare": "dentist", "amenity": "dentist", "healthcare:speciality": "orthodontics"}, "reference": {"key": "healthcare:speciality", "value": "orthodontics"}, "name": "Orthodontist"}, "healthcare/hospice": {"icon": "maki-hospital", "geometry": ["point", "area"], "terms": ["terminal", "illness"], "tags": {"healthcare": "hospice"}, "name": "Hospice"}, "healthcare/laboratory": {"icon": "fas-vial", "fields": ["name", "operator", "website", "ref", "address", "opening_hours", "opening_hours/covid19"], "geometry": ["point", "area"], "terms": ["medical_laboratory", "medical_lab", "blood_check"], "tags": {"healthcare": "laboratory"}, "name": "Medical Laboratory"}, "healthcare/midwife": {"icon": "fas-baby", "geometry": ["point", "area"], "terms": ["baby", "childbirth", "delivery", "labour", "labor", "pregnancy"], "tags": {"healthcare": "midwife"}, "name": "Midwife"}, diff --git a/data/presets/presets/healthcare/dentist/orthodontics.json b/data/presets/presets/healthcare/dentist/orthodontics.json new file mode 100644 index 000000000..2c8310be1 --- /dev/null +++ b/data/presets/presets/healthcare/dentist/orthodontics.json @@ -0,0 +1,36 @@ +{ + "icon": "fas-teeth", + "fields": [ + "{amenity/dentist}" + ], + "moreFields": [ + "{amenity/dentist}" + ], + "geometry": [ + "point", + "area" + ], + "terms": [ + "braces", + "dentistry", + "dentofacial orthopedics", + "headgear", + "jaw alignment", + "teeth", + "tooth" + ], + "tags": { + "healthcare": "dentist", + "healthcare:speciality": "orthodontics" + }, + "addTags": { + "healthcare": "dentist", + "amenity": "dentist", + "healthcare:speciality": "orthodontics" + }, + "reference": { + "key": "healthcare:speciality", + "value": "orthodontics" + }, + "name": "Orthodontist" +} diff --git a/data/taginfo.json b/data/taginfo.json index 889bfc23c..249aaf111 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -481,6 +481,7 @@ {"key": "healthcare", "value": "birthing_center", "description": "🄿 Birthing Center", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/fontawesome/fas-baby.svg"}, {"key": "healthcare", "value": "blood_donation", "description": "🄿 Blood Donor Center", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/blood-bank-15.svg"}, {"key": "healthcare", "value": "counselling", "description": "🄿 Counselling Center", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/fontawesome/fas-comments.svg"}, + {"key": "healthcare:speciality", "value": "orthodontics", "description": "🄿 Orthodontist", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/fontawesome/fas-teeth.svg"}, {"key": "healthcare", "value": "hospice", "description": "🄿 Hospice", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/hospital-15.svg"}, {"key": "healthcare", "value": "laboratory", "description": "🄿 Medical Laboratory", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/fontawesome/fas-vial.svg"}, {"key": "healthcare", "value": "midwife", "description": "🄿 Midwife", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/fontawesome/fas-baby.svg"}, diff --git a/dist/locales/en.json b/dist/locales/en.json index 5c56d8b37..bfeeea8b8 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -6875,6 +6875,10 @@ "name": "Counselling Center", "terms": "" }, + "healthcare/dentist/orthodontics": { + "name": "Orthodontist", + "terms": "braces,dentistry,dentofacial orthopedics,headgear,jaw alignment,teeth,tooth" + }, "healthcare/hospice": { "name": "Hospice", "terms": "terminal,illness" diff --git a/svg/fontawesome/fas-teeth.svg b/svg/fontawesome/fas-teeth.svg new file mode 100644 index 000000000..2f444d5c6 --- /dev/null +++ b/svg/fontawesome/fas-teeth.svg @@ -0,0 +1 @@ + \ No newline at end of file