Fix #595: cycle_barrier preset correction, add option to switch

This commit is contained in:
Pieter Vander Vennet 2022-01-01 02:03:00 +01:00
parent 444f0bc47c
commit a35b1d34f4

View file

@ -80,7 +80,7 @@
"de": "Fahrradhindernis" "de": "Fahrradhindernis"
}, },
"tags": [ "tags": [
"barrier=bollard" "barrier=cycle_barrier"
], ],
"description": { "description": {
"en": "Cycle barrier, slowing down cyclists", "en": "Cycle barrier, slowing down cyclists",
@ -125,6 +125,23 @@
], ],
"id": "bicycle=yes/no" "id": "bicycle=yes/no"
}, },
{
"id": "barrier_type",
"mappings": [
{
"if": "barrier=bollard",
"then": {
"en": "This is a single bollard in the road"
}
},{
"if": "barrier=cycle_barrier",
"then": {
"en": "This is a cycle barrier slowing down cyclists",
"nl": "Dit zijn fietshekjes die fietsers afremmen"
}
}
]
},
{ {
"question": { "question": {
"en": "What kind of bollard is this?", "en": "What kind of bollard is this?",