mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-17 22:24:49 +02:00
Merge pull request #5594 from kreed/apartments
Add apartment complex preset
This commit is contained in:
+7
-2
@@ -3179,8 +3179,8 @@ en:
|
||||
terms: '<translate with synonyms or related terms for ''Building'', separated by commas>'
|
||||
building/apartments:
|
||||
# building=apartments
|
||||
name: Apartments
|
||||
terms: '<translate with synonyms or related terms for ''Apartments'', separated by commas>'
|
||||
name: Apartment Building
|
||||
terms: '<translate with synonyms or related terms for ''Apartment Building'', separated by commas>'
|
||||
building/barn:
|
||||
# building=barn
|
||||
name: Barn
|
||||
@@ -4347,6 +4347,11 @@ en:
|
||||
# landuse=residential
|
||||
name: Residential Area
|
||||
terms: '<translate with synonyms or related terms for ''Residential Area'', separated by commas>'
|
||||
landuse/residential/apartments:
|
||||
# residential=apartments
|
||||
name: Apartment Complex
|
||||
# 'terms: flat,residence,tenement'
|
||||
terms: '<translate with synonyms or related terms for ''Apartment Complex'', separated by commas>'
|
||||
landuse/retail:
|
||||
# landuse=retail
|
||||
name: Retail Area
|
||||
|
||||
@@ -254,7 +254,7 @@
|
||||
"building/bunker": {"fields": ["name", "address", "levels", "height"], "geometry": ["area"], "tags": {"building": "bunker"}, "matchScore": 0.5, "name": "Bunker", "searchable": false},
|
||||
"building/entrance": {"icon": "maki-entrance-alt1", "geometry": ["vertex"], "tags": {"building": "entrance"}, "name": "Entrance/Exit", "searchable": false},
|
||||
"building/train_station": {"icon": "maki-building", "fields": ["name", "address", "levels", "height"], "geometry": ["point", "vertex", "area"], "tags": {"building": "train_station"}, "matchScore": 0.5, "name": "Train Station", "searchable": false},
|
||||
"building/apartments": {"icon": "maki-building", "fields": ["name", "address", "levels", "height"], "geometry": ["area"], "tags": {"building": "apartments"}, "matchScore": 0.5, "name": "Apartments"},
|
||||
"building/apartments": {"icon": "maki-building", "fields": ["name", "address", "levels", "height"], "geometry": ["area"], "tags": {"building": "apartments"}, "matchScore": 0.5, "name": "Apartment Building"},
|
||||
"building/barn": {"icon": "maki-farm", "fields": ["name", "address", "levels", "height"], "geometry": ["area"], "tags": {"building": "barn"}, "matchScore": 0.5, "name": "Barn"},
|
||||
"building/boathouse": {"icon": "maki-harbor", "fields": ["name", "levels", "height", "address"], "geometry": ["area"], "tags": {"building": "boathouse"}, "matchScore": 0.5, "terms": [], "name": "Boathouse"},
|
||||
"building/bungalow": {"icon": "maki-home", "fields": ["name", "address", "levels", "height"], "geometry": ["area"], "tags": {"building": "bungalow"}, "terms": ["home", "detached"], "matchScore": 0.5, "name": "Bungalow"},
|
||||
@@ -513,6 +513,7 @@
|
||||
"landuse/recreation_ground": {"icon": "maki-pitch", "geometry": ["area"], "fields": ["name"], "tags": {"landuse": "recreation_ground"}, "terms": ["playing fields"], "name": "Recreation Ground"},
|
||||
"landuse/religious": {"icon": "maki-place-of-worship", "geometry": ["area"], "fields": ["name", "religion", "denomination"], "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/apartments": {"icon": "maki-building", "fields": ["name", "operator", "address"], "geometry": ["point", "area"], "tags": {"residential": "apartments"}, "addTags": {"landuse": "residential", "residential": "apartments"}, "removeTags": {"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"], "tags": {"landuse": "retail"}, "matchScore": 0.9, "name": "Retail Area"},
|
||||
"landuse/vineyard": {"fields": ["name", "operator", "grape_variety"], "geometry": ["area"], "tags": {"landuse": "vineyard"}, "addTags": {"landuse": "vineyard", "crop": "grape"}, "removeTags": {"landuse": "vineyard", "crop": "grape", "grape_variety": "*"}, "terms": ["grape", "wine"], "name": "Vineyard"},
|
||||
"leisure": {"icon": "maki-pitch", "fields": ["name", "leisure"], "geometry": ["point", "vertex", "area"], "tags": {"leisure": "*"}, "name": "Leisure"},
|
||||
|
||||
@@ -13,5 +13,5 @@
|
||||
"building": "apartments"
|
||||
},
|
||||
"matchScore": 0.5,
|
||||
"name": "Apartments"
|
||||
"name": "Apartment Building"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"icon": "maki-building",
|
||||
"fields": [
|
||||
"name",
|
||||
"operator",
|
||||
"address"
|
||||
],
|
||||
"geometry": [
|
||||
"point",
|
||||
"area"
|
||||
],
|
||||
"tags": {
|
||||
"residential": "apartments"
|
||||
},
|
||||
"addTags": {
|
||||
"landuse": "residential",
|
||||
"residential": "apartments"
|
||||
},
|
||||
"removeTags": {
|
||||
"landuse": "residential",
|
||||
"residential": "apartments"
|
||||
},
|
||||
"reference": {
|
||||
"key": "residential",
|
||||
"value": "apartments"
|
||||
},
|
||||
"terms": [
|
||||
"flat",
|
||||
"residence",
|
||||
"tenement"
|
||||
],
|
||||
"name": "Apartment Complex"
|
||||
}
|
||||
+8
-1
@@ -1727,7 +1727,7 @@
|
||||
{
|
||||
"key": "building",
|
||||
"value": "apartments",
|
||||
"description": "🄿 Apartments",
|
||||
"description": "🄿 Apartment Building",
|
||||
"object_types": ["area"],
|
||||
"icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/building-15.svg?sanitize=true"
|
||||
},
|
||||
@@ -3424,6 +3424,13 @@
|
||||
"object_types": ["area"],
|
||||
"icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/building-15.svg?sanitize=true"
|
||||
},
|
||||
{
|
||||
"key": "residential",
|
||||
"value": "apartments",
|
||||
"description": "🄿 Apartment Complex",
|
||||
"object_types": ["node", "area"],
|
||||
"icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/building-15.svg?sanitize=true"
|
||||
},
|
||||
{
|
||||
"key": "landuse",
|
||||
"value": "retail",
|
||||
|
||||
Vendored
+5
-1
@@ -4213,7 +4213,7 @@
|
||||
"terms": ""
|
||||
},
|
||||
"building/apartments": {
|
||||
"name": "Apartments",
|
||||
"name": "Apartment Building",
|
||||
"terms": ""
|
||||
},
|
||||
"building/barn": {
|
||||
@@ -5248,6 +5248,10 @@
|
||||
"name": "Residential Area",
|
||||
"terms": ""
|
||||
},
|
||||
"landuse/residential/apartments": {
|
||||
"name": "Apartment Complex",
|
||||
"terms": "flat,residence,tenement"
|
||||
},
|
||||
"landuse/retail": {
|
||||
"name": "Retail Area",
|
||||
"terms": ""
|
||||
|
||||
Reference in New Issue
Block a user