Merge pull request #7896 from ogbeche77/develop

Flat field added to apartment building
This commit is contained in:
Quincy Morgan
2020-08-20 14:27:43 -04:00
committed by GitHub
9 changed files with 26 additions and 4 deletions
+5
View File
@@ -367,6 +367,11 @@ en:
label: Building
# 'terms: structure'
terms: '[translate with synonyms or related terms for ''Building'', separated by commas]'
building/flats:
# 'building:flats=*'
label: Units
# building/flats field placeholder
placeholder: '2, 4, 6, 8...'
building/levels:
# 'building:levels=*'
label: Levels
+1
View File
@@ -57,6 +57,7 @@
"bridge/support": {"key": "bridge:support", "type": "typeCombo", "label": "Type"},
"building_area": {"key": "building", "type": "combo", "default": "yes", "geometry": ["area"], "label": "Building"},
"building": {"key": "building", "type": "combo", "label": "Building", "terms": ["structure"]},
"building/flats": {"key": "building:flats", "type": "number", "minValue": 0, "label": "Units", "placeholder": "2, 4, 6, 8..."},
"building/levels_building": {"key": "building:levels", "type": "number", "minValue": 0, "label": "Building Levels", "placeholder": "2, 4, 6...", "prerequisiteTag": {"key": "building", "valueNot": "no"}},
"building/levels": {"key": "building:levels", "type": "number", "minValue": 0, "label": "Levels", "placeholder": "2, 4, 6..."},
"building/levels/underground": {"key": "building:levels:underground", "type": "number", "minValue": 0, "label": "Underground Levels", "placeholder": "2, 4, 6...", "terms": ["basement levels"]},
+1 -1
View File
@@ -5,4 +5,4 @@
"terms": [
"structure"
]
}
}
+7
View File
@@ -0,0 +1,7 @@
{
"key": "building:flats",
"type": "number",
"minValue": 0,
"label": "Units",
"placeholder": "2, 4, 6, 8..."
}
+1 -1
View File
@@ -4,4 +4,4 @@
"minValue": 0,
"label": "Capacity",
"placeholder": "50, 100, 200..."
}
}
+1 -1
View File
@@ -339,7 +339,7 @@
"building/bunker": {"icon": "temaki-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 Building", "searchable": false},
"building/apartments": {"icon": "maki-building", "geometry": ["area"], "tags": {"building": "apartments"}, "matchScore": 0.5, "name": "Apartment Building"},
"building/apartments": {"icon": "maki-building", "fields": ["{building}", "building/flats"], "geometry": ["area"], "tags": {"building": "apartments"}, "matchScore": 0.5, "name": "Apartment Building"},
"building/barn": {"icon": "temaki-barn", "geometry": ["area"], "tags": {"building": "barn"}, "matchScore": 0.5, "name": "Barn"},
"building/boathouse": {"icon": "maki-harbor", "geometry": ["area"], "tags": {"building": "boathouse"}, "matchScore": 0.5, "terms": [], "name": "Boathouse"},
"building/bungalow": {"icon": "maki-home", "geometry": ["area"], "tags": {"building": "bungalow"}, "terms": ["home", "detached"], "matchScore": 0.5, "name": "Bungalow"},
@@ -1,5 +1,9 @@
{
"icon": "maki-building",
"fields": [
"{building}",
"building/flats"
],
"geometry": [
"area"
],
@@ -8,4 +12,4 @@
},
"matchScore": 0.5,
"name": "Apartment Building"
}
}
+1
View File
@@ -1390,6 +1390,7 @@
{"key": "boules", "description": "🄵 Type"},
{"key": "brand", "description": "🄵 Brand"},
{"key": "brewery", "description": "🄵 Draft Beers"},
{"key": "building:flats", "description": "🄵 Units"},
{"key": "building:levels", "description": "🄵 Building Levels, 🄵 Levels"},
{"key": "building:levels:underground", "description": "🄵 Underground Levels"},
{"key": "building:material", "description": "🄵 Material"},
+4
View File
@@ -3070,6 +3070,10 @@
"label": "Building",
"terms": "structure"
},
"building/flats": {
"label": "Units",
"placeholder": "2, 4, 6, 8..."
},
"building/levels_building": {
"label": "Building Levels",
"terms": "",