396 lines
No EOL
12 KiB
JSON
396 lines
No EOL
12 KiB
JSON
{
|
|
"id": "crossings",
|
|
"name": {
|
|
"en": "Crossings",
|
|
"nl": "Oversteekplaatsen",
|
|
"de": "Kreuzungen",
|
|
"fr": "Traversée"
|
|
},
|
|
"description": {
|
|
"en": "Crossings for pedestrians and cyclists",
|
|
"nl": "Oversteekplaatsen voor voetgangers en fietsers",
|
|
"de": "Übergänge für Fußgänger und Radfahrer",
|
|
"fr": "Traversée pour piétons et cyclistes"
|
|
},
|
|
"source": {
|
|
"osmTags": {
|
|
"or": [
|
|
"highway=traffic_signals",
|
|
"highway=crossing"
|
|
]
|
|
}
|
|
},
|
|
"minzoom": 17,
|
|
"title": {
|
|
"render": {
|
|
"en": "Crossing",
|
|
"nl": "Oversteekplaats",
|
|
"de": "Kreuzung",
|
|
"fr": "Traversée"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "highway=traffic_signals",
|
|
"then": {
|
|
"en": "Traffic signal",
|
|
"nl": "Verkeerslicht",
|
|
"ru": "Светофор",
|
|
"de": "Ampel",
|
|
"fr": "Feu de signalisation"
|
|
}
|
|
},
|
|
{
|
|
"if": "crossing=traffic_signals",
|
|
"then": {
|
|
"en": "Crossing with traffic signals",
|
|
"nl": "Oversteektplaats met verkeerslichten",
|
|
"de": "Kreuzung mit Ampeln",
|
|
"fr": "Traversée avec feu de signalisation"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"presets": [
|
|
{
|
|
"title": {
|
|
"en": "Crossing",
|
|
"nl": "Oversteekplaats",
|
|
"de": "Kreuzung",
|
|
"fr": "Traversée"
|
|
},
|
|
"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",
|
|
"fr": "Traversée pour piétons et/ou cyclistes"
|
|
},
|
|
"preciseInput": {
|
|
"preferredBackground": [
|
|
"photo"
|
|
],
|
|
"snapToLayer": "cycleways_and_roads",
|
|
"maxSnapDistance": 25
|
|
}
|
|
},
|
|
{
|
|
"title": {
|
|
"en": "Traffic signal",
|
|
"nl": "Verkeerslicht",
|
|
"ru": "Светофор",
|
|
"de": "Ampel",
|
|
"fr": "Feu de signalisation"
|
|
},
|
|
"tags": [
|
|
"highway=traffic_signals"
|
|
],
|
|
"description": {
|
|
"en": "Traffic signal on a road",
|
|
"nl": "Verkeerslicht op een weg",
|
|
"de": "Ampel an einer Straße",
|
|
"fr": "Feu de signalisation sur la voie"
|
|
},
|
|
"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
|
|
},
|
|
{
|
|
"if": "crossing=unmarked",
|
|
"then": {
|
|
"en": "Crossing without crossing markings",
|
|
"nl": "Oversteekplaats zonder kruispuntmarkeringen"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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?",
|
|
"de": "Gibt es an diesem Übergang eine Verkehrsinsel?"
|
|
},
|
|
"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",
|
|
"de": "Der Übergang hat eine Verkehrsinsel"
|
|
}
|
|
},
|
|
{
|
|
"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",
|
|
"de": "Diese Ampel hat eine Taste, um ein grünes Signal anzufordern"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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.",
|
|
"de": "Diese Kreuzung hat taktile Pflasterung, ist aber nicht korrekt"
|
|
},
|
|
"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?",
|
|
"de": "Hat diese Ampel eine Taste, um ein grünes Signal anzufordern?"
|
|
},
|
|
"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",
|
|
"de": "Diese Ampel hat eine Taste, um ein grünes Signal anzufordern"
|
|
}
|
|
},
|
|
{
|
|
"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",
|
|
"de": "Diese Ampel hat keine Taste, um ein grünes Signal anzufordern"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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?",
|
|
"de": "Kann ein Radfahrer bei roter Ampel rechts abbiegen?"
|
|
},
|
|
"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'>",
|
|
"de": "Ein Radfahrer kann bei roter Ampel rechts abbiegen <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",
|
|
"de": "Ein Radfahrer kann bei roter Ampel rechts abbiegen"
|
|
},
|
|
"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",
|
|
"de": "Ein Radfahrer kann bei roter Ampel nicht rechts abbiegen"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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?",
|
|
"de": "Kann ein Radfahrer bei roter Ampel geradeaus fahren?"
|
|
},
|
|
"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'>",
|
|
"de": "Ein Radfahrer kann bei roter Ampel geradeaus fahren <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",
|
|
"de": "Ein Radfahrer kann bei roter Ampel geradeaus fahren"
|
|
},
|
|
"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",
|
|
"de": "Ein Radfahrer kann bei roter Ampel nicht geradeaus fahren"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
]
|
|
} |