mapcomplete/assets/layers/bench/bench.json

314 lines
No EOL
7.8 KiB
JSON

{
"id": "bench",
"name": {
"en": "Benches",
"de": "Sitzbänke",
"fr": "Bancs",
"nl": "Zitbanken"
},
"minzoom": 14,
"source": {
"osmTags": "amenity=bench"
},
"title": {
"render": {
"en": "Bench",
"de": "Sitzbank",
"fr": "Banc",
"nl": "Zitbank"
}
},
"tagRenderings": [
"images",
{
"render": {
"en": "Backrest",
"de": "Rückenlehne",
"fr": "Dossier",
"nl": "Rugleuning"
},
"freeform": {
"key": "backrest"
},
"mappings": [
{
"if": "backrest=yes",
"then": {
"en": "Backrest: Yes",
"de": "Rückenlehne: Ja",
"fr": "Dossier: Oui",
"nl": "Heeft een rugleuning"
}
},
{
"if": "backrest=no",
"then": {
"en": "Backrest: No",
"de": "Rückenlehne: Nein",
"fr": "Dossier: Non",
"nl": "Rugleuning ontbreekt"
}
}
],
"question": {
"en": "Does this bench have a backrest?",
"de": "Hat diese Bank eine Rückenlehne?",
"fr": "Ce banc dispose-t-il d'un dossier ?",
"nl": "Heeft deze zitbank een rugleuning?"
}
},
{
"render": {
"en": "{seats} seats",
"de": "{seats} Sitzplätze",
"fr": "{seats} places",
"nl": "{seats} zitplaatsen"
},
"freeform": {
"key": "seats",
"type": "nat"
},
"question": {
"en": "How many seats does this bench have?",
"de": "Wie viele Sitzplätze hat diese Bank?",
"fr": "De combien de places dispose ce banc ?",
"nl": "Hoeveel zitplaatsen heeft deze bank?"
}
},
{
"render": {
"en": "Material: {material}",
"de": "Material: {material}",
"fr": "Matériau : {material}",
"nl": "Gemaakt van {material}"
},
"freeform": {
"key": "material",
"addExtraTags": []
},
"mappings": [
{
"if": "material=wood",
"then": {
"en": "Material: wood",
"de": "Material: Holz",
"fr": "Matériau : bois",
"nl": "Gemaakt uit hout"
}
},
{
"if": "material=metal",
"then": {
"en": "Material: metal",
"de": "Material: Metall",
"fr": "Matériau : métal",
"nl": "Gemaakt uit metaal"
}
},
{
"if": "material=stone",
"then": {
"en": "Material: stone",
"de": "Material: Stein",
"fr": "Matériau: pierre",
"nl": "Gemaakt uit steen"
}
},
{
"if": "material=concrete",
"then": {
"en": "Material: concrete",
"de": "Material: Beton",
"fr": "Matériau : béton",
"nl": "Gemaakt uit beton"
}
},
{
"if": "material=plastic",
"then": {
"en": "Material: plastic",
"de": "Material: Kunststoff",
"fr": "Matériau : plastique",
"nl": "Gemaakt uit plastiek"
}
},
{
"if": "material=steel",
"then": {
"en": "Material: steel",
"de": "Material: Stahl",
"fr": "Matériau : acier",
"nl": "Gemaakt uit staal"
}
}
],
"question": {
"en": "What is the bench (seating) made from?",
"de": "Aus welchem Material besteht die Sitzbank (Sitzfläche)?",
"fr": "De quel matériau ce banc est-il fait ?",
"nl": "Uit welk materiaal is het zitgedeelte van deze zitbank gemaakt?"
}
},
{
"question": {
"en": "In which direction are you looking when sitting on the bench?",
"de": "In welche Richtung schaut man, wenn man auf der Bank sitzt?",
"nl": "In welke richting kijk je wanneer je op deze zitbank zit?"
},
"render": {
"en": "When sitting on the bench, one looks towards {direction}°.",
"de": "Wenn man auf der Bank sitzt, schaut man in Richtung {direction}°.",
"nl": "Wanneer je op deze bank zit, dan kijk je in {direction}°."
},
"freeform": {
"key": "direction",
"type": "direction"
}
},
{
"render": {
"en": "Colour: {colour}",
"de": "Farbe: {colour}",
"fr": "Couleur : {colour}",
"nl": "Kleur: {colour}"
},
"question": {
"en": "Which colour does this bench have?",
"de": "Welche Farbe hat diese Sitzbank?",
"fr": "Quelle est la couleur de ce banc ?",
"nl": "Welke kleur heeft deze zitbank?"
},
"freeform": {
"key": "colour",
"type": "color"
},
"mappings": [
{
"if": "colour=brown",
"then": {
"en": "Colour: brown",
"de": "Farbe: braun",
"fr": "Couleur : marron",
"nl": "De kleur is bruin"
}
},
{
"if": "colour=green",
"then": {
"en": "Colour: green",
"de": "Farbe: grün",
"fr": "Couleur : verte",
"nl": "De kleur is groen"
}
},
{
"if": "colour=gray",
"then": {
"en": "Colour: gray",
"de": "Farbe: grau",
"fr": "Couleur : gris",
"nl": "De kleur is grijs"
}
},
{
"if": "colour=white",
"then": {
"en": "Colour: white",
"de": "Farbe: weiß",
"fr": "Couleur : blanc",
"nl": "De kleur is wit"
}
},
{
"if": "colour=red",
"then": {
"en": "Colour: red",
"de": "Farbe: rot",
"fr": "Couleur : rouge",
"nl": "De kleur is rood"
}
},
{
"if": "colour=black",
"then": {
"en": "Colour: black",
"de": "Farbe: schwarz",
"fr": "Couleur : noire",
"nl": "De kleur is zwart"
}
},
{
"if": "colour=blue",
"then": {
"en": "Colour: blue",
"de": "Farbe: blau",
"fr": "Couleur : bleu",
"nl": "De kleur is blauw"
}
},
{
"if": "colour=yellow",
"then": {
"en": "Colour: yellow",
"de": "Farbe: gelb",
"fr": "Couleur : jaune",
"nl": "De kleur is geel"
}
}
]
},
{
"question": {
"en": "When was this bench last surveyed?",
"nl": "Wanneer is deze laatste bank laatst gesurveyed?"
},
"render": {
"en": "This bench was last surveyed on {survey:date}",
"nl": "Deze bank is laatst gesurveyd op {survey:date}"
},
"freeform": {
"key": "survey:date",
"type": "date"
},
"mappings": [
{
"if": "survey:date:={_now:date}",
"then": "Surveyed today!"
}
]
}
],
"hideUnderlayingFeaturesMinPercentage": 0,
"icon": {
"render": "./assets/themes/benches/bench_poi.svg",
"mappings": []
},
"width": {
"render": "8"
},
"iconSize": {
"render": "35,35,center"
},
"color": {
"render": "#00f"
},
"presets": [
{
"tags": [
"amenity=bench"
],
"title": {
"en": "Bench",
"de": "Sitzbank",
"fr": "Banc",
"nl": "Zitbank"
},
"description": {
"en": "Add a new bench",
"de": "Neue Sitzbank eintragen",
"fr": "Ajouter un nouveau banc",
"nl": "Voeg een nieuwe zitbank toe"
}
}
]
}