mapcomplete/assets/layers/crossings/crossings.json
2021-10-26 01:27:35 +02:00

380 lines
No EOL
14 KiB
JSON

{
"id": "crossings",
"name": {
"en": "Crossings",
"nl": "Oversteekplaatsen",
"de": "Kreuzungen"
},
"description": {
"en": "Crossings for pedestrians and cyclists",
"nl": "Oversteekplaatsen voor voetgangers en fietsers",
"de": "Übergänge für Fußgänger und Radfahrer"
},
"source": {
"osmTags": {
"or": [
"highway=traffic_signals",
"highway=crossing"
]
}
},
"minzoom": 17,
"title": {
"render": {
"en": "Crossing",
"nl": "Oversteekplaats",
"de": "Kreuzung"
},
"mappings": [
{
"if": "highway=traffic_signals",
"then": {
"en": "Traffic signal",
"nl": "Verkeerslicht",
"ru": "Светофор",
"de": "Ampel"
}
},
{
"if": "crossing=traffic_signals",
"then": {
"en": "Crossing with traffic signals",
"nl": "Oversteektplaats met verkeerslichten",
"de": "Kreuzung mit Ampeln"
}
}
]
},
"icon": {
"render": "./assets/layers/crossings/pedestrian_crossing.svg",
"mappings": [
{
"if": {
"or": [
"highway=traffic_signals",
"crossing=traffic_signals"
]
},
"then": "./assets/layers/crossings/traffic_lights.svg"
}
]
},
"width": "5",
"presets": [
{
"title": {
"en": "Crossing",
"nl": "Oversteekplaats",
"de": "Kreuzung"
},
"tags": [
"highway=crossing"
],
"description": {
"en": "Crossing for pedestrians and/or cyclists",
"nl": "Oversteekplaats voor voetgangers en/of fietsers",
"de": "Kreuzung für Fußgänger und/oder Radfahrer"
},
"preciseInput": {
"preferredBackground": [
"photo"
],
"snapToLayer": "cycleways_and_roads",
"maxSnapDistance": 25
}
},
{
"title": {
"en": "Traffic signal",
"nl": "Verkeerslicht",
"ru": "Светофор",
"de": "Ampel"
},
"tags": [
"highway=traffic_signals"
],
"description": {
"en": "Traffic signal on a road",
"nl": "Verkeerslicht op een weg",
"de": "Ampel an einer Straße"
},
"preciseInput": {
"preferredBackground": [
"photo"
],
"snapToLayer": "cycleways_and_roads",
"maxSnapDistance": 25
}
}
],
"tagRenderings": [
{
"id": "crossing-type",
"question": {
"en": "What kind of crossing is this?",
"nl": "Wat voor oversteekplaats is dit?",
"de": "Was ist das für eine Kreuzung?"
},
"condition": "highway=crossing",
"mappings": [
{
"if": "crossing=uncontrolled",
"then": {
"en": "Crossing, without traffic lights",
"nl": "Oversteekplaats, zonder verkeerslichten",
"de": "Kreuzungen ohne Ampeln"
}
},
{
"if": "crossing=traffic_signals",
"then": {
"en": "Crossing with traffic signals",
"nl": "Oversteekplaats met verkeerslichten",
"de": "Kreuzungen mit Ampeln"
}
},
{
"if": "crossing=zebra",
"then": {
"en": "Zebra crossing",
"nl": "Zebrapad",
"de": "Zebrastreifen"
},
"hideInAnswer": true
}
]
},
{
"id": "crossing-is-zebra",
"question": {
"en": "Is this is a zebra crossing?",
"nl": "Is dit een zebrapad?",
"de": "Ist das ein Zebrastreifen?"
},
"condition": "crossing=uncontrolled",
"mappings": [
{
"if": "crossing_ref=zebra",
"then": {
"en": "This is a zebra crossing",
"nl": "Dit is een zebrapad",
"de": "Dies ist ein Zebrastreifen"
}
},
{
"if": "crossing_ref=",
"then": {
"en": "This is not a zebra crossing",
"nl": "Dit is geen zebrapad",
"de": "Dies ist kein Zebrastreifen"
}
}
]
},
{
"id": "crossing-bicycle-allowed",
"question": {
"en": "Is this crossing also for bicycles?",
"nl": "Is deze oversteekplaats ook voor fietsers",
"de": "Können Radfahrer diese Kreuzung nutzen?"
},
"condition": "highway=crossing",
"mappings": [
{
"if": "bicycle=yes",
"then": {
"en": "A cyclist can use this crossing",
"nl": "Een fietser kan deze oversteekplaats gebruiken",
"de": "Radfahrer können diese Kreuzung nutzen"
}
},
{
"if": "bicycle=no",
"then": {
"en": "A cyclist can not use this crossing",
"nl": "Een fietser kan deze oversteekplaats niet gebruiken",
"de": "Radfahrer können diese Kreuzung nicht nutzen"
}
}
]
},
{
"id": "crossing-has-island",
"question": {
"en": "Does this crossing have an island in the middle?",
"nl": "Heeft deze oversteekplaats een verkeerseiland in het midden?"
},
"condition": "highway=crossing",
"mappings": [
{
"if": "crossing:island=yes",
"then": {
"en": "This crossing has an island in the middle",
"nl": "Deze oversteekplaats heeft een verkeerseiland in het midden"
}
},
{
"if": "crossing:island=no",
"then": {
"en": "This crossing does not have an island in the middle",
"nl": "Deze oversteekplaats heeft geen verkeerseiland in het midden"
}
}
]
},
{
"id": "crossing-tactile",
"question": {
"en": "Does this crossing have tactile paving?",
"nl": "Heeft deze oversteekplaats een geleidelijn?",
"de": "Gibt es an dieser Kreuzung ein Blindenleitsystem?"
},
"condition": "highway=crossing",
"mappings": [
{
"if": "tactile_paving=yes",
"then": {
"en": "This crossing has tactile paving",
"nl": "Deze oversteekplaats heeft een geleidelijn",
"de": "An dieser Kreuzung gibt es ein Blindenleitsystem"
}
},
{
"if": "tactile_paving=no",
"then": {
"en": "This crossing does not have tactile paving",
"nl": "Deze oversteekplaats heeft geen geleidelijn",
"de": "Diese Kreuzung hat kein Blindenleitsystem"
}
},
{
"if": "tactile_paving=incorrect",
"then": {
"en": "This crossing has tactile paving, but is not correct",
"nl": "Deze oversteekplaats heeft een geleidelijn, die incorrect is."
},
"hideInAnswer": true
}
]
},
{
"id": "crossing-button",
"question": {
"en": "Does this traffic light have a button to request green light?",
"nl": "Heeft dit verkeerslicht een knop voor groen licht?"
},
"condition": {
"or": [
"highway=traffic_signals",
"crossing=traffic_signals"
]
},
"mappings": [
{
"if": "button_operated=yes",
"then": {
"en": "This traffic light has a button to request green light",
"nl": "Dit verkeerslicht heeft een knop voor groen licht"
}
},
{
"if": "button_operated=no",
"then": {
"en": "This traffic light does not have a button to request green light",
"nl": "Dit verkeerlicht heeft geen knop voor groen licht"
}
}
]
},
{
"id": "crossing-right-turn-through-red",
"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 <img src='./assets/layers/crossings/Belgian_road_sign_B22.svg' style='width: 3em'>",
"nl": "Een fietser mag wel rechtsaf slaan als het licht rood is <img src='./assets/layers/crossings/Belgian_road_sign_B22.svg' style='width: 3em'>"
},
"hideInAnswer": "_country!=be"
},
{
"if": "red_turn:right:bicycle=yes",
"then": {
"en": "A cyclist can turn right if the light is red",
"nl": "Een fietser mag wel rechtsaf slaan als het licht rood is"
},
"hideInAnswer": "_country=be"
},
{
"if": "red_turn:right:bicycle=no",
"then": {
"en": "A cyclist can not turn right if the light is red",
"nl": "Een fietser mag niet rechtsaf slaan als het licht rood is"
}
}
]
},
{
"id": "crossing-continue-through-red",
"question": {
"en": "Can a cyclist go straight on when the light is red?",
"nl": "Mag een fietser rechtdoor gaan als het licht rood is?"
},
"condition": "highway=traffic_signals",
"mappings": [
{
"if": "red_turn:straight:bicycle=yes",
"then": {
"en": "A cyclist can go straight on if the light is red <img src='./assets/layers/crossings/Belgian_road_sign_B23.svg' style='width: 3em'>",
"nl": "Een fietser mag wel rechtdoor gaan als het licht rood is <img src='./assets/layers/crossings/Belgian_road_sign_B23.svg' style='width: 3em'>"
},
"hideInAnswer": "_country!=be"
},
{
"if": "red_turn:straight:bicycle=yes",
"then": {
"en": "A cyclist can go straight on if the light is red",
"nl": "Een fietser mag wel rechtdoor gaan als het licht rood is"
},
"hideInAnswer": "_country=be"
},
{
"if": "red_turn:straight:bicycle=no",
"then": {
"en": "A cyclist can not go straight on if the light is red",
"nl": "Een fietser mag niet rechtdoor gaan als het licht rood is"
}
}
]
}
],
"mapRendering": [
{
"icon": {
"render": "./assets/layers/crossings/pedestrian_crossing.svg",
"mappings": [
{
"if": {
"or": [
"highway=traffic_signals",
"crossing=traffic_signals"
]
},
"then": "./assets/layers/crossings/traffic_lights.svg"
}
]
},
"location": [
"point"
]
},
{
"width": "5"
}
]
}