Add type field to highway=construction preset (close #7519)

Rename Road Closed preset to Closed Road and add search terms
This commit is contained in:
Quincy Morgan
2020-04-28 11:26:51 -07:00
parent 61fdc7da6e
commit 5960d1cea2
5 changed files with 13 additions and 10 deletions

View File

@@ -5032,9 +5032,9 @@ en:
name: Bus Stop
highway/construction:
# 'highway=construction, access=no'
name: Road Closed
# 'terms: closed,closure,construction'
terms: '<translate with synonyms or related terms for ''Road Closed'', separated by commas>'
name: Closed Road
# 'terms: closure,construction,road closed,road work,roadwork'
terms: '<translate with synonyms or related terms for ''Closed Road'', separated by commas>'
highway/corridor:
# highway=corridor
name: Indoor Corridor

View File

@@ -496,7 +496,7 @@
"highway/crossing": {"fields": ["crossing"], "geometry": ["vertex"], "tags": {"highway": "crossing"}, "searchable": false, "matchScore": 0.95, "name": "Crossing"},
"highway/bridleway": {"fields": ["name", "surface", "width", "structure", "access", "incline", "horse_scale"], "moreFields": ["covered", "dog", "lit", "maxweight_bridge", "smoothness", "stroller", "wheelchair"], "icon": "maki-horse-riding", "geometry": ["line"], "tags": {"highway": "bridleway"}, "terms": ["bridleway", "equestrian", "horse", "trail"], "name": "Bridle Path"},
"highway/bus_guideway": {"icon": "temaki-bus_guided", "fields": ["name", "operator", "oneway", "structure", "covered"], "moreFields": ["trolley_wire", "width"], "geometry": ["line"], "tags": {"highway": "bus_guideway"}, "addTags": {"highway": "bus_guideway", "access": "no", "bus": "designated"}, "terms": [], "name": "Bus Guideway"},
"highway/construction": {"icon": "maki-barrier", "fields": ["name", "opening_date", "check_date", "note", "oneway", "structure", "access"], "geometry": ["line"], "tags": {"highway": "construction", "access": "no"}, "terms": ["closed", "closure", "construction"], "name": "Road Closed"},
"highway/construction": {"icon": "maki-barrier", "fields": ["name", "construction", "opening_date", "check_date", "note", "oneway", "structure", "access"], "geometry": ["line"], "tags": {"highway": "construction", "access": "no"}, "terms": ["closure", "construction", "road closed", "road work", "roadwork"], "name": "Closed Road"},
"highway/corridor": {"icon": "temaki-pedestrian_walled", "fields": ["name", "width", "level", "access_simple", "wheelchair"], "moreFields": ["covered", "indoor", "maxheight", "stroller"], "geometry": ["line"], "tags": {"highway": "corridor"}, "addTags": {"highway": "corridor", "indoor": "yes"}, "terms": ["gallery", "hall", "hallway", "indoor", "passage", "passageway"], "name": "Indoor Corridor"},
"highway/crossing/zebra-raised": {"icon": "temaki-pedestrian_crosswalk", "fields": ["crossing", "tactile_paving", "crossing/island"], "geometry": ["vertex"], "tags": {"highway": "crossing", "crossing": "zebra", "traffic_calming": "table"}, "reference": {"key": "traffic_calming", "value": "table"}, "name": "Marked Crosswalk (Raised)", "searchable": false},
"highway/crossing/zebra": {"icon": "temaki-pedestrian_crosswalk", "fields": ["crossing", "tactile_paving", "crossing/island"], "geometry": ["vertex"], "tags": {"highway": "crossing", "crossing": "zebra"}, "reference": {"key": "highway", "value": "crossing"}, "name": "Marked Crosswalk", "searchable": false},

View File

@@ -2,6 +2,7 @@
"icon": "maki-barrier",
"fields": [
"name",
"construction",
"opening_date",
"check_date",
"note",
@@ -17,9 +18,11 @@
"access": "no"
},
"terms": [
"closed",
"closure",
"construction"
"construction",
"road closed",
"road work",
"roadwork"
],
"name": "Road Closed"
"name": "Closed Road"
}

View File

@@ -492,7 +492,7 @@
{"key": "highway", "value": "crossing", "description": "🄿 Crossing (unsearchable)", "object_types": ["node"]},
{"key": "highway", "value": "bridleway", "description": "🄿 Bridle Path", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/horse-riding-15.svg"},
{"key": "highway", "value": "bus_guideway", "description": "🄿 Bus Guideway", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/bus_guided.svg"},
{"key": "access", "value": "no", "description": "🄿 Road Closed, 🄵 Allowed Access", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/barrier-15.svg"},
{"key": "access", "value": "no", "description": "🄿 Closed Road, 🄵 Allowed Access", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/barrier-15.svg"},
{"key": "highway", "value": "corridor", "description": "🄿 Indoor Corridor", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/pedestrian_walled.svg"},
{"key": "traffic_calming", "value": "table", "description": "🄿 Marked Crosswalk (Raised) (unsearchable), 🄿 Marked Crosswalk (Raised), 🄿 Unmarked Crossing (Raised), 🄿 Speed Table", "object_types": ["node"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/pedestrian_crosswalk.svg"},
{"key": "crossing", "value": "zebra", "description": "🄿 Marked Crosswalk (unsearchable)", "object_types": ["node"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/pedestrian_crosswalk.svg"},

View File

@@ -6922,8 +6922,8 @@
"terms": ""
},
"highway/construction": {
"name": "Road Closed",
"terms": "closed,closure,construction"
"name": "Closed Road",
"terms": "closure,construction,road closed,road work,roadwork"
},
"highway/corridor": {
"name": "Indoor Corridor",