mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-22 00:07:03 +02:00
Add Building Part preset (close #6114)
This commit is contained in:
@@ -3577,6 +3577,11 @@ en:
|
||||
# building=warehouse
|
||||
name: Warehouse
|
||||
terms: '<translate with synonyms or related terms for ''Warehouse'', separated by commas>'
|
||||
building_part:
|
||||
# 'building:part=*'
|
||||
name: Building Part
|
||||
# 'terms: roof,simple 3D buildings'
|
||||
terms: '<translate with synonyms or related terms for ''Building Part'', separated by commas>'
|
||||
building_point:
|
||||
# building=*
|
||||
name: Building
|
||||
|
||||
@@ -269,6 +269,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_part": {"icon": "maki-building", "fields": ["levels", "height", "building/material", "roof/colour"], "moreFields": ["layer"], "geometry": ["area"], "tags": {"building:part": "*"}, "matchScore": 0.5, "terms": ["roof", "simple 3D buildings"], "name": "Building Part"},
|
||||
"building": {"icon": "maki-home", "fields": ["name", "building", "levels", "height", "address"], "moreFields": ["architect", "building/material", "layer", "roof/colour", "smoking", "wheelchair"], "geometry": ["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},
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"icon": "maki-building",
|
||||
"fields": [
|
||||
"levels",
|
||||
"height",
|
||||
"building/material",
|
||||
"roof/colour"
|
||||
],
|
||||
"moreFields": [
|
||||
"layer"
|
||||
],
|
||||
"geometry": [
|
||||
"area"
|
||||
],
|
||||
"tags": {
|
||||
"building:part": "*"
|
||||
},
|
||||
"matchScore": 0.5,
|
||||
"terms": [
|
||||
"roof",
|
||||
"simple 3D buildings"
|
||||
],
|
||||
"name": "Building Part"
|
||||
}
|
||||
@@ -266,6 +266,7 @@
|
||||
{"key": "boundary", "value": "administrative", "description": "🄿 Administrative Boundary", "object_types": ["way"]},
|
||||
{"key": "bridge:support", "description": "🄿 Bridge Support, 🄵 Type", "object_types": ["node", "area"], "icon_url": "https://raw.githubusercontent.com/openstreetmap/iD/master/svg/fontawesome/fas-archway.svg?sanitize=true"},
|
||||
{"key": "bridge:support", "value": "pier", "description": "🄿 Bridge Pier", "object_types": ["node", "area"], "icon_url": "https://raw.githubusercontent.com/openstreetmap/iD/master/svg/fontawesome/fas-archway.svg?sanitize=true"},
|
||||
{"key": "building:part", "description": "🄿 Building Part", "object_types": ["area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/building-15.svg?sanitize=true"},
|
||||
{"key": "building", "value": "bunker", "description": "🄿 Bunker (unsearchable)", "object_types": ["area"]},
|
||||
{"key": "building", "value": "entrance", "description": "🄿 Entrance/Exit (unsearchable), 🄳 ➜ entrance=*", "object_types": ["node"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/entrance-alt1-15.svg?sanitize=true"},
|
||||
{"key": "building", "value": "train_station", "description": "🄿 Train Station Building (unsearchable)", "object_types": ["node", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/building-15.svg?sanitize=true"},
|
||||
|
||||
Vendored
+4
@@ -5050,6 +5050,10 @@
|
||||
"name": "Bridge Pier",
|
||||
"terms": ""
|
||||
},
|
||||
"building_part": {
|
||||
"name": "Building Part",
|
||||
"terms": "roof,simple 3D buildings"
|
||||
},
|
||||
"building": {
|
||||
"name": "Building",
|
||||
"terms": ""
|
||||
|
||||
Reference in New Issue
Block a user