Added cycle_barrier type, red turn

This commit is contained in:
Robin van der Linde 2021-07-19 16:07:30 +02:00
parent 3c29798b96
commit da7faf0a8f
11 changed files with 118 additions and 12 deletions

View file

@ -218,6 +218,29 @@
}
}
]
},
{
"question": {
"en": "Can a cyclist turn right when the light is red?",
"nl": "Mag een fietser rechtsaf slaan als het licht rood is?"
},
"condition": "highway=traffic_signals",
"mappings": [
{
"if": "red_turn:right:bicycle=yes",
"then": {
"en": "A cyclist can turn right if the light is red",
"nl": "Een fietser mag niet rechtsaf slaan als het licht rood is"
}
},
{
"if": "red_turn:right:bicycle=no",
"then": {
"en": "A cyclist can not turn right if the light is red",
"nl": "Een fietser mag rechtsaf slaan als het licht rood is"
}
}
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -813,22 +813,28 @@
{
"if": "cycle_barrier:type=single",
"then": {
"en": "Single, just two barriers with a space inbetween",
"nl": "Enkelvoudig, slechts twee hekjes met ruimte ertussen"
"en": "Single, just two barriers with a space inbetween <img src='./assets/themes/cycle_infra/Cycle_barrier_single.png' style='width:8em'>",
"nl": "Enkelvoudig, slechts twee hekjes met ruimte ertussen <img src='./assets/themes/cycle_infra/Cycle_barrier_single.png' style='width:8em'>"
}
},
{
"if": "cycle_barrier:type=double",
"then": {
"en": "Double, two barriers behind each other",
"nl": "Dubbel, twee hekjes achter elkaar"
"en": "Double, two barriers behind each other <img src='./assets/themes/cycle_infra/Cycle_barrier_double.png' style='width:8em'>",
"nl": "Dubbel, twee hekjes achter elkaar <img src='./assets/themes/cycle_infra/Cycle_barrier_double.png' style='width:8em'>"
}
},
{
"if": "cycle_barrier:type=triple",
"then": {
"en": "Triple, three barier behind each other",
"nl": "Drievoudig, drie hekjes achter elkaar"
"en": "Triple, three barier behind each other <img src='./assets/themes/cycle_infra/Cycle_barrier_triple.png' style='width:8em'>",
"nl": "Drievoudig, drie hekjes achter elkaar <img src='./assets/themes/cycle_infra/Cycle_barrier_triple.png' style='width:8em'>"
}
},
{
"if": "cycle_barrier:type=squeeze",
"then": {
"en": "Squeeze gate, gap is smaller at top, then at bottom <img src='./assets/themes/cycle_infra/Cycle_barrier_squeeze.png' style='width:8em'>"
}
}
]

View file

@ -0,0 +1,52 @@
[
{
"authors": [
"Supaplex030"
],
"path": "Cycle_barrier_single.png",
"license": "CC-BY-SA 4.0",
"sources": [
"https://wiki.openstreetmap.org/wiki/File:Cycle_barrier_single.png"
]
},
{
"authors": [
"Supaplex030"
],
"path": "Cycle_barrier_double.png",
"license": "CC-BY-SA 4.0",
"sources": [
"https://wiki.openstreetmap.org/wiki/File:Cycle_barrier_double.png"
]
},
{
"authors": [
"Supaplex030"
],
"path": "Cycle_barrier_triple.png",
"license": "CC-BY-SA 4.0",
"sources": [
"https://wiki.openstreetmap.org/wiki/File:Cycle_barrier_triple.png"
]
},
{
"authors": [
"Supaplex030"
],
"path": "Cycle_barrier_angular.png",
"license": "CC-BY-SA 4.0",
"sources": [
"https://wiki.openstreetmap.org/wiki/File:Cycle_barrier_angular.png"
]
},
{
"authors": [
"Supaplex030"
],
"path": "Cycle_barrier_squeeze.png",
"license": "CC-BY-SA 4.0",
"sources": [
"https://wiki.openstreetmap.org/wiki/File:Cycle_barrier_squeeze.png"
]
}
]

View file

@ -775,6 +775,17 @@
"then": "This traffic light does not have a button to request green light"
}
}
},
"5": {
"question": "Can a cyclist turn right when the light is red?",
"mappings": {
"0": {
"then": "A cyclist can turn right if the light is red"
},
"1": {
"then": "A cyclist can not turn right if the light is red"
}
}
}
}
},

View file

@ -857,6 +857,17 @@
"then": "Dit verkeerlicht heeft niet een knop voor groen licht"
}
}
},
"5": {
"question": "Mag een fietser rechtsaf slaan als het licht rood is?",
"mappings": {
"0": {
"then": "Een fietser mag niet rechtsaf slaan als het licht rood is"
},
"1": {
"then": "Een fietser mag rechtsaf slaan als het licht rood is"
}
}
}
}
},

View file

@ -981,13 +981,16 @@
"question": "What kind of cycling barrier is this?",
"mappings": {
"0": {
"then": "Single, just two barriers with a space inbetween"
"then": "Single, just two barriers with a space inbetween <img src='./assets/themes/cycle_infra/Cycle_barrier_single.png' style='width:8em'>"
},
"1": {
"then": "Double, two barriers behind each other"
"then": "Double, two barriers behind each other <img src='./assets/themes/cycle_infra/Cycle_barrier_double.png' style='width:8em'>"
},
"2": {
"then": "Triple, three barier behind each other"
"then": "Triple, three barier behind each other <img src='./assets/themes/cycle_infra/Cycle_barrier_triple.png' style='width:8em'>"
},
"3": {
"then": "Squeeze gate, gap is smaller at top, then at bottom <img src='./assets/themes/cycle_infra/Cycle_barrier_squeeze.png' style='width:8em'>"
}
}
},

View file

@ -785,13 +785,13 @@
"question": "Wat voor fietshekjes zijn dit?",
"mappings": {
"0": {
"then": "Enkelvoudig, slechts twee hekjes met ruimte ertussen"
"then": "Enkelvoudig, slechts twee hekjes met ruimte ertussen <img src='./assets/themes/cycle_infra/Cycle_barrier_single.png' style='width:8em'>"
},
"1": {
"then": "Dubbel, twee hekjes achter elkaar"
"then": "Dubbel, twee hekjes achter elkaar <img src='./assets/themes/cycle_infra/Cycle_barrier_double.png' style='width:8em'>"
},
"2": {
"then": "Drievoudig, drie hekjes achter elkaar"
"then": "Drievoudig, drie hekjes achter elkaar <img src='./assets/themes/cycle_infra/Cycle_barrier_triple.png' style='width:8em'>"
}
}
},