From db6b711182f05021a284c9aa1441f8d9ea0a8d0f Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Mon, 16 Sep 2019 11:47:13 -0400 Subject: [PATCH] Update field type and commit derived data for #6857 --- data/presets.yaml | 3 +++ data/presets/fields.json | 1 + data/presets/fields/stile.json | 2 +- data/presets/presets.json | 2 +- data/taginfo.json | 1 + dist/locales/en.json | 4 ++++ 6 files changed, 11 insertions(+), 2 deletions(-) diff --git a/data/presets.yaml b/data/presets.yaml index 4aaa904d0..6a50abdaf 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -2118,6 +2118,9 @@ en: # step_count=* label: Number of Steps terms: '[translate with synonyms or related terms for ''Number of Steps'', separated by commas]' + stile: + # stile=* + label: Type stop: # stop=* label: Stop Type diff --git a/data/presets/fields.json b/data/presets/fields.json index 80a66e5e5..5e1472a88 100644 --- a/data/presets/fields.json +++ b/data/presets/fields.json @@ -359,6 +359,7 @@ "stars": {"key": "stars", "type": "combo", "label": "Stars", "terms": ["rating"]}, "start_date": {"key": "start_date", "type": "text", "universal": true, "label": "Start Date", "terms": ["inception"]}, "step_count": {"key": "step_count", "type": "number", "minValue": 0, "label": "Number of Steps"}, + "stile": {"key": "stile", "type": "combo", "label": "Type"}, "stop": {"key": "stop", "type": "combo", "label": "Stop Type", "strings": {"options": {"all": "All Ways", "minor": "Minor Road"}}}, "street_cabinet": {"key": "street_cabinet", "type": "combo", "label": "Type"}, "stroller": {"key": "stroller", "type": "radio", "options": ["yes", "limited", "no"], "label": "Stroller Access", "terms": ["baby carriage", "perambulator", "pram", "pushchair"]}, diff --git a/data/presets/fields/stile.json b/data/presets/fields/stile.json index b9404f35f..ffb0fbb71 100644 --- a/data/presets/fields/stile.json +++ b/data/presets/fields/stile.json @@ -1,5 +1,5 @@ { "key": "stile", - "type": "typeCombo", + "type": "combo", "label": "Type" } diff --git a/data/presets/presets.json b/data/presets/presets.json index 859d6d7b9..dba2b6ffd 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -301,7 +301,7 @@ "barrier/lift_gate": {"icon": "maki-roadblock", "fields": ["access"], "geometry": ["vertex", "line"], "tags": {"barrier": "lift_gate"}, "name": "Lift Gate"}, "barrier/retaining_wall": {"icon": "temaki-wall", "fields": ["height", "material"], "geometry": ["line", "area"], "tags": {"barrier": "retaining_wall"}, "name": "Retaining Wall"}, "barrier/sally_port": {"icon": "fas-dungeon", "geometry": ["vertex"], "tags": {"barrier": "sally_port"}, "terms": ["Postern", "castle side gate"], "name": "Sally Port"}, - "barrier/stile": {"icon": "maki-roadblock", "fields": ["access"], "geometry": ["vertex"], "tags": {"barrier": "stile"}, "name": "Stile"}, + "barrier/stile": {"icon": "maki-roadblock", "fields": ["access", "stile", "material"], "geometry": ["vertex"], "tags": {"barrier": "stile"}, "name": "Stile"}, "barrier/toll_booth": {"icon": "maki-roadblock", "fields": ["access", "building_area", "payment_multi", "currency_multi"], "moreFields": ["address", "email", "fax", "opening_hours", "phone", "website"], "geometry": ["vertex", "area"], "tags": {"barrier": "toll_booth"}, "name": "Toll Booth"}, "barrier/turnstile": {"icon": "maki-roadblock", "fields": ["access"], "geometry": ["vertex"], "terms": ["baffle gate", "turnstyle"], "tags": {"barrier": "turnstile"}, "name": "Turnstile"}, "barrier/wall": {"icon": "temaki-wall", "fields": ["wall", "height", "material"], "geometry": ["line", "area"], "tags": {"barrier": "wall"}, "name": "Wall", "matchScore": 0.25}, diff --git a/data/taginfo.json b/data/taginfo.json index 2cb1f32a5..8403c4208 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -1728,6 +1728,7 @@ {"key": "stars", "description": "🄵 Stars"}, {"key": "start_date", "description": "🄵 Start Date"}, {"key": "step_count", "description": "🄵 Number of Steps"}, + {"key": "stile", "description": "🄵 Type"}, {"key": "stop", "value": "all", "description": "🄵 Stop Type"}, {"key": "stop", "value": "minor", "description": "🄵 Stop Type"}, {"key": "street_cabinet", "description": "🄵 Type"}, diff --git a/dist/locales/en.json b/dist/locales/en.json index 7b2689b9d..a0cc0fa96 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -4439,6 +4439,10 @@ "label": "Number of Steps", "terms": "" }, + "stile": { + "label": "Type", + "terms": "" + }, "stop": { "label": "Stop Type", "terms": "",