Add generic Telecom Feature fallback preset (close #7934)

This commit is contained in:
Quincy Morgan
2020-08-28 15:12:31 -04:00
parent d56e677ed9
commit 84c275c422
7 changed files with 38 additions and 0 deletions
+6
View File
@@ -2575,6 +2575,9 @@ en:
target:
# target=*
label: Target
telecom:
# telecom=*
label: Type
telecom/medium:
# 'telecom:medium=*'
label: Medium
@@ -8559,6 +8562,9 @@ en:
# shop=wine
name: Wine Shop
terms: '<translate with synonyms or related terms for ''Wine Shop'', separated by commas>'
telecom:
# telecom=*
name: Telecom Feature
telecom/data_center:
# telecom=data_center
name: Data Center
+1
View File
@@ -451,6 +451,7 @@
"tactile_paving": {"key": "tactile_paving", "type": "check", "label": "Tactile Paving"},
"takeaway": {"key": "takeaway", "type": "combo", "label": "Takeaway", "placeholder": "Yes, No, Takeaway Only...", "strings": {"options": {"yes": "Yes", "no": "No", "only": "Takeaway Only"}}, "terms": ["take out", "takeout"]},
"target": {"key": "target", "type": "combo", "label": "Target"},
"telecom": {"key": "telecom", "type": "combo", "label": "Type"},
"telecom/medium": {"key": "telecom:medium", "type": "combo", "label": "Medium"},
"tidal": {"key": "tidal", "type": "check", "label": "Tidal"},
"to": {"key": "to", "type": "text", "label": "To"},
+5
View File
@@ -0,0 +1,5 @@
{
"key": "telecom",
"type": "combo",
"label": "Type"
}
+1
View File
@@ -19,6 +19,7 @@
"power": {"icon": "temaki-power", "geometry": ["point", "vertex", "line", "area"], "tags": {"power": "*"}, "fields": ["power"], "moreFields": ["material"], "searchable": false, "name": "Power Feature"},
"railway": {"icon": "temaki-rail_profile", "fields": ["railway"], "geometry": ["point", "vertex", "line", "area"], "tags": {"railway": "*"}, "searchable": false, "name": "Railway Feature"},
"seamark": {"icon": "maki-harbor", "fields": ["seamark/type"], "geometry": ["point", "vertex", "line", "area"], "tags": {"seamark:type": "*"}, "searchable": false, "name": "Seamark"},
"telecom": {"icon": "temaki-cable", "fields": ["telecom", "operator"], "geometry": ["point", "vertex", "line", "area"], "tags": {"telecom": "*"}, "searchable": false, "name": "Telecom Feature"},
"tourism": {"icon": "maki-attraction", "fields": ["name", "tourism"], "geometry": ["point", "vertex", "line", "area"], "tags": {"tourism": "*"}, "searchable": false, "name": "Tourism Feature"},
"waterway": {"fields": ["name", "waterway"], "geometry": ["point", "vertex", "line", "area"], "tags": {"waterway": "*"}, "searchable": false, "name": "Waterway Feature"},
"addr/interpolation": {"fields": ["addr/interpolation"], "geometry": ["line"], "tags": {"addr:interpolation": "*"}, "name": "Address Interpolation", "searchable": false, "matchScore": 0.2},
+18
View File
@@ -0,0 +1,18 @@
{
"icon": "temaki-cable",
"fields": [
"telecom",
"operator"
],
"geometry": [
"point",
"vertex",
"line",
"area"
],
"tags": {
"telecom": "*"
},
"searchable": false,
"name": "Telecom Feature"
}
+1
View File
@@ -23,6 +23,7 @@
{"key": "power", "description": "🄿 Power Feature (unsearchable), 🄵 Type", "object_types": ["node", "way", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/power.svg"},
{"key": "railway", "description": "🄿 Railway Feature (unsearchable), 🄵 Type", "object_types": ["node", "way", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/rail_profile.svg"},
{"key": "seamark:type", "description": "🄿 Seamark (unsearchable), 🄵 Seamark", "object_types": ["node", "way", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/harbor-15.svg"},
{"key": "telecom", "description": "🄿 Telecom Feature (unsearchable), 🄵 Type", "object_types": ["node", "way", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/cable.svg"},
{"key": "tourism", "description": "🄿 Tourism Feature (unsearchable), 🄵 Type", "object_types": ["node", "way", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/attraction-15.svg"},
{"key": "waterway", "description": "🄿 Waterway Feature (unsearchable), 🄵 Type", "object_types": ["node", "way", "area"]},
{"key": "addr:interpolation", "description": "🄿 Address Interpolation (unsearchable)", "object_types": ["way"]},
+6
View File
@@ -4928,6 +4928,9 @@
"target": {
"label": "Target"
},
"telecom": {
"label": "Type"
},
"telecom/medium": {
"label": "Medium"
},
@@ -5275,6 +5278,9 @@
"seamark": {
"name": "Seamark"
},
"telecom": {
"name": "Telecom Feature"
},
"tourism": {
"name": "Tourism Feature"
},