Reorganize cycle_infra, fix bug with length-input, add some images

This commit is contained in:
Pieter Vander Vennet 2021-08-06 20:22:23 +02:00
parent 7f4235ef88
commit bf2d634208
16 changed files with 3152 additions and 2212 deletions

View file

@ -919,6 +919,388 @@
}
}
},
"cycleways_and_roads": {
"name": "Cycleways and roads",
"title": {
"render": "Cycleways",
"mappings": {
"0": {
"then": "Cycleway"
},
"1": {
"then": "Shared lane"
},
"2": {
"then": "Bike lane"
},
"3": {
"then": "Cycleway next to the road"
},
"4": {
"then": "Cyclestreet"
}
}
},
"tagRenderings": {
"0": {
"question": "What kind of cycleway is here?",
"mappings": {
"0": {
"then": "There is a shared lane"
},
"1": {
"then": "There is a lane next to the road (seperated with paint)"
},
"2": {
"then": "There is a track, but no cycleway drawn seperately from this road on the map."
},
"3": {
"then": "There is a seperately drawn cycleway"
},
"4": {
"then": "There is no cycleway"
},
"5": {
"then": "There is no cycleway"
}
}
},
"1": {
"question": "Is this street lit?",
"mappings": {
"0": {
"then": "This street is lit"
},
"1": {
"then": "This road is not lit"
},
"2": {
"then": "This road is lit at night"
},
"3": {
"then": "This road is lit 24/7"
}
}
},
"2": {
"question": "Is this a cyclestreet?",
"mappings": {
"0": {
"then": "This is a cyclestreet, and a 30km/h zone."
},
"1": {
"then": "This is a cyclestreet"
},
"2": {
"then": "This is not a cyclestreet."
}
}
},
"3": {
"render": "The maximum speed on this road is {maxspeed} km/h",
"mappings": {
"0": {
"then": "The maximum speed is 20 km/h"
},
"1": {
"then": "The maximum speed is 30 km/h"
},
"2": {
"then": "The maximum speed is 50 km/h"
},
"3": {
"then": "The maximum speed is 70 km/h"
},
"4": {
"then": "The maximum speed is 90 km/h"
}
},
"question": "What is the maximum speed in this street?"
},
"4": {
"render": "This cyleway is made of {cycleway:surface}",
"mappings": {
"0": {
"then": "This cycleway is unpaved"
},
"1": {
"then": "This cycleway is paved"
},
"2": {
"then": "This cycleway is made of asphalt"
},
"3": {
"then": "This cycleway is made of smooth paving stones"
},
"4": {
"then": "This cycleway is made of concrete"
},
"5": {
"then": "This cycleway is made of cobblestone (unhewn or sett)"
},
"6": {
"then": "This cycleway is made of raw, natural cobblestone"
},
"7": {
"then": "This cycleway is made of flat, square cobblestone"
},
"8": {
"then": "This cycleway is made of wood"
},
"9": {
"then": "This cycleway is made of gravel"
},
"10": {
"then": "This cycleway is made of fine gravel"
},
"11": {
"then": "This cycleway is made of pebblestone"
},
"12": {
"then": "This cycleway is made from raw ground"
}
},
"question": "What is the surface of the cycleway made from?"
},
"5": {
"question": "What is the smoothness of this cycleway?",
"mappings": {
"0": {
"then": "Usable for thin rollers: rollerblade, skateboard"
},
"1": {
"then": "Usable for thin wheels: racing bike"
},
"2": {
"then": "Usable for normal wheels: city bike, wheelchair, scooter"
},
"3": {
"then": "Usable for robust wheels: trekking bike, car, rickshaw"
},
"4": {
"then": "Usable for vehicles with high clearance: light duty off-road vehicle"
},
"5": {
"then": "Usable for off-road vehicles: heavy duty off-road vehicle"
},
"6": {
"then": "Usable for specialized off-road vehicles: tractor, ATV"
},
"7": {
"then": "Impassable / No wheeled vehicle"
}
}
},
"6": {
"render": "This road is made of {surface}",
"mappings": {
"0": {
"then": "This cycleway is unhardened"
},
"1": {
"then": "This cycleway is paved"
},
"2": {
"then": "This cycleway is made of asphalt"
},
"3": {
"then": "This cycleway is made of smooth paving stones"
},
"4": {
"then": "This cycleway is made of concrete"
},
"5": {
"then": "This cycleway is made of cobblestone (unhewn or sett)"
},
"6": {
"then": "This cycleway is made of raw, natural cobblestone"
},
"7": {
"then": "This cycleway is made of flat, square cobblestone"
},
"8": {
"then": "This cycleway is made of wood"
},
"9": {
"then": "This cycleway is made of gravel"
},
"10": {
"then": "This cycleway is made of fine gravel"
},
"11": {
"then": "This cycleway is made of pebblestone"
},
"12": {
"then": "This cycleway is made from raw ground"
}
},
"question": "What is the surface of the street made from?"
},
"7": {
"question": "What is the smoothness of this street?",
"mappings": {
"0": {
"then": "Usable for thin rollers: rollerblade, skateboard"
},
"1": {
"then": "Usable for thin wheels: racing bike"
},
"2": {
"then": "Usable for normal wheels: city bike, wheelchair, scooter"
},
"3": {
"then": "Usable for robust wheels: trekking bike, car, rickshaw"
},
"4": {
"then": "Usable for vehicles with high clearance: light duty off-road vehicle"
},
"5": {
"then": "Usable for off-road vehicles: heavy duty off-road vehicle"
},
"6": {
"then": "Usable for specialized off-road vehicles: tractor, ATV"
},
"7": {
"then": "Impassable / No wheeled vehicle"
}
}
},
"8": {
"render": "The carriage width of this road is <strong>{width:carriageway}m</strong>",
"question": "What is the carriage width of this road (in meters)?"
},
"9": {
"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='width: 3em'>"
},
"1": {
"then": "Compulsory cycleway (with supplementary sign)<br><img src='./assets/themes/cycle_infra/Belgian_road_sign_D07.svg' style='width: 3em'> "
},
"2": {
"then": "Segregated foot/cycleway <img src='./assets/themes/cycle_infra/Belgian_road_sign_D09.svg' style='width: 3em'>"
},
"3": {
"then": "Unsegregated foot/cycleway <img src='./assets/themes/cycle_infra/Belgian_road_sign_D10.svg' style='width: 3em'>"
},
"4": {
"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='width: 3em'>"
},
"1": {
"then": "Compulsory cycleway (with supplementary sign)<br><img src='./assets/themes/cycle_infra/Belgian_road_sign_D07.svg' style='width: 3em'> "
},
"2": {
"then": "Segregated foot/cycleway <img src='./assets/themes/cycle_infra/Belgian_road_sign_D09.svg' style='width: 3em'>"
},
"3": {
"then": "Unsegregated foot/cycleway <img src='./assets/themes/cycle_infra/Belgian_road_sign_D10.svg' style='width: 3em'>"
},
"4": {
"then": "No traffic sign present"
}
}
},
"11": {
"question": "Does the traffic sign D7 (<img src='./assets/themes/cycle_infra/Belgian_road_sign_D07.svg' style='width: 1.5em'>) have a supplementary sign?",
"mappings": {
"0": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M6.svg' style='width: 3em'>"
},
"1": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M13.svg' style='width: 3em'>"
},
"2": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M14.svg' style='width: 3em'>"
},
"3": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M7.svg' style='width: 3em'>"
},
"4": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M15.svg' style='width: 3em'>"
},
"5": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M16.svg' style='width: 3em'>"
},
"6": {
"then": "No supplementary traffic sign present"
}
}
},
"12": {
"question": "Does the traffic sign D7 (<img src='./assets/themes/cycle_infra/Belgian_road_sign_D07.svg' style='width: 1.5em'>) have a supplementary sign?",
"mappings": {
"0": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M6.svg' style='width: 3em'>"
},
"1": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M13.svg' style='width: 3em'>"
},
"2": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M14.svg' style='width: 3em'>"
},
"3": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M7.svg' style='width: 3em'>"
},
"4": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M15.svg' style='width: 3em'>"
},
"5": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M16.svg' style='width: 3em'>"
},
"6": {
"then": "No supplementary traffic sign present"
}
}
},
"13": {
"render": "The buffer besides this cycleway is {cycleway:buffer} m",
"question": "How wide is the gap between the cycleway and the road?"
},
"14": {
"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"
}
}
},
"15": {
"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"
}
}
}
}
},
"defibrillator": {
"name": "Defibrillators",
"title": {

View file

@ -1008,6 +1008,362 @@
}
}
},
"cycleways_and_roads": {
"name": "Fietspaden, straten en wegen",
"title": {
"render": "Fietspaden",
"mappings": {
"0": {
"then": "Fietsweg"
},
"1": {
"then": "Fietssuggestiestrook"
},
"2": {
"then": "Fietsstrook"
},
"3": {
"then": "Fietsweg naast de weg"
},
"4": {
"then": "Fietsstraat"
}
}
},
"tagRenderings": {
"0": {
"question": "Wat voor fietspad is hier?",
"mappings": {
"0": {
"then": "Er is een fietssuggestiestrook"
},
"1": {
"then": "Er is een fietspad aangrenzend aan de weg (gescheiden met verf)"
},
"2": {
"then": "Er is een fietspad (los van de weg), maar geen fietspad afzonderlijk getekend naast deze weg."
},
"3": {
"then": "Er is een apart getekend fietspad."
},
"4": {
"then": "Er is geen fietspad aanwezig"
},
"5": {
"then": "Er is geen fietspad aanwezig"
}
}
},
"1": {
"question": "Is deze weg verlicht?",
"mappings": {
"0": {
"then": "Deze weg is verlicht"
},
"1": {
"then": "Deze weg is niet verlicht"
},
"2": {
"then": "Deze weg is 's nachts verlicht"
},
"3": {
"then": "Deze weg is 24/7 verlicht"
}
}
},
"2": {
"question": "Is dit een fietsstraat?",
"mappings": {
"0": {
"then": "Dit is een fietsstraat, en dus een 30km/h zone"
},
"1": {
"then": "Dit is een fietsstraat"
},
"2": {
"then": "Dit is geen fietsstraat"
}
}
},
"3": {
"render": "De maximumsnelheid op deze weg is {maxspeed} km/u",
"mappings": {
"0": {
"then": "De maximumsnelheid is 20 km/u"
},
"1": {
"then": "De maximumsnelheid is 30 km/u"
},
"2": {
"then": "De maximumsnelheid is 50 km/u"
},
"3": {
"then": "De maximumsnelheid is 70 km/u"
},
"4": {
"then": "De maximumsnelheid is 90 km/u"
}
},
"question": "Wat is de maximumsnelheid in deze straat?"
},
"4": {
"render": "Dit fietspad is gemaakt van {cycleway:surface}",
"mappings": {
"0": {
"then": "Dit fietspad is onverhard"
},
"1": {
"then": "Dit fietspad is geplaveid"
},
"2": {
"then": "Dit fietspad is gemaakt van asfalt"
},
"3": {
"then": "Dit fietspad is gemaakt van straatstenen"
},
"4": {
"then": "Dit fietspad is gemaakt van beton"
},
"5": {
"then": "Dit fietspad is gemaakt van kasseien (natuurlijk of verwerkt)"
},
"6": {
"then": "Dit fietspad is gemaakt van ruwe, natuurlijke kasseien"
},
"7": {
"then": "Dit fietspad is gemaakt van vlakke, rechthoekige kasseien"
},
"8": {
"then": "Dit fietspad is gemaakt van hout"
},
"9": {
"then": "Dit fietspad is gemaakt van grind"
},
"10": {
"then": "Dit fietspad is gemaakt van fijn grind"
},
"11": {
"then": "Dit fietspad is gemaakt van kiezelsteentjes"
},
"12": {
"then": "Dit fietspad is gemaakt van aarde"
}
},
"question": "Waaruit is het oppervlak van het fietspad van gemaakt?"
},
"5": {
"question": "Wat is de kwaliteit van dit fietspad?",
"mappings": {
"0": {
"then": "Geschikt voor fijne rollers: rollerblade, skateboard"
},
"1": {
"then": "Geschikt voor fijne wielen: racefiets"
},
"2": {
"then": "Geschikt voor normale wielen: stadsfiets, rolstoel, scooter"
},
"3": {
"then": "Geschikt voor brede wielen: trekfiets, auto, rickshaw"
},
"4": {
"then": "Geschikt voor voertuigen met hoge banden: lichte terreinwagen"
},
"5": {
"then": "Geschikt voor terreinwagens: zware terreinwagen"
},
"6": {
"then": "Geschikt voor gespecialiseerde terreinwagens: tractor, alleterreinwagen"
},
"7": {
"then": "Niet geschikt voor voertuigen met wielen"
}
}
},
"6": {
"render": "Deze weg is gemaakt van {surface}",
"mappings": {
"0": {
"then": "Dit fietspad is onverhard"
},
"1": {
"then": "Dit fietspad is geplaveid"
},
"2": {
"then": "Dit fietspad is gemaakt van asfalt"
},
"3": {
"then": "Dit fietspad is gemaakt van straatstenen"
},
"4": {
"then": "Dit fietspad is gemaakt van beton"
},
"5": {
"then": "Dit fietspad is gemaakt van kasseien (natuurlijk of verwerkt)"
},
"6": {
"then": "Dit fietspad is gemaakt van ruwe, natuurlijke kasseien"
},
"7": {
"then": "Dit fietspad is gemaakt van vlakke, rechthoekige kasseien"
},
"8": {
"then": "Dit fietspad is gemaakt van hout"
},
"9": {
"then": "Dit fietspad is gemaakt van grind"
},
"10": {
"then": "Dit fietspad is gemaakt van fijn grind"
},
"11": {
"then": "Dit fietspad is gemaakt van kiezelsteentjes"
},
"12": {
"then": "Dit fietspad is gemaakt van aarde"
}
},
"question": "Waaruit is het oppervlak van de straat gemaakt?"
},
"7": {
"question": "Wat is de kwaliteit van deze straat?"
},
"8": {
"render": "De breedte van deze rijbaan in deze straat is <strong>{width:carriageway}m</strong>",
"question": "Hoe breed is de rijbaan in deze straat (in meters)?"
},
"9": {
"question": "Welk verkeersbord heeft dit fietspad?",
"mappings": {
"0": {
"then": "Verplicht fietspad <img src='./assets/themes/cycle_infra/Belgian_road_sign_D07.svg' style='width: 3em'>"
},
"1": {
"then": "Verplicht fietspad (met onderbord)<br><img src='./assets/themes/cycle_infra/Belgian_road_sign_D07.svg' style='width: 3em'>"
},
"2": {
"then": "Afgescheiden voet-/fietspad <img src='./assets/themes/cycle_infra/Belgian_road_sign_D09.svg' style='width: 3em'>"
},
"3": {
"then": "Gedeeld voet-/fietspad <img src='./assets/themes/cycle_infra/Belgian_road_sign_D10.svg' style='width: 3em'>"
},
"4": {
"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='width: 3em'>"
},
"1": {
"then": "Verplicht fietspad (met onderbord)<br><img src='./assets/themes/cycle_infra/Belgian_road_sign_D07.svg' style='width: 3em'>"
},
"2": {
"then": "Afgescheiden voet-/fietspad <img src='./assets/themes/cycle_infra/Belgian_road_sign_D09.svg' style='width: 3em'>"
},
"3": {
"then": "Gedeeld voet-/fietspad <img src='./assets/themes/cycle_infra/Belgian_road_sign_D10.svg' style='width: 3em'>"
},
"4": {
"then": "Geen verkeersbord aanwezig"
}
}
},
"11": {
"question": "Heeft het verkeersbord D7 (<img src='./assets/themes/cycle_infra/Belgian_road_sign_D07.svg' style='width: 1.5em'>) een onderbord?",
"mappings": {
"0": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M6.svg' style='width: 3em'>"
},
"1": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M13.svg' style='width: 3em'>"
},
"2": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M14.svg' style='width: 3em'>"
},
"3": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M7.svg' style='width: 3em'>"
},
"4": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M15.svg' style='width: 3em'>"
},
"5": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M16.svg' style='width: 3em'>"
},
"6": {
"then": "Geen onderbord aanwezig"
}
}
},
"12": {
"question": "Heeft het verkeersbord D7 (<img src='./assets/themes/cycle_infra/Belgian_road_sign_D07.svg' style='width: 1.5em'>) een onderbord?",
"mappings": {
"0": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M6.svg' style='width: 3em'>"
},
"1": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M13.svg' style='width: 3em'>"
},
"2": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M14.svg' style='width: 3em'>"
},
"3": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M7.svg' style='width: 3em'>"
},
"4": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M15.svg' style='width: 3em'>"
},
"5": {
"then": "<img src='./assets/themes/cycle_infra/Belgian_traffic_sign_M16.svg' style='width: 3em'>"
},
"6": {
"then": "Geen onderbord aanwezig"
}
}
},
"13": {
"render": "De schrikafstand van dit fietspad is {cycleway:buffer} m",
"question": "Hoe breed is de ruimte tussen het fietspad en de weg?"
},
"14": {
"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"
}
}
},
"15": {
"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"
}
}
}
}
},
"defibrillator": {
"name": "Defibrillatoren",
"title": {