Add unsearchable preset and field for disused:railway (re: #7119)

This commit is contained in:
Quincy Morgan
2019-12-16 11:32:22 -05:00
parent 9b8439fbda
commit da6fac23e7
7 changed files with 37 additions and 0 deletions
+6
View File
@@ -702,6 +702,9 @@ en:
distance:
# distance=*
label: Distance
disused/railway:
# 'disused:railway=*'
label: Type
dock:
# dock=*
label: Type
@@ -4568,6 +4571,9 @@ en:
demolished/building:
# 'demolished:building=*'
name: Recently Demolished Building
disused/railway:
# 'disused:railway=*'
name: Disused Railway Feature
embankment:
# embankment=yes
name: Embankment
+1
View File
@@ -118,6 +118,7 @@
"dispensing": {"key": "dispensing", "type": "check", "label": "Dispenses Prescriptions", "default": "yes"},
"display": {"key": "display", "type": "combo", "label": "Display", "options": ["analog", "digital", "sundial", "unorthodox"]},
"distance": {"key": "distance", "type": "text", "label": "Distance"},
"disused/railway": {"key": "disused:railway", "type": "typeCombo", "label": "Type"},
"dock": {"key": "dock", "type": "combo", "label": "Type"},
"dog": {"key": "dog", "type": "combo", "label": "Dogs", "strings": {"options": {"yes": "Allowed", "leashed": "Leashed Only", "no": "Not Allowed"}}, "terms": ["animals", "pets"]},
"door_type": {"key": "door", "type": "typeCombo", "label": "Type"},
+5
View File
@@ -0,0 +1,5 @@
{
"key": "disused:railway",
"type": "typeCombo",
"label": "Type"
}
+1
View File
@@ -435,6 +435,7 @@
"craft/winery": {"icon": "maki-alcohol-shop", "moreFields": ["{craft}", "min_age"], "geometry": ["point", "area"], "tags": {"craft": "winery"}, "name": "Winery"},
"cycleway/asl": {"icon": "maki-bicycle", "fields": ["ref", "direction_vertex", "width"], "geometry": ["vertex"], "tags": {"cycleway": "asl"}, "terms": ["advanced stop box", "asl", "bicycle box", "bike box", "bikebox", "cycle box", "cycle stop marking"], "name": "Advanced Stop Line"},
"demolished/building": {"fields": ["name", "address"], "geometry": ["area"], "tags": {"demolished:building": "*"}, "name": "Recently Demolished Building", "searchable": false},
"disused/railway": {"fields": ["disused/railway"], "geometry": ["point", "vertex", "line", "area"], "tags": {"disused:railway": "*"}, "matchScore": 0.05, "searchable": false, "name": "Disused Railway Feature"},
"emergency/designated": {"fields": ["emergency_combo"], "geometry": ["line"], "tags": {"emergency": "designated"}, "name": "Emergency Access Designated", "searchable": false, "matchScore": 0.01},
"emergency/destination": {"fields": ["emergency_combo"], "geometry": ["line"], "tags": {"emergency": "destination"}, "name": "Emergency Access Destination", "searchable": false, "matchScore": 0.01},
"emergency/no": {"fields": ["emergency_combo"], "geometry": ["line"], "tags": {"emergency": "no"}, "name": "Emergency Access No", "searchable": false, "matchScore": 0.01},
@@ -0,0 +1,17 @@
{
"fields": [
"disused/railway"
],
"geometry": [
"point",
"vertex",
"line",
"area"
],
"tags": {
"disused:railway": "*"
},
"matchScore": 0.05,
"searchable": false,
"name": "Disused Railway Feature"
}
+1
View File
@@ -430,6 +430,7 @@
{"key": "craft", "value": "winery", "description": "🄿 Winery", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/alcohol-shop-15.svg"},
{"key": "cycleway", "value": "asl", "description": "🄿 Advanced Stop Line", "object_types": ["node"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/bicycle-15.svg"},
{"key": "demolished:building", "description": "🄿 Recently Demolished Building (unsearchable)", "object_types": ["area"]},
{"key": "disused:railway", "description": "🄿 Disused Railway Feature (unsearchable), 🄵 Type", "object_types": ["node", "way", "area"]},
{"key": "emergency", "value": "designated", "description": "🄿 Emergency Access Designated (unsearchable)", "object_types": ["way"]},
{"key": "emergency", "value": "destination", "description": "🄿 Emergency Access Destination (unsearchable)", "object_types": ["way"]},
{"key": "emergency", "value": "no", "description": "🄿 Emergency Access No (unsearchable)", "object_types": ["way"]},
+6
View File
@@ -3154,6 +3154,9 @@
"distance": {
"label": "Distance"
},
"disused/railway": {
"label": "Type"
},
"dock": {
"label": "Type"
},
@@ -6490,6 +6493,9 @@
"demolished/building": {
"name": "Recently Demolished Building"
},
"disused/railway": {
"name": "Disused Railway Feature"
},
"emergency/designated": {
"name": "Emergency Access Designated"
},