Seperation and traffic sign

This commit is contained in:
Robin van der Linde 2021-07-22 10:31:44 +02:00
parent 0f8d3471dc
commit 63708ea568
3 changed files with 259 additions and 11 deletions

View file

@ -579,8 +579,8 @@
{
"if": "cycleway:traffic_sign=BE:D9",
"then": {
"en": "Compulsory cycleway <img src='./assets/themes/cycle_infra/Belgian_road_sign_D09.svg' style='height: 3em'>",
"nl": "Verplicht fietspad <img src='./assets/themes/cycle_infra/Belgian_road_sign_D09.svg' style='height: 3em'>"
"en": "Segregated foot/cycleway <img src='./assets/themes/cycle_infra/Belgian_road_sign_D09.svg' style='height: 3em'>",
"nl": "Afgescheiden voet-/fietspad <img src='./assets/themes/cycle_infra/Belgian_road_sign_D09.svg' style='height: 3em'>"
},
"hideInAnswer": "_country!=be",
"addExtraTags": [
@ -590,13 +590,71 @@
{
"if": "cycleway:traffic_sign=BE:D10",
"then": {
"en": "Compulsory cycleway <img src='./assets/themes/cycle_infra/Belgian_road_sign_D10.svg' style='height: 3em'>",
"nl": "Verplicht fietspad <img src='./assets/themes/cycle_infra/Belgian_road_sign_D10.svg' style='height: 3em'>"
"en": "Unsegregated foot/cycleway <img src='./assets/themes/cycle_infra/Belgian_road_sign_D10.svg' style='height: 3em'>",
"nl": "Gedeeld voet-/fietspad <img src='./assets/themes/cycle_infra/Belgian_road_sign_D10.svg' style='height: 3em'>"
},
"hideInAnswer": "_country!=be",
"addExtraTags": [
"segregated=no"
]
},
{
"if": "cycleway:traffic_sign=none",
"then": {
"en": "No traffic sign present",
"nl": "Geen verkeersbord aanwezig"
}
}
]
},
{
"question": {
"en": "What traffic sign does this cycleway have?",
"nl": "Welk verkeersbord heeft dit fietspad?"
},
"condition": {
"or": [
"highway=cycleway",
"highway=path"
]
},
"mappings": [
{
"if": "traffic_sign=BE:D7",
"then": {
"en": "Compulsory cycleway <img src='./assets/themes/cycle_infra/Belgian_road_sign_D07.svg' style='height: 3em'>",
"nl": "Verplicht fietspad <img src='./assets/themes/cycle_infra/Belgian_road_sign_D07.svg' style='height: 3em'>"
},
"hideInAnswer": "_country!=be"
},
{
"if": "traffic_sign=BE:D9",
"then": {
"en": "Segregated foot/cycleway <img src='./assets/themes/cycle_infra/Belgian_road_sign_D09.svg' style='height: 3em'>",
"nl": "Afgescheiden voet-/fietspad <img src='./assets/themes/cycle_infra/Belgian_road_sign_D09.svg' style='height: 3em'>"
},
"hideInAnswer": "_country!=be",
"addExtraTags": [
"segregated=yes"
]
},
{
"if": "traffic_sign=BE:D10",
"then": {
"en": "Unsegregated foot/cycleway <img src='./assets/themes/cycle_infra/Belgian_road_sign_D10.svg' style='height: 3em'>",
"nl": "Gedeeld voet-/fietspad <img src='./assets/themes/cycle_infra/Belgian_road_sign_D10.svg' style='height: 3em'>"
},
"hideInAnswer": "_country!=be",
"addExtraTags": [
"segregated=no"
]
},
{
"if": "cycleway:traffic_sign=none",
"then": {
"en": "No traffic sign present",
"nl": "Geen verkeersbord aanwezig"
}
}
]
},
@ -612,15 +670,97 @@
"condition": {
"or": [
"cycleway=track",
"cycleway=lane",
"highway=cycleway",
"highway=path"
"cycleway=lane"
]
},
"freeform": {
"key": "cycleway:buffer",
"type": "pfloat"
}
},
{
"question": {
"en": "How is this cycleway seperated from the road?",
"nl": "Hoe is dit fietspad gescheiden van de weg?"
},
"condition": {
"or": [
"cycleway=track",
"cycleway=lane"
]
},
"mappings": [
{
"if": "cycleway:seperation=dashed_line",
"then": {
"en": "This cycleway is seperated by a dashed line",
"nl": "Dit fietspad is gescheiden van de weg met een onderbroken streep"
}
},
{
"if": "cycleway:seperation=solid_line",
"then": {
"en": "This cycleway is seperated by a solid line",
"nl": "Dit fietspad is gescheiden van de weg met een doorgetrokken streep"
}
},
{
"if": "cycleway:seperation=parking_lane",
"then": {
"en": "This cycleway is seperated by a parking lane",
"nl": "Dit fietspad is gescheiden van de weg met parkeervakken"
}
},
{
"if": "cycleway:seperation=kerb",
"then": {
"en": "This cycleway is seperated by a kerb",
"nl": "Dit fietspad is gescheiden van de weg met een stoeprand"
}
}
]
},
{
"question": {
"en": "How is this cycleway seperated from the road?",
"nl": "Hoe is dit fietspad gescheiden van de weg?"
},
"condition": {
"or": [
"highway=cycleway",
"highway=path"
]
},
"mappings": [
{
"if": "seperation=dashed_line",
"then": {
"en": "This cycleway is seperated by a dashed line",
"nl": "Dit fietspad is gescheiden van de weg met een onderbroken streep"
}
},
{
"if": "seperation=solid_line",
"then": {
"en": "This cycleway is seperated by a solid line",
"nl": "Dit fietspad is gescheiden van de weg met een doorgetrokken streep"
}
},
{
"if": "seperation=parking_lane",
"then": {
"en": "This cycleway is seperated by a parking lane",
"nl": "Dit fietspad is gescheiden van de weg met parkeervakken"
}
},
{
"if": "seperation=kerb",
"then": {
"en": "This cycleway is seperated by a kerb",
"nl": "Dit fietspad is gescheiden van de weg met een stoeprand"
}
}
]
}
],
"hideUnderlayingFeaturesMinPercentage": 0,

View file

@ -906,16 +906,70 @@
"then": "Compulsory cycleway <img src='./assets/themes/cycle_infra/Belgian_road_sign_D07.svg' style='height: 3em'>"
},
"1": {
"then": "Compulsory cycleway <img src='./assets/themes/cycle_infra/Belgian_road_sign_D09.svg' style='height: 3em'>"
"then": "Segregated foot/cycleway <img src='./assets/themes/cycle_infra/Belgian_road_sign_D09.svg' style='height: 3em'>"
},
"2": {
"then": "Compulsory cycleway <img src='./assets/themes/cycle_infra/Belgian_road_sign_D10.svg' style='height: 3em'>"
"then": "Unsegregated foot/cycleway <img src='./assets/themes/cycle_infra/Belgian_road_sign_D10.svg' style='height: 3em'>"
},
"3": {
"then": "No traffic sign present"
}
}
},
"10": {
"question": "What traffic sign does this cycleway have?",
"mappings": {
"0": {
"then": "Compulsory cycleway <img src='./assets/themes/cycle_infra/Belgian_road_sign_D07.svg' style='height: 3em'>"
},
"1": {
"then": "Segregated foot/cycleway <img src='./assets/themes/cycle_infra/Belgian_road_sign_D09.svg' style='height: 3em'>"
},
"2": {
"then": "Unsegregated foot/cycleway <img src='./assets/themes/cycle_infra/Belgian_road_sign_D10.svg' style='height: 3em'>"
},
"3": {
"then": "No traffic sign present"
}
}
},
"11": {
"render": "The buffer besides this cycleway is {cycleway:buffer} m",
"question": "How wide is the gap between the cycleway and the road?"
},
"12": {
"question": "How is this cycleway seperated from the road?",
"mappings": {
"0": {
"then": "This cycleway is seperated by a dashed line"
},
"1": {
"then": "This cycleway is seperated by a solid line"
},
"2": {
"then": "This cycleway is seperated by a parking lane"
},
"3": {
"then": "This cycleway is seperated by a kerb"
}
}
},
"13": {
"question": "How is this cycleway seperated from the road?",
"mappings": {
"0": {
"then": "This cycleway is seperated by a dashed line"
},
"1": {
"then": "This cycleway is seperated by a solid line"
},
"2": {
"then": "This cycleway is seperated by a parking lane"
},
"3": {
"then": "This cycleway is seperated by a kerb"
}
}
}
}
},

View file

@ -710,16 +710,70 @@
"then": "Verplicht fietspad <img src='./assets/themes/cycle_infra/Belgian_road_sign_D07.svg' style='height: 3em'>"
},
"1": {
"then": "Verplicht fietspad <img src='./assets/themes/cycle_infra/Belgian_road_sign_D09.svg' style='height: 3em'>"
"then": "Afgescheiden voet-/fietspad <img src='./assets/themes/cycle_infra/Belgian_road_sign_D09.svg' style='height: 3em'>"
},
"2": {
"then": "Verplicht fietspad <img src='./assets/themes/cycle_infra/Belgian_road_sign_D10.svg' style='height: 3em'>"
"then": "Gedeeld voet-/fietspad <img src='./assets/themes/cycle_infra/Belgian_road_sign_D10.svg' style='height: 3em'>"
},
"3": {
"then": "Geen verkeersbord aanwezig"
}
}
},
"10": {
"question": "Welk verkeersbord heeft dit fietspad?",
"mappings": {
"0": {
"then": "Verplicht fietspad <img src='./assets/themes/cycle_infra/Belgian_road_sign_D07.svg' style='height: 3em'>"
},
"1": {
"then": "Afgescheiden voet-/fietspad <img src='./assets/themes/cycle_infra/Belgian_road_sign_D09.svg' style='height: 3em'>"
},
"2": {
"then": "Gedeeld voet-/fietspad <img src='./assets/themes/cycle_infra/Belgian_road_sign_D10.svg' style='height: 3em'>"
},
"3": {
"then": "Geen verkeersbord aanwezig"
}
}
},
"11": {
"render": "De schrikafstand van dit fietspad is {cycleway:buffer} m",
"question": "Hoe breed is de ruimte tussen het fietspad en de weg?"
},
"12": {
"question": "Hoe is dit fietspad gescheiden van de weg?",
"mappings": {
"0": {
"then": "Dit fietspad is gescheiden van de weg met een onderbroken streep"
},
"1": {
"then": "Dit fietspad is gescheiden van de weg met een doorgetrokken streep"
},
"2": {
"then": "Dit fietspad is gescheiden van de weg met parkeervakken"
},
"3": {
"then": "Dit fietspad is gescheiden van de weg met een stoeprand"
}
}
},
"13": {
"question": "Hoe is dit fietspad gescheiden van de weg?",
"mappings": {
"0": {
"then": "Dit fietspad is gescheiden van de weg met een onderbroken streep"
},
"1": {
"then": "Dit fietspad is gescheiden van de weg met een doorgetrokken streep"
},
"2": {
"then": "Dit fietspad is gescheiden van de weg met parkeervakken"
},
"3": {
"then": "Dit fietspad is gescheiden van de weg met een stoeprand"
}
}
}
}
},