Add unsearchable preset for fords as lines (close #6576)

This commit is contained in:
Quincy Morgan
2019-06-25 11:11:55 -04:00
parent 1f2fac772d
commit 8f69939a81
5 changed files with 19 additions and 1 deletions

View File

@@ -4152,6 +4152,9 @@ en:
# ford=yes
name: Ford
terms: '<translate with synonyms or related terms for ''Ford'', separated by commas>'
ford_line:
# ford=*
name: Ford
golf/bunker:
# 'golf=bunker, natural=sand'
name: Sand Trap

View File

@@ -8,6 +8,7 @@
"building_point": {"icon": "maki-home", "fields": ["{building}"], "moreFields": ["{building}"], "geometry": ["point"], "tags": {"building": "*"}, "matchScore": 0.6, "searchable": false, "terms": [], "name": "Building"},
"embankment": {"geometry": ["line"], "tags": {"embankment": "yes"}, "name": "Embankment", "matchScore": 0.2, "searchable": false},
"emergency": {"fields": ["emergency_combo"], "geometry": ["point", "vertex", "area"], "tags": {"emergency": "*"}, "searchable": false, "name": "Emergency Feature"},
"ford_line": {"geometry": ["line"], "tags": {"ford": "*"}, "name": "Ford", "searchable": false},
"highway": {"fields": ["name", "highway"], "geometry": ["point", "vertex", "line", "area"], "tags": {"highway": "*"}, "searchable": false, "name": "Highway"},
"indoor": {"fields": ["level", "indoor_type"], "geometry": ["point", "vertex", "line", "area"], "tags": {"indoor": "*"}, "matchScore": 0.8, "searchable": false, "name": "Indoor Feature"},
"landuse": {"fields": ["name", "landuse"], "geometry": ["area"], "tags": {"landuse": "*"}, "matchScore": 0.9, "searchable": false, "name": "Land Use"},

View File

@@ -0,0 +1,10 @@
{
"geometry": [
"line"
],
"tags": {
"ford": "*"
},
"name": "Ford",
"searchable": false
}

View File

@@ -11,6 +11,7 @@
{"key": "building", "description": "🄿 Building (unsearchable), 🄿 Building, 🄵 Building", "object_types": ["node"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/home-15.svg?sanitize=true"},
{"key": "embankment", "value": "yes", "description": "🄿 Embankment (unsearchable)", "object_types": ["way"]},
{"key": "emergency", "description": "🄿 Emergency Feature (unsearchable), 🄵 Type, 🄵 Emergency", "object_types": ["node", "area"]},
{"key": "ford", "description": "🄿 Ford (unsearchable), 🄵 Type, 🄵 Structure", "object_types": ["way"]},
{"key": "highway", "description": "🄿 Highway (unsearchable), 🄵 Type", "object_types": ["node", "way", "area"]},
{"key": "indoor", "description": "🄿 Indoor Feature (unsearchable), 🄵 Type, 🄵 Indoor", "object_types": ["node", "way", "area"]},
{"key": "landuse", "description": "🄿 Land Use (unsearchable), 🄵 Type", "object_types": ["area"]},
@@ -1387,7 +1388,6 @@
{"key": "flag:type", "description": "🄵 Flag Type"},
{"key": "floating", "description": "🄵 Floating"},
{"key": "flood_prone", "description": "🄵 Flood Prone"},
{"key": "ford", "description": "🄵 Type, 🄵 Structure"},
{"key": "frequency", "description": "🄵 Operating Frequency"},
{"key": "from", "description": "🄵 From"},
{"key": "fuel:", "description": "🄵 Fuel Types"},

View File

@@ -4369,6 +4369,10 @@
"name": "Emergency Feature",
"terms": ""
},
"ford_line": {
"name": "Ford",
"terms": ""
},
"highway": {
"name": "Highway",
"terms": ""