From 7d76ab10051a0f33dfe32647db4264d522b6c420 Mon Sep 17 00:00:00 2001 From: MaltaProject Date: Thu, 12 Dec 2013 16:02:43 -0400 Subject: [PATCH 1/2] Added Doctor/Dentist/Clinic Presets --- data/presets.yaml | 9 ++++++ data/presets/presets.json | 61 +++++++++++++++++++++++++++++++++++++++ dist/locales/en.json | 12 ++++++++ 3 files changed, 82 insertions(+) diff --git a/data/presets.yaml b/data/presets.yaml index 5baa90ae3..19072b911 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -429,12 +429,21 @@ en: amenity/cinema: name: Cinema terms: "" + amenity/clinic: + name: Clinic + terms: "" amenity/college: name: College terms: "" amenity/courthouse: name: Courthouse terms: "" + amenity/dentist: + name: Dentist + terms: "" + amenity/doctor: + name: Doctor + terms: "" amenity/drinking_water: name: Drinking Water terms: "" diff --git a/data/presets/presets.json b/data/presets/presets.json index 48797dbb3..0992963c5 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -608,6 +608,27 @@ }, "name": "Cinema" }, + "amenity/clinic": { + "name": "Clinic", + "geometry": [ + "point", + "area" + ], + "terms": [ + "clinic", + "medical clinic" + ], + "tags": { + "amenity": "clinic" + }, + "icon": "hospital", + "fields": [ + "building_area", + "social_facility", + "address", + "opening_hours" + ] + }, "amenity/college": { "icon": "college", "fields": [ @@ -640,6 +661,46 @@ }, "name": "Courthouse" }, + "amenity/dentist": { + "name": "Dentist", + "geometry": [ + "point", + "area" + ], + "terms": [ + "dentist", + "dentist's office" + ], + "tags": { + "amenity": "doctors" + }, + "icon": "hospital", + "fields": [ + "building_area", + "address", + "opening_hours" + ] + }, + "amenity/doctor": { + "name": "Doctor", + "geometry": [ + "point", + "area" + ], + "terms": [ + "doctor", + "doctor's office" + ], + "tags": { + "amenity": "doctors" + }, + "icon": "hospital", + "fields": [ + "building_area", + "address", + "opening_hours" + ] + }, "amenity/drinking_water": { "icon": "water", "geometry": [ diff --git a/dist/locales/en.json b/dist/locales/en.json index 5525d148f..a6a8fc270 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -997,6 +997,10 @@ "name": "Cinema", "terms": "big screen,bijou,cine,drive-in,film,flicks,motion pictures,movie house,movie theater,moving pictures,nabes,photoplay,picture show,pictures,playhouse,show,silver screen" }, + "amenity/clinic": { + "name": "Clinic", + "terms": "clinic,medical clinic" + }, "amenity/college": { "name": "College", "terms": "" @@ -1005,6 +1009,14 @@ "name": "Courthouse", "terms": "" }, + "amenity/dentist": { + "name": "Dentist", + "terms": "dentist,dentist's office" + }, + "amenity/doctor": { + "name": "Doctor", + "terms": "doctor,doctor's office" + }, "amenity/drinking_water": { "name": "Drinking Water", "terms": "water fountain,potable water" From b2da3c7ee6332abfc332047b06d8877b7ac05d2a Mon Sep 17 00:00:00 2001 From: MaltaProject Date: Thu, 12 Dec 2013 16:07:12 -0400 Subject: [PATCH 2/2] Added source files --- data/presets/fields/studio_type.json | 9 +++++++++ data/presets/presets/amenity/clinic.json | 21 ++++++++++++++++++++ data/presets/presets/amenity/dentist.json | 20 +++++++++++++++++++ data/presets/presets/amenity/doctor.json | 20 +++++++++++++++++++ data/presets/presets/amenity/studio.json | 24 +++++++++++++++++++++++ 5 files changed, 94 insertions(+) create mode 100644 data/presets/fields/studio_type.json create mode 100644 data/presets/presets/amenity/clinic.json create mode 100644 data/presets/presets/amenity/dentist.json create mode 100644 data/presets/presets/amenity/doctor.json create mode 100644 data/presets/presets/amenity/studio.json diff --git a/data/presets/fields/studio_type.json b/data/presets/fields/studio_type.json new file mode 100644 index 000000000..27499ae65 --- /dev/null +++ b/data/presets/fields/studio_type.json @@ -0,0 +1,9 @@ +{ + "key": "type", + "type": "combo", + "options": [ + "audio", + "video" + ], + "label": "Type" +} diff --git a/data/presets/presets/amenity/clinic.json b/data/presets/presets/amenity/clinic.json new file mode 100644 index 000000000..e7779a3ed --- /dev/null +++ b/data/presets/presets/amenity/clinic.json @@ -0,0 +1,21 @@ +{ + "name": "Clinic", + "geometry": [ + "point", + "area" + ], + "terms": [ + "clinic", + "medical clinic" + ], + "tags": { + "amenity": "clinic" + }, + "icon": "hospital", + "fields": [ + "building_area", + "social_facility", + "address", + "opening_hours" + ] +} diff --git a/data/presets/presets/amenity/dentist.json b/data/presets/presets/amenity/dentist.json new file mode 100644 index 000000000..e5226088d --- /dev/null +++ b/data/presets/presets/amenity/dentist.json @@ -0,0 +1,20 @@ +{ + "name": "Dentist", + "geometry": [ + "point", + "area" + ], + "terms": [ + "dentist", + "dentist's office" + ], + "tags": { + "amenity": "doctors" + }, + "icon": "hospital", + "fields": [ + "building_area", + "address", + "opening_hours" + ] +} diff --git a/data/presets/presets/amenity/doctor.json b/data/presets/presets/amenity/doctor.json new file mode 100644 index 000000000..c3670b029 --- /dev/null +++ b/data/presets/presets/amenity/doctor.json @@ -0,0 +1,20 @@ +{ + "name": "Doctor", + "geometry": [ + "point", + "area" + ], + "terms": [ + "doctor", + "doctor's office" + ], + "tags": { + "amenity": "doctors" + }, + "icon": "hospital", + "fields": [ + "building_area", + "address", + "opening_hours" + ] +} diff --git a/data/presets/presets/amenity/studio.json b/data/presets/presets/amenity/studio.json new file mode 100644 index 000000000..ac2ec4031 --- /dev/null +++ b/data/presets/presets/amenity/studio.json @@ -0,0 +1,24 @@ +{ + "name": "Studio", + "geometry": [ + "point", + "area" + ], + "terms": [ + "recording studio", + "studio", + "radio", + "radio studio", + "television", + "television studio" + ], + "tags": { + "amenity": "studio" + }, + "icon": "music", + "fields": [ + "building_area", + "studio_type", + "address" + ] +}