Add Type field to landuse=residential for the residential subkey

This commit is contained in:
Quincy Morgan
2019-10-02 13:13:06 +02:00
parent c2e254e296
commit bcc09eb8b5
7 changed files with 19 additions and 1 deletions
+3
View File
@@ -1810,6 +1810,9 @@ en:
# reservation=yes
'yes': Accepted
terms: '[translate with synonyms or related terms for ''Reservations'', separated by commas]'
residential:
# residential=*
label: Type
resort:
# resort=*
label: Type
+1
View File
@@ -310,6 +310,7 @@
"relation": {"key": "type", "type": "combo", "label": "Type"},
"religion": {"key": "religion", "type": "combo", "label": "Religion"},
"reservation": {"key": "reservation", "type": "combo", "label": "Reservations", "strings": {"options": {"yes": "Accepted", "no": "Not Accepted", "required": "Required", "recommended": "Recommended"}}},
"residential": {"key": "residential", "type": "combo", "label": "Type"},
"resort": {"key": "resort", "type": "combo", "label": "Type"},
"resource": {"key": "resource", "type": "semiCombo", "label": "Resources"},
"restriction": {"key": "restriction", "type": "combo", "label": "Type"},
+5
View File
@@ -0,0 +1,5 @@
{
"key": "residential",
"type": "combo",
"label": "Type"
}
+1 -1
View File
@@ -615,7 +615,7 @@
"landuse/railway": {"icon": "maki-rail", "fields": ["operator"], "geometry": ["area"], "tags": {"landuse": "railway"}, "terms": ["rail", "train", "track"], "name": "Railway Corridor"},
"landuse/recreation_ground": {"icon": "maki-pitch", "geometry": ["area"], "fields": ["name"], "moreFields": ["address", "email", "fax", "phone", "website"], "tags": {"landuse": "recreation_ground"}, "terms": ["playing fields"], "name": "Recreation Ground"},
"landuse/religious": {"icon": "maki-place-of-worship", "geometry": ["area"], "fields": ["name", "religion", "denomination"], "moreFields": ["address", "email", "fax", "phone", "website"], "tags": {"landuse": "religious"}, "terms": [], "name": "Religious Area"},
"landuse/residential": {"icon": "maki-building", "geometry": ["area"], "tags": {"landuse": "residential"}, "terms": [], "matchScore": 0.9, "name": "Residential Area"},
"landuse/residential": {"icon": "maki-building", "fields": ["name", "residential"], "geometry": ["area"], "tags": {"landuse": "residential"}, "terms": [], "matchScore": 0.9, "name": "Residential Area"},
"landuse/residential/apartments": {"icon": "maki-building", "fields": ["name", "operator", "address"], "geometry": ["point", "area"], "tags": {"residential": "apartments"}, "addTags": {"landuse": "residential", "residential": "apartments"}, "reference": {"key": "residential", "value": "apartments"}, "terms": ["flat", "residence", "tenement"], "name": "Apartment Complex"},
"landuse/retail": {"icon": "maki-commercial", "geometry": ["area"], "fields": ["name"], "moreFields": ["address", "email", "fax", "phone", "website"], "tags": {"landuse": "retail"}, "matchScore": 0.9, "name": "Retail Area"},
"landuse/vineyard": {"fields": ["name", "operator", "grape_variety"], "moreFields": ["address", "email", "fax", "phone", "website"], "geometry": ["area"], "tags": {"landuse": "vineyard"}, "addTags": {"landuse": "vineyard", "crop": "grape"}, "removeTags": {"landuse": "vineyard", "crop": "grape", "grape_variety": "*"}, "terms": ["grape", "wine"], "name": "Vineyard"},
@@ -1,5 +1,9 @@
{
"icon": "maki-building",
"fields": [
"name",
"residential"
],
"geometry": [
"area"
],
+1
View File
@@ -1641,6 +1641,7 @@
{"key": "reservation", "value": "no", "description": "🄵 Reservations"},
{"key": "reservation", "value": "required", "description": "🄵 Reservations"},
{"key": "reservation", "value": "recommended", "description": "🄵 Reservations"},
{"key": "residential", "description": "🄵 Type"},
{"key": "resort", "description": "🄵 Type"},
{"key": "resource", "description": "🄵 Resources"},
{"key": "restriction", "description": "🄵 Type"},
+4
View File
@@ -4174,6 +4174,10 @@
"recommended": "Recommended"
}
},
"residential": {
"label": "Type",
"terms": ""
},
"resort": {
"label": "Type",
"terms": ""