mapcomplete/assets/layers/rainbow_crossings/rainbow_crossings.json

102 lines
2.5 KiB
JSON
Raw Normal View History

2022-07-11 20:48:19 +02:00
{
"id": "rainbow_crossings",
"name": {
2022-07-26 10:51:14 +02:00
"en": "Crossings with rainbow paintings",
"de": "Fußgängerüberwege in Regenbogenfarben"
2022-07-11 20:48:19 +02:00
},
"description": {
2022-07-26 10:51:14 +02:00
"en": "A layer showing pedestrian crossings with rainbow paintings",
"de": "Eine Ebene mit Fußgängerüberwegen in Regenbogenfarben"
2022-07-11 20:48:19 +02:00
},
"source": {
2022-07-13 11:06:43 +02:00
"osmTags": "highway=crossing"
2022-07-11 20:48:19 +02:00
},
"minzoom": 17,
"title": {
"render": {
2022-07-26 10:51:14 +02:00
"en": "Crossing",
"de": "Überweg"
2022-07-11 20:48:19 +02:00
}
},
"presets": [
{
"title": {
2022-07-26 10:51:14 +02:00
"en": "a crossing",
"de": "einen Überweg"
2022-07-11 20:48:19 +02:00
},
"tags": [
"highway=crossing"
],
"description": {
2022-07-26 10:51:14 +02:00
"en": "Pedestrian crossing",
"de": "Fußgängerüberweg"
2022-07-11 20:48:19 +02:00
},
"preciseInput": {
"preferredBackground": [
"photo"
],
"snapToLayer": "cycleways_and_roads",
"maxSnapDistance": 25
}
2022-07-12 10:23:45 +02:00
}
],
2022-07-11 20:48:19 +02:00
"tagRenderings": [
2022-07-12 10:23:45 +02:00
"images",
2022-07-13 11:06:43 +02:00
{
2022-07-11 20:48:19 +02:00
"id": "crossing-with-rainbow",
"question": {
2022-07-26 10:51:14 +02:00
"en": "Does this crossing has rainbow paintings?",
"de": "Hat der Überweg eine Markierung in Regenbogenfarben?"
2022-07-11 20:48:19 +02:00
},
"condition": "highway=crossing",
"mappings": [
{
"if": "crossing:marking=rainbow",
"then": {
2022-07-26 10:51:14 +02:00
"en": "This crossing has rainbow paintings",
"de": "Der Überweg hat eine Markierung in Regenbogenfarben"
2022-07-12 10:23:45 +02:00
},
"icon": {
"path": "./assets/themes/rainbow_crossings/logo.svg",
"class": "medium"
2022-07-11 20:48:19 +02:00
}
},
2022-07-12 10:23:45 +02:00
{
"if": "not:crossing:marking=rainbow",
"then": {
2022-07-26 10:51:14 +02:00
"en": "No rainbow paintings here",
"de": "Hier gibt es kein Markierung in Regenbogenfarben"
2022-07-12 10:23:45 +02:00
},
"icon": "./assets/themes/rainbow_crossings/crossing.svg"
},
2022-07-11 20:48:19 +02:00
{
"if": "crossing:marking!=rainbow",
"then": {
2022-07-26 10:51:14 +02:00
"en": "No rainbow paintings here",
"de": "Hier gibt es kein Markierung in Regenbogenfarben"
2022-07-12 10:23:45 +02:00
},
"icon": "./assets/themes/rainbow_crossings/crossing.svg",
"hideInAnswer": true
2022-07-11 20:48:19 +02:00
}
]
}
],
"mapRendering": [
{
"icon": {
2022-07-12 10:23:45 +02:00
"render": "./assets/themes/rainbow_crossings/crossing.svg",
2022-07-13 11:06:43 +02:00
"mappings": [
{
"if": "crossing:marking=rainbow",
"then": "./assets/themes/rainbow_crossings/logo.svg"
}
]
2022-07-11 20:48:19 +02:00
},
2022-07-12 10:23:45 +02:00
"iconSize": "40,40,center",
2022-07-11 20:48:19 +02:00
"location": [
"point",
"centroid"
]
}
2022-07-12 10:23:45 +02:00
]
2022-07-13 11:06:43 +02:00
}