From bb56584ce597028a96e28f87410d5f2741d7b4ad Mon Sep 17 00:00:00 2001 From: Quincy Morgan <2046746+quincylvania@users.noreply.github.com> Date: Fri, 9 Oct 2020 11:31:31 -0400 Subject: [PATCH] Add Cooling Tower preset --- data/presets.yaml | 5 ++++ data/presets/presets.json | 1 + .../presets/man_made/tower/cooling.json | 28 +++++++++++++++++++ data/taginfo.json | 1 + dist/locales/en.json | 4 +++ 5 files changed, 39 insertions(+) create mode 100644 data/presets/presets/man_made/tower/cooling.json diff --git a/data/presets.yaml b/data/presets.yaml index 576ef3dc1c..fbb225c16f 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -6661,6 +6661,11 @@ en: name: Communication Tower # 'terms: antenna,broadcast tower,cell phone tower,cell tower,communication mast,communication tower,guyed tower,mobile phone tower,radio mast,radio tower,television tower,transmission mast,transmission tower,tv tower' terms: '' + man_made/tower/cooling: + # 'man_made=tower, tower:type=cooling' + name: Cooling Tower + # 'terms: power plant' + terms: '' man_made/tower/defensive: # 'man_made=tower, tower:type=defensive' name: Fortified Tower diff --git a/data/presets/presets.json b/data/presets/presets.json index 7090aeafe1..b14ab1597f 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -808,6 +808,7 @@ "man_made/tower": {"icon": "temaki-tower", "fields": ["tower/type", "tower/construction", "height", "building_area"], "moreFields": ["architect", "gnis/feature_id"], "geometry": ["point", "area"], "tags": {"man_made": "tower"}, "name": "Tower"}, "man_made/tower/bell_tower": {"icon": "fas-bell", "moreFields": ["{man_made/tower}", "opening_hours", "opening_hours/covid19"], "geometry": ["point", "area"], "terms": ["belfry", "bell gable", "campanile", "church tower", "klockstapel"], "tags": {"man_made": "tower", "tower:type": "bell_tower"}, "reference": {"key": "tower:type", "value": "bell_tower"}, "name": "Bell Tower"}, "man_made/tower/communication": {"icon": "temaki-tower_communication", "fields": ["{man_made/tower}", "communication_multi", "mimics"], "moreFields": ["{man_made/tower}", "mimics"], "geometry": ["point", "area"], "terms": ["antenna", "broadcast tower", "cell phone tower", "cell tower", "communication mast", "communication tower", "guyed tower", "mobile phone tower", "radio mast", "radio tower", "television tower", "transmission mast", "transmission tower", "tv tower"], "tags": {"man_made": "tower", "tower:type": "communication"}, "reference": {"key": "tower:type", "value": "communication"}, "name": "Communication Tower"}, + "man_made/tower/cooling": {"icon": "temaki-cooling_tower", "fields": ["ref", "operator", "material", "building_area", "height"], "moreFields": ["layer"], "geometry": ["area"], "terms": ["power plant"], "tags": {"man_made": "tower", "tower:type": "cooling"}, "reference": {"key": "tower:type", "value": "cooling"}, "name": "Cooling Tower"}, "man_made/tower/defensive": {"icon": "maki-castle", "geometry": ["point", "area"], "tags": {"man_made": "tower", "tower:type": "defensive"}, "reference": {"key": "tower:type", "value": "defensive"}, "terms": ["Defensive Tower", "Castle Tower"], "name": "Fortified Tower"}, "man_made/tower/minaret": {"icon": "temaki-domed_tower", "geometry": ["point", "area"], "terms": ["Islam", "mosque", "Muezzin", "Muslim"], "tags": {"man_made": "tower", "tower:type": "minaret"}, "reference": {"key": "tower:type", "value": "minaret"}, "name": "Minaret"}, "man_made/tower/observation": {"icon": "temaki-tower", "moreFields": ["{man_made/tower}", "opening_hours", "opening_hours/covid19"], "geometry": ["point", "area"], "terms": ["lookout tower", "fire tower"], "tags": {"man_made": "tower", "tower:type": "observation"}, "reference": {"key": "tower:type", "value": "observation"}, "name": "Observation Tower"}, diff --git a/data/presets/presets/man_made/tower/cooling.json b/data/presets/presets/man_made/tower/cooling.json new file mode 100644 index 0000000000..43ba77109c --- /dev/null +++ b/data/presets/presets/man_made/tower/cooling.json @@ -0,0 +1,28 @@ +{ + "icon": "temaki-cooling_tower", + "fields": [ + "ref", + "operator", + "material", + "building_area", + "height" + ], + "moreFields": [ + "layer" + ], + "geometry": [ + "area" + ], + "terms": [ + "power plant" + ], + "tags": { + "man_made": "tower", + "tower:type": "cooling" + }, + "reference": { + "key": "tower:type", + "value": "cooling" + }, + "name": "Cooling Tower" +} diff --git a/data/taginfo.json b/data/taginfo.json index ad456e1d8f..fe4e5bf2dd 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -786,6 +786,7 @@ {"key": "man_made", "value": "torii", "description": "🄿 Torii", "object_types": ["node", "way"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/shinto.svg"}, {"key": "man_made", "value": "tower", "description": "🄿 Tower", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/tower.svg"}, {"key": "tower:type", "value": "bell_tower", "description": "🄿 Bell Tower", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/fontawesome/fas-bell.svg"}, + {"key": "tower:type", "value": "cooling", "description": "🄿 Cooling Tower", "object_types": ["area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/cooling_tower.svg"}, {"key": "tower:type", "value": "defensive", "description": "🄿 Fortified Tower", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/castle-15.svg"}, {"key": "tower:type", "value": "minaret", "description": "🄿 Minaret", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/domed_tower.svg"}, {"key": "tower:type", "value": "observation", "description": "🄿 Observation Tower", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/tower.svg"}, diff --git a/dist/locales/en.json b/dist/locales/en.json index 14af56bedf..7f618b993e 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -8552,6 +8552,10 @@ "name": "Communication Tower", "terms": "antenna,broadcast tower,cell phone tower,cell tower,communication mast,communication tower,guyed tower,mobile phone tower,radio mast,radio tower,television tower,transmission mast,transmission tower,tv tower" }, + "man_made/tower/cooling": { + "name": "Cooling Tower", + "terms": "power plant" + }, "man_made/tower/defensive": { "name": "Fortified Tower", "terms": "Defensive Tower,Castle Tower"