Merge pull request #5360 from nadyafebi/issue-5337

Add bridge:support presets
This commit is contained in:
Bryan Housel
2018-10-01 10:20:41 -04:00
committed by GitHub
8 changed files with 73 additions and 0 deletions
+11
View File
@@ -266,6 +266,9 @@ en:
label: Type
# bridge field placeholder
placeholder: Default
bridge/support:
# 'bridge:support=*'
label: Type
building:
# building=*
label: Building
@@ -2857,6 +2860,14 @@ en:
# boundary=administrative
name: Administrative Boundary
terms: '<translate with synonyms or related terms for ''Administrative Boundary'', separated by commas>'
bridge/support:
# 'bridge:support=*'
name: Bridge Support
terms: '<translate with synonyms or related terms for ''Bridge Support'', separated by commas>'
bridge/support/pier:
# 'bridge:support=pier'
name: Bridge Pier
terms: '<translate with synonyms or related terms for ''Bridge Pier'', separated by commas>'
building:
# building=*
name: Building
+1
View File
@@ -39,6 +39,7 @@
"brand": {"key": "brand", "type": "text", "label": "Brand"},
"brewery": {"key": "brewery", "type": "semiCombo", "label": "Draft Beers"},
"bridge": {"key": "bridge", "type": "typeCombo", "label": "Type", "placeholder": "Default"},
"bridge/support": {"key": "bridge:support", "type": "combo", "label": "Type"},
"building_area": {"key": "building", "type": "combo", "default": "yes", "geometry": "area", "label": "Building"},
"building": {"key": "building", "type": "combo", "label": "Building"},
"bunker_type": {"key": "bunker_type", "type": "combo", "label": "Type"},
+5
View File
@@ -0,0 +1,5 @@
{
"key": "bridge:support",
"type": "combo",
"label": "Type"
}
+2
View File
@@ -213,6 +213,8 @@
"barrier/toll_booth": {"icon": "maki-roadblock", "fields": ["access", "building_area"], "geometry": ["vertex", "area"], "tags": {"barrier": "toll_booth"}, "name": "Toll Booth"},
"barrier/wall": {"icon": "maki-barrier", "fields": ["wall", "height"], "geometry": ["line", "area"], "tags": {"barrier": "wall"}, "name": "Wall", "matchScore": 0.25},
"boundary/administrative": {"name": "Administrative Boundary", "geometry": ["line"], "tags": {"boundary": "administrative"}, "fields": ["name", "admin_level"]},
"bridge/support": {"icon": "fas-archway", "fields": ["bridge/support"], "geometry": ["point", "vertex", "area"], "tags": {"bridge:support": "*"}, "name": "Bridge Support"},
"bridge/support/pier": {"icon": "fas-archway", "fields": ["bridge/support"], "geometry": ["point", "vertex", "area"], "tags": {"bridge:support": "pier"}, "name": "Bridge Pier"},
"building": {"icon": "maki-home", "fields": ["name", "building", "levels", "height", "address"], "geometry": ["point", "area"], "tags": {"building": "*"}, "matchScore": 0.6, "terms": [], "name": "Building"},
"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},
+15
View File
@@ -0,0 +1,15 @@
{
"icon": "fas-archway",
"fields": [
"bridge/support"
],
"geometry": [
"point",
"vertex",
"area"
],
"tags": {
"bridge:support": "*"
},
"name": "Bridge Support"
}
@@ -0,0 +1,15 @@
{
"icon": "fas-archway",
"fields": [
"bridge/support"
],
"geometry": [
"point",
"vertex",
"area"
],
"tags": {
"bridge:support": "pier"
},
"name": "Bridge Pier"
}
+13
View File
@@ -1449,6 +1449,19 @@
"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",
"description": "Building",
+11
View File
@@ -1680,6 +1680,9 @@
"label": "Type",
"placeholder": "Default"
},
"bridge/support": {
"label": "Type"
},
"building_area": {
"label": "Building"
},
@@ -3911,6 +3914,14 @@
"name": "Administrative Boundary",
"terms": ""
},
"bridge/support": {
"name": "Bridge Support",
"terms": ""
},
"bridge/support/pier": {
"name": "Bridge Pier",
"terms": ""
},
"building": {
"name": "Building",
"terms": ""