Skip to content

Commit

Permalink
Add Cooling Tower preset
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Oct 9, 2020
1 parent bebd7db commit bb56584
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 0 deletions.
5 changes: 5 additions & 0 deletions data/presets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: '<translate with synonyms or related terms for ''Communication Tower'', separated by commas>'
man_made/tower/cooling:
# 'man_made=tower, tower:type=cooling'
name: Cooling Tower
# 'terms: power plant'
terms: '<translate with synonyms or related terms for ''Cooling Tower'', separated by commas>'
man_made/tower/defensive:
# 'man_made=tower, tower:type=defensive'
name: Fortified Tower
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down
28 changes: 28 additions & 0 deletions data/presets/presets/man_made/tower/cooling.json
Original file line number Diff line number Diff line change
@@ -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"
}
1 change: 1 addition & 0 deletions data/taginfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down
4 changes: 4 additions & 0 deletions dist/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit bb56584

Please sign in to comment.