From 4c04d7ddcfd97d687180d7c695705fdb411227c7 Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Mon, 10 Jan 2022 20:10:24 +0100 Subject: [PATCH] add preset for landuse=education, replace landuse=school (closes #311) --- data/deprecated.json | 4 ++++ data/presets/landuse/education.json | 22 ++++++++++++++++++++++ interim/source_strings.yaml | 13 +++++++++---- 3 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 data/presets/landuse/education.json diff --git a/data/deprecated.json b/data/deprecated.json index d0b3a71c..eba23601 100644 --- a/data/deprecated.json +++ b/data/deprecated.json @@ -894,6 +894,10 @@ "old": {"landuse": "reservoir"}, "replace": {"natural": "water", "water": "reservoir"} }, + { + "old": {"landuse": "school"}, + "replace": {"landuse": "education"} + }, { "old": {"landuse": "wood"}, "replace": {"natural": "wood"} diff --git a/data/presets/landuse/education.json b/data/presets/landuse/education.json new file mode 100644 index 00000000..eb19ccdc --- /dev/null +++ b/data/presets/landuse/education.json @@ -0,0 +1,22 @@ +{ + "icon": "temaki-school", + "fields": [ + "name", + "operator" + ], + "moreFields": [], + "geometry": [ + "area" + ], + "terms": [ + "educational facilities", + "campus", + "school grounds", + "school center" + ], + "tags": { + "landuse": "education" + }, + "matchScore": 0.9, + "name": "Educational Campus" +} diff --git a/interim/source_strings.yaml b/interim/source_strings.yaml index 9f3b57df..065d920f 100644 --- a/interim/source_strings.yaml +++ b/interim/source_strings.yaml @@ -1978,11 +1978,11 @@ en: label: Orientation options: # 'parking:orientation=diagonal' - diagonal: Diagonal in Relation to the Carriage Way + diagonal: Diagonal in Relation to the Street # 'parking:orientation=parallel' - parallel: Parallel to the Carriage Way + parallel: Parallel to the Street # 'parking:orientation=perpendicular' - perpendicular: Meets the Carriage Way at a Straight Angle + perpendicular: Meets the Street at a Straight Angle parking_entrance: # parking=* label: Type @@ -6297,6 +6297,11 @@ en: name: Construction Area # 'terms: building,bulldozer,construction site,construction zone,crane,demolition,development,infrastructure' terms: '' + landuse/education: + # 'landuse=education\n\nTranslate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).' + name: Educational Campus + # 'terms: educational facilities,campus,school grounds,school center' + terms: '' landuse/farm: # 'landuse=farm\n\nTranslate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).' name: Farmland @@ -7588,7 +7593,7 @@ en: noexit/yes: # 'noexit=yes\n\nTranslate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).' name: No Exit - # 'terms: no exit,road end,dead end' + # 'terms: dead end,no exit,not connected,road end,unconnected' terms: '' office: # 'office=*\n\nTranslate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).'