Add unsearchable Boundary preset for boundary=* (close #5975)

This commit is contained in:
Quincy Morgan
2019-02-25 10:59:44 -05:00
parent c062f9186e
commit 4d9d0fb797
5 changed files with 22 additions and 1 deletions
+3
View File
@@ -3274,6 +3274,9 @@ en:
# barrier=wall
name: Wall
terms: '<translate with synonyms or related terms for ''Wall'', separated by commas>'
boundary:
# boundary=*
name: Boundary
boundary/administrative:
# boundary=administrative
name: Administrative Boundary
+1
View File
@@ -4,6 +4,7 @@
"aeroway": {"icon": "maki-airport", "fields": ["aeroway"], "geometry": ["point", "vertex", "line", "area"], "tags": {"aeroway": "*"}, "searchable": false, "name": "Aeroway"},
"amenity": {"fields": ["amenity"], "geometry": ["point", "vertex", "area"], "tags": {"amenity": "*"}, "searchable": false, "name": "Amenity"},
"attraction": {"icon": "maki-star", "fields": ["name", "attraction", "operator", "opening_hours"], "moreFields": ["opening_hours", "fee", "payment_multi", "address", "website", "phone", "email", "fax"], "geometry": ["point", "vertex", "line", "area"], "tags": {"attraction": "*"}, "searchable": false, "name": "Attraction"},
"boundary": {"fields": ["boundary"], "geometry": ["line"], "tags": {"boundary": "*"}, "searchable": false, "name": "Boundary"},
"circular": {"geometry": ["vertex", "line"], "fields": ["name"], "tags": {"junction": "circular"}, "name": "Traffic Circle", "searchable": false},
"embankment": {"geometry": ["line"], "tags": {"embankment": "yes"}, "name": "Embankment", "matchScore": 0.2, "searchable": false},
"highway": {"fields": ["name", "highway"], "geometry": ["point", "vertex", "line", "area"], "tags": {"highway": "*"}, "searchable": false, "name": "Highway"},
+13
View File
@@ -0,0 +1,13 @@
{
"fields": [
"boundary"
],
"geometry": [
"line"
],
"tags": {
"boundary": "*"
},
"searchable": false,
"name": "Boundary"
}
+1 -1
View File
@@ -7,6 +7,7 @@
{"key": "aeroway", "description": "🄿 Aeroway (unsearchable), 🄵 Type", "object_types": ["node", "way", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/airport-15.svg?sanitize=true"},
{"key": "amenity", "description": "🄿 Amenity (unsearchable), 🄵 Type", "object_types": ["node", "area"]},
{"key": "attraction", "description": "🄿 Attraction (unsearchable), 🄵 Type", "object_types": ["node", "way", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/star-15.svg?sanitize=true"},
{"key": "boundary", "description": "🄿 Boundary (unsearchable), 🄵 Type", "object_types": ["way"]},
{"key": "junction", "value": "circular", "description": "🄿 Traffic Circle (unsearchable), 🄵 Junction", "object_types": ["node", "way"]},
{"key": "embankment", "value": "yes", "description": "🄿 Embankment (unsearchable)", "object_types": ["way"]},
{"key": "highway", "description": "🄿 Highway (unsearchable), 🄵 Type", "object_types": ["node", "way", "area"]},
@@ -1122,7 +1123,6 @@
{"key": "board_type", "description": "🄵 Type"},
{"key": "booth", "description": "🄵 Booth"},
{"key": "boules", "description": "🄵 Type"},
{"key": "boundary", "description": "🄵 Type"},
{"key": "brand", "description": "🄵 Brand"},
{"key": "brewery", "description": "🄵 Draft Beers"},
{"key": "bridge", "description": "🄵 Type, 🄵 Structure"},
+4
View File
@@ -3865,6 +3865,10 @@
"name": "Attraction",
"terms": ""
},
"boundary": {
"name": "Boundary",
"terms": ""
},
"circular": {
"name": "Traffic Circle",
"terms": ""