mapcomplete/assets/themes/cycle_infra/cycle_infra.json
2021-07-19 16:07:30 +02:00

866 lines
No EOL
24 KiB
JSON

{
"id": "cycle_infra",
"title": {
"en": "Bicycle infrastructure",
"nl": "Fietsinfrastructuur"
},
"shortDescription": {
"en": "A map where you can view and edit things related to the bicycle infrastructure.",
"nl": "Een kaart waar je info over de fietsinfrastructuur kan bekijken en bewerken."
},
"description": {
"en": "A map where you can view and edit things related to the bicycle infrastructure made during osoc21.",
"nl": "Een kaart waar je info over de fietsinfrastructuur kan bekijken en bewerken gemaakt tijdens osoc21."
},
"language": [
"en",
"nl"
],
"maintainer": "",
"icon": "./assets/svg/cycle-infra.svg",
"version": "0",
"startLat": 51,
"startLon": 3.75,
"startZoom": 11,
"widenFactor": 0.05,
"socialImage": "",
"enableDownload": true,
"layers": [
{
"id": "cycleways",
"name": {
"en": "Cycleways",
"nl": "Fietspaden"
},
"minzoom": 14,
"source": {
"osmTags": {
"or": [
"highway=cycleway",
"cycleway=^(?!no).*",
"cyclestreet=yes",
{
"and": [
"highway=path",
"bicycle=designated"
]
}
]
}
},
"title": {
"render": {
"en": "Cycleways",
"nl": "Fietspaden"
},
"mappings": [
{
"if": {
"or": [
"highway=cycleway",
"highway=path"
]
},
"then": {
"nl": "Fietsweg",
"en": "Bike road"
}
},
{
"if": "cycleway=shared_lane",
"then": {
"nl": "Fietssuggestiestrook",
"en": "Shared lane"
}
},
{
"if": "cycleway=lane",
"then": {
"nl": "Fietsstrook",
"en": "Bike lane"
}
},
{
"if": "cycleway=track",
"then": {
"en": "Bike road next to the road",
"nl": "Fietsweg naast de weg"
}
},
{
"if": "cyclestreet=yes",
"then": {
"nl": "Fietsstraat",
"en": "Cyclestreet"
}
}
]
},
"description": {},
"tagRenderings": [
{
"freeform": {
"key": "cycleway",
"addExtraTags": []
},
"question": {
"en": "What kind of cycleway is there?",
"nl": "Wat voor fietspad is hier?"
},
"condition": {
"and": [
"highway!=cycleway",
"highway!=path"
]
},
"mappings": [
{
"if": "cycleway=shared_lane",
"then": {
"en": "There is a shared lane",
"nl": "Er is een fietssugestiestrook"
}
},
{
"if": "cycleway=lane",
"then": {
"en": "There is a lane next to the road (seperated with paint)",
"nl": "Er is een fietspad aangrenzend aan de weg (gescheiden met verf)"
}
},
{
"if": "cycleway=track",
"then": {
"en": "There is a track, but no cycleway drawn seperately from this road on the map.",
"nl": "Er is een fietspad (los van de weg), maar geen fietspad afzonderlijk getekend naast deze weg."
}
},
{
"if": "cycleway=seperate",
"then": {
"en": "There is a seperately drawn cycleway",
"nl": "Er is een apart getekend fietspad."
}
},
{
"if": "cyclestreet=yes",
"then": {
"nl": "Dit is een fietsstraat.",
"en": "This is a cyclestreet."
}
},
{
"if": "cycleway=",
"then": {
"en": "There is no cycleway",
"nl": "Er is geen fietspad"
},
"hideInAnswer": true
}
],
"render": {
"en": "Unknown cycleway situation",
"nl": "Onbekende fietspad situatie"
}
},
{
"question": {
"en": "Is this street lit?",
"nl": "Is deze weg verlicht?"
},
"mappings": [
{
"if": "lit=yes",
"then": {
"en": "This street is lit",
"nl": "Deze weg is verlicht"
}
},
{
"if": "lit=no",
"then": {
"en": "This road is not lit",
"nl": "Deze weg is niet verlicht"
}
},
{
"if": "lit=sunset-sunrise",
"then": {
"en": "This road is lit at night",
"nl": "Deze weg is 's nachts verlicht"
},
"hideInAnswer": true
},
{
"if": "lit=24/7",
"then": {
"en": "This road is lit 24/7",
"nl": "Deze weg is 24/7 verlicht"
}
}
]
},
{
"render": {
"en": "The maximum speed on this road is {maxspeed} km/h",
"nl": "De maximumsnelheid op deze weg is {maxspeed} km/u"
},
"freeform": {
"key": "maxspeed",
"addExtraTags": []
},
"condition": {
"or": [
"cycleway=shared_lane",
"cycleway=lane"
]
},
"mappings": [
{
"if": "maxspeed=20",
"then": {
"en": "The maximum speed is 20 km/h",
"nl": "De maximumsnelheid is 20 km/u"
}
},
{
"if": "maxspeed=30",
"then": {
"en": "The maximum speed is 30 km/h",
"nl": "De maximumsnelheid is 30 km/u"
}
},
{
"if": "maxspeed=50",
"then": {
"en": "The maximum speed is 50 km/h",
"nl": "De maximumsnelheid is 50 km/u"
}
},
{
"if": "maxspeed=70",
"then": {
"en": "The maximum speed is 70 km/h",
"nl": "De maximumsnelheid is 70 km/u"
}
},
{
"if": "maxspeed=90",
"then": {
"en": "The maximum speed is 90 km/h",
"nl": "De maximumsnelheid is 90 km/u"
}
}
],
"question": {
"en": "What is the maximum speed in this street?",
"nl": "Wat is de maximumsnelheid in deze straat?"
}
},
{
"render": {
"en": "This cyleway is made of {cycleway:surface}",
"nl": "Dit fietspad is gemaakt van {cycleway:surface}"
},
"freeform": {
"key": "cycleway:surface",
"addExtraTags": []
},
"condition": {
"or": [
"cycleway=shared_lane",
"cycleway=lane",
"cycleway=track"
]
},
"mappings": [
{
"if": "cycleway:surface=wood",
"then": {
"en": "This street is made of wood",
"nl": "Deze weg is gemaakt van hout"
}
},
{
"if": "cycleway:surface=concrete",
"then": {
"en": "This street is made of concrete",
"nl": "Deze straat is gemaakt van beton"
}
},
{
"if": "cycleway:surface=cobblestone",
"then": {
"en": "This street is made of cobblestone",
"nl": "Deze straat is gemaakt van kasseien"
}
},
{
"if": "cycleway:surface=asphalt",
"then": {
"en": "This street is made of asphalt",
"nl": "Deze straat is gemaakt van asfalt"
}
},
{
"if": "cycleway:surface=paved",
"then": {
"en": "This street is paved",
"nl": "Deze straat is geplaveid"
}
}
],
"question": {
"en": "What is the cycleway:surface of the street made from?",
"nl": "Waaruit is het oppervlak van de straat gemaakt?"
}
},
{
"question": {
"en": "What is the smoothness of this cycleway?",
"nl": "Wat is de kwaliteit van dit fietspad?"
},
"condition": {
"or": [
"cycleway=shared_lane",
"cycleway=lane",
"cycleway=track"
]
},
"mappings": [
{
"if": "cycleway:smoothness=excellent",
"then": {
"en": "Usable for thin rollers: rollerblade, skateboard"
}
},
{
"if": "cycleway:smoothness=good",
"then": {
"en": "Usable for thin wheels: racing bike"
}
},
{
"if": "cycleway:smoothness=intermediate",
"then": {
"en": "Usable for normal wheels: city bike, wheelchair, scooter"
}
},
{
"if": "cycleway:smoothness=bad",
"then": {
"en": "Usable for robust wheels: trekking bike, car, rickshaw"
}
},
{
"if": "cycleway:smoothness=very_bad",
"then": {
"en": "Usable for vehicles with high clearance: light duty off-road vehicle"
}
},
{
"if": "cycleway:smoothness=horrible",
"then": {
"en": "Usable for off-road vehicles: heavy duty off-road vehicle"
}
},
{
"if": "cycleway:smoothness=very_horrible",
"then": {
"en": "Usable for specialized off-road vehicles: tractor, ATV"
}
},
{
"if": "cycleway:smoothness=impassable",
"then": {
"en": "Impassable / No wheeled vehicle"
}
}
]
},
{
"render": {
"en": "This road is made of {surface}",
"nl": "Deze weg is gemaakt van {surface}"
},
"freeform": {
"key": "surface",
"addExtraTags": []
},
"mappings": [
{
"if": "surface=wood",
"then": {
"en": "This street is made of wood",
"nl": "Deze weg is gemaakt van hout"
}
},
{
"if": "surface=concrete",
"then": {
"en": "This street is made of concrete",
"nl": "Deze straat is gemaakt van beton"
}
},
{
"if": "surface=cobblestone",
"then": {
"en": "This street is made of cobblestone",
"nl": "Deze straat is gemaakt van kasseien"
}
},
{
"if": "surface=asphalt",
"then": {
"en": "This street is made of asphalt",
"nl": "Deze straat is gemaakt van asfalt"
}
},
{
"if": "surface=paved",
"then": {
"en": "This street is paved",
"nl": "Deze straat is geplaveid"
}
}
],
"question": {
"en": "What is the surface of the street made from?",
"nl": "Waaruit is het oppervlak van de straat gemaakt?"
}
},
{
"question": {
"en": "What is the smoothness of this street?",
"nl": "Wat is de kwaliteit van deze straat?"
},
"condition": {
"or": [
"cycleway=no",
"highway=cycleway"
]
},
"mappings": [
{
"if": "smoothness=excellent",
"then": {
"en": "Usable for thin rollers: rollerblade, skateboard"
}
},
{
"if": "smoothness=good",
"then": {
"en": "Usable for thin wheels: racing bike"
}
},
{
"if": "smoothness=intermediate",
"then": {
"en": "Usable for normal wheels: city bike, wheelchair, scooter"
}
},
{
"if": "smoothness=bad",
"then": {
"en": "Usable for robust wheels: trekking bike, car, rickshaw"
}
},
{
"if": "smoothness=very_bad",
"then": {
"en": "Usable for vehicles with high clearance: light duty off-road vehicle"
}
},
{
"if": "smoothness=horrible",
"then": {
"en": "Usable for off-road vehicles: heavy duty off-road vehicle"
}
},
{
"if": "smoothness=very_horrible",
"then": {
"en": "Usable for specialized off-road vehicles: tractor, ATV"
}
},
{
"if": "smoothness=impassable",
"then": {
"en": "Impassable / No wheeled vehicle"
}
}
]
},
{
"condition": {
"or": [
"cycleway=shared_lane",
"cycleway=no",
"cycleway="
]
},
"render": {
"en": "The carriage width of this road is <strong>{width:carriageway}m</strong>",
"nl": "De breedte van deze rijbaan in deze straat is <strong>{width:carriageway}m</strong>"
},
"freeform": {
"key": "width:carriageway",
"addExtraTags": [],
"type": "pfloat"
},
"question": {
"en": "What is the carriage width of this road (in meters)?",
"nl": "Hoe breed is de rijbaan in deze straat (in meters)?"
}
}
],
"hideUnderlayingFeaturesMinPercentage": 0,
"icon": {
"render": "./assets/svg/bug.svg"
},
"width": {
"render": "8"
},
"iconSize": {
"render": "40,40,center"
},
"color": {
"render": "#aaaaaa",
"mappings": [
{
"if": {
"or": [
"highway=cycleway",
"highway=path"
]
},
"then": "#00ff00"
},
{
"if": "cycleway=track",
"then": "#45c445"
},
{
"if": "cycleway=shared_lane",
"then": "#ff0000"
},
{
"if": "cycleway=lane",
"then": "#ff9900"
},
{
"if": "cyclestreet=yes",
"then": "#0000ff"
}
]
},
"presets": []
},
{
"id": "all_streets",
"name": {
"nl": "Alle straten",
"en": "All streets"
},
"description": {
"nl": "Laag waar je nieuwe fietspaden kan aanduiden",
"en": "Layer to mark new cycleways"
},
"source": {
"osmTags": {
"or": [
"highway=residential",
"highway=tertiary",
"highway=unclassified",
"highway=primary",
"highway=secondary"
]
}
},
"minzoom": 19,
"wayHandling": 0,
"title": {
"render": {
"nl": "Straat",
"en": "Street"
},
"mappings": [
{
"if": "name~*",
"then": "{name}"
}
]
},
"icon": "./assets/svg/bug.svg",
"width": "5",
"color": {
"render": "#aaaaaa",
"mappings": []
},
"tagRenderings": [
{
"freeform": {
"key": "cycleway",
"addExtraTags": []
},
"question": {
"en": "Is there a cycleway?",
"nl": "Is er een fietspad?"
},
"condition": {
"and": [
"highway!=cycleway",
"highway!=path"
]
},
"mappings": [
{
"if": "cycleway=shared_lane",
"then": {
"en": "There is a shared lane",
"nl": "Er is een fietssugestiestrook"
}
},
{
"if": "cycleway=lane",
"then": {
"en": "There is a lane next to the road (seperated with paint)",
"nl": "Er is een fietspad aangrenzend aan de weg (gescheiden met verf)"
}
},
{
"if": "cycleway=track",
"then": {
"en": "There is a track, but no cycleway drawn seperately from this road on the map.",
"nl": "Er is een fietspad (los van de weg), maar geen fietspad afzonderlijk getekend naast deze weg."
}
},
{
"if": "cycleway=seperate",
"then": {
"en": "There is a seperately drawn cycleway",
"nl": "Er is een apart getekend fietspad."
}
},
{
"if": "cyclestreet=yes",
"then": {
"nl": "Dit is een fietsstraat.",
"en": "This is a cyclestreet."
}
},
{
"if": "cycleway=",
"then": {
"en": "There is no cycleway",
"nl": "Er is geen fietspad"
},
"hideInAnswer": true
}
],
"render": {
"en": "Unknown cycleway situation",
"nl": "Onbekende fietspad situatie"
}
}
]
},
{
"id": "barriers",
"name": {
"en": "Barriers",
"nl": "Barrières"
},
"description": {
"en": "Obstacles while cycling, such as bollards and cycle barriers",
"nl": "Hindernissen tijdens het fietsen, zoals paaltjes en fietshekjes"
},
"source": {
"osmTags": {
"or": [
"barrier=bollard",
"barrier=cycle_barrier"
]
}
},
"minzoom": 14,
"title": {
"render": {
"en": "Barrier",
"nl": "Barrière"
},
"mappings": [
{
"if": "barrier=bollard",
"then": {
"en": "Bollard",
"nl": "Paaltje"
}
},
{
"if": "barrier=cycle_barrier",
"then": {
"en": "Cycling Barrier",
"nl": "Fietshekjes"
}
}
]
},
"icon": "./assets/svg/barrier.svg",
"width": "5",
"presets": [
{
"title": {
"en": "Bollard",
"nl": "Paaltje"
},
"tags": [
"barrier=bollard"
],
"description": {
"en": "A bollard in the road",
"nl": "Een paaltje in de weg"
}
},
{
"title": {
"en": "Cycle barrier",
"nl": "Fietshekjes"
},
"tags": [
"barrier=bollard"
],
"description": {
"en": "Cycle barrier, slowing down cyclists",
"nl": "Fietshekjes, voor het afremmen van fietsers"
}
}
],
"tagRenderings": [
{
"question": {
"en": "Can a bicycle go past this barrier?",
"nl": "Kan een fietser langs deze barrière?"
},
"mappings": [
{
"if": "bicycle=yes",
"then": {
"en": "A cyclist can go past this.",
"nl": "Een fietser kan hier langs."
}
},
{
"if": "bicycle=no",
"then": {
"en": "A cyclist can not go past this.",
"nl": "Een fietser kan hier niet langs."
}
}
]
},
{
"question": {
"en": "What kind of bollard is this?",
"nl": "Wat voor soort paal is dit?"
},
"condition": "barrier=bollard",
"mappings": [
{
"if": "bollard=removable",
"then": {
"en": "Removable bollard",
"nl": "Verwijderbare paal"
}
},
{
"if": "bollard=fixed",
"then": {
"en": "Fixed bollard",
"nl": "Vaste paal"
}
},
{
"if": "bollard=foldable",
"then": {
"en": "Bollard that can be folded down",
"nl": "Paal die platgevouwen kan worden"
}
},
{
"if": "bollard=flexible",
"then": {
"en": "Flexible bollard, usually plastic",
"nl": "Flexibele paal, meestal plastic"
}
},
{
"if": "bollard=rising",
"then": {
"en": "Rising bollard",
"nl": "Verzonken poller"
}
}
]
},
{
"question": {
"en": "What kind of cycling barrier is this?",
"nl": "Wat voor fietshekjes zijn dit?"
},
"condition": "barrier=cycle_barrier",
"mappings": [
{
"if": "cycle_barrier:type=single",
"then": {
"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 <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 <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'>"
}
}
]
},
{
"render": {
"en": "Maximum width: {maxwidth:physical} m",
"nl": "Maximumbreedte: {maxwidth:physical} m"
},
"question": {
"en": "How wide is the gap left over besides the barrier?",
"nl": "Hoe breed is de ruimte naast de barrière?"
},
"condition": {
"and": [
"cycle_barrier:type!=double",
"cycle_barrier:type!=triple"
]
},
"freeform": {
"key": "maxwidth:physical",
"type": "pfloat"
}
}
]
},
"crossings"
]
}