From 209959392a6028fdd3478971f462729687707e52 Mon Sep 17 00:00:00 2001 From: Robin van der Linde Date: Mon, 19 Jul 2021 16:43:01 +0200 Subject: [PATCH] Cycle barrier measurements --- assets/themes/cycle_infra/cycle_infra.json | 54 ++++++++++++++++++++++ langs/themes/en.json | 12 +++++ 2 files changed, 66 insertions(+) diff --git a/assets/themes/cycle_infra/cycle_infra.json b/assets/themes/cycle_infra/cycle_infra.json index 9f257b28e7..47982f44d3 100644 --- a/assets/themes/cycle_infra/cycle_infra.json +++ b/assets/themes/cycle_infra/cycle_infra.json @@ -858,6 +858,60 @@ "key": "maxwidth:physical", "type": "pfloat" } + }, + { + "render": { + "en": "Space between barriers (along the length of the road): {width:seperation} m" + }, + "question": { + "en": "How much space is there between the barriers (along the length of the road)?" + }, + "condition": { + "or": [ + "cycle_barrier:type=double", + "cycle_barrier:type=triple" + ] + }, + "freeform": { + "key": "width:seperation", + "type": "pfloat" + } + }, + { + "render": { + "en": "Width of opening: {width:opening} m" + }, + "question": { + "en": "How wide is the smallest opening next to the barriers?" + }, + "condition": { + "or": [ + "cycle_barrier:type=double", + "cycle_barrier:type=triple" + ] + }, + "freeform": { + "key": "width:opening", + "type": "pfloat" + } + }, + { + "render": { + "en": "Overlap: {overlap} m" + }, + "question": { + "en": "How much overlap do the barriers have?" + }, + "condition": { + "or": [ + "cycle_barrier:type=double", + "cycle_barrier:type=triple" + ] + }, + "freeform": { + "key": "overlap", + "type": "pfloat" + } } ] }, diff --git a/langs/themes/en.json b/langs/themes/en.json index f493d8db25..c397becd78 100644 --- a/langs/themes/en.json +++ b/langs/themes/en.json @@ -997,6 +997,18 @@ "3": { "render": "Maximum width: {maxwidth:physical} m", "question": "How wide is the gap left over besides the barrier?" + }, + "4": { + "render": "Space between barriers (along the length of the road): {width:seperation} m", + "question": "How much space is there between the barriers (along the length of the road)?" + }, + "5": { + "render": "Width of opening: {width:opening} m", + "question": "How wide is the smallest opening next to the barriers?" + }, + "6": { + "render": "Overlap: {overlap} m", + "question": "How much overlap do the barriers have?" } } }