Add roof:colour field to moreFields of building presets

This commit is contained in:
Quincy Morgan
2019-01-25 14:02:57 -05:00
parent eb9c516b2c
commit 8f5ab67a9c
7 changed files with 15 additions and 1 deletions
+3
View File
@@ -1482,6 +1482,9 @@ en:
label: Type
restrictions:
label: Turn Restrictions
roof/colour:
# 'roof:colour=*'
label: Roof Color
rooms:
# rooms=*
label: Rooms
+1
View File
@@ -263,6 +263,7 @@
"religion": {"key": "religion", "type": "combo", "label": "Religion"},
"restriction": {"key": "restriction", "type": "combo", "label": "Type"},
"restrictions": {"type": "restrictions", "geometry": "vertex", "icon": "iD-restrictions", "reference": {"rtype": "restriction"}, "label": "Turn Restrictions"},
"roof/colour": {"key": "roof:colour", "type": "combo", "label": "Roof Color"},
"rooms": {"key": "rooms", "type": "number", "minValue": 0, "label": "Rooms"},
"route_master": {"key": "route_master", "type": "combo", "label": "Type"},
"route": {"key": "route", "type": "combo", "label": "Type"},
+5
View File
@@ -0,0 +1,5 @@
{
"key": "roof:colour",
"type": "combo",
"label": "Roof Color"
}
+1 -1
View File
@@ -251,7 +251,7 @@
"boundary/administrative": {"name": "Administrative Boundary", "geometry": ["line"], "tags": {"boundary": "administrative"}, "fields": ["name", "admin_level"]},
"bridge/support": {"icon": "fas-archway", "fields": ["bridge/support"], "moreFields": ["material", "seamark/type"], "geometry": ["point", "vertex", "area"], "tags": {"bridge:support": "*"}, "name": "Bridge Support"},
"bridge/support/pier": {"icon": "fas-archway", "fields": ["bridge/support"], "moreFields": ["material", "seamark/type"], "geometry": ["point", "vertex", "area"], "tags": {"bridge:support": "pier"}, "name": "Bridge Pier"},
"building": {"icon": "maki-home", "fields": ["name", "building", "levels", "height", "address"], "moreFields": ["architect", "building/material", "smoking", "wheelchair"], "geometry": ["point", "area"], "tags": {"building": "*"}, "matchScore": 0.6, "terms": [], "name": "Building"},
"building": {"icon": "maki-home", "fields": ["name", "building", "levels", "height", "address"], "moreFields": ["architect", "building/material", "roof/colour", "smoking", "wheelchair"], "geometry": ["point", "area"], "tags": {"building": "*"}, "matchScore": 0.6, "terms": [], "name": "Building"},
"building/bunker": {"geometry": ["area"], "tags": {"building": "bunker"}, "matchScore": 0.5, "name": "Bunker", "searchable": false},
"building/entrance": {"icon": "maki-entrance-alt1", "fields": [], "moreFields": [], "geometry": ["vertex"], "tags": {"building": "entrance"}, "name": "Entrance/Exit", "searchable": false},
"building/train_station": {"icon": "maki-building", "geometry": ["point", "vertex", "area"], "tags": {"building": "train_station"}, "matchScore": 0.5, "name": "Train Station", "searchable": false},
+1
View File
@@ -10,6 +10,7 @@
"moreFields": [
"architect",
"building/material",
"roof/colour",
"smoking",
"wheelchair"
],
+1
View File
@@ -1416,6 +1416,7 @@
{"key": "type", "description": "🄵 Type"},
{"key": "religion", "description": "🄵 Religion"},
{"key": "restriction", "description": "🄵 Type"},
{"key": "roof:colour", "description": "🄵 Roof Color"},
{"key": "rooms", "description": "🄵 Rooms"},
{"key": "route_master", "description": "🄵 Type"},
{"key": "route", "description": "🄵 Type"},
+3
View File
@@ -3078,6 +3078,9 @@
"restrictions": {
"label": "Turn Restrictions"
},
"roof/colour": {
"label": "Roof Color"
},
"rooms": {
"label": "Rooms"
},