{
  "id": "benches",
  "title": {
    "en": "Benches",
    "de": "Sitzbänke",
    "fr": "Bancs"
  },
  "shortDescription": {
    "en": "A map of benches",
    "de": "Eine Karte aller Sitzbänke",
    "fr": "Carte des bancs"
  },
  "description": {
    "en": "This map shows all benches that are recorded in OpenStreetMap: Individual benches, and benches belonging to public transport stops or shelters. With an OpenStreetMap account, you can map new benches or edit details of existing benches.",
    "de": "Diese Karte zeigt alle Sitzbänke, die in OpenStreetMap eingetragen sind: Einzeln stehende Bänke und Bänke, die zu Haltestellen oder Unterständen gehören. Mit einem OpenStreetMap-Account können Sie neue Bänke eintragen oder Detailinformationen existierender Bänke bearbeiten.",
    "fr": "Cette carte affiche les bancs mappés dans OpenStreetMap, entre autres : bancs des transports en commun, bancs publics, etc. À l'aide de votre compte OpenStretMap, vous pourrez ajouter de nouveaux bancs ou modifier les bancs existants."
  },
  "language": [
    "en",
    "de",
    "fr"
  ],
  "maintainer": "Florian Edelmann",
  "icon": "./assets/themes/benches/bench_poi.svg",
  "version": "2020-10-23",
  "startLat": 0,
  "startLon": 0,
  "startZoom": 1,
  "widenFactor": 0.05,
  "socialImage": "",
  "layers": [
    {
      "id": "amenity=bench",
      "name": {
        "en": "Benches",
        "de": "Sitzbänke",
        "fr": "Bancs"
      },
      "minzoom": 14,
      "overpassTags": {
        "and": [
          "amenity=bench"
        ]
      },
      "title": {
        "render": {
          "en": "Bench",
          "de": "Sitzbank",
          "fr": "Banc"
        },
        "mappings": []
      },
      "description": {},
      "tagRenderings": [
        "images",
        {
          "render": {
            "en": "Backrest",
            "de": "Rückenlehne",
            "fr": "Dossier"
          },
          "freeform": {
            "key": "backrest",
            "addExtraTags": []
          },
          "mappings": [
            {
              "if": {
                "and": [
                  "backrest=yes"
                ]
              },
              "then": {
                "en": "Backrest: Yes",
                "de": "Rückenlehne: Ja",
                "fr": "Dossier: Oui"
              }
            },
            {
              "if": {
                "and": [
                  "backrest=no"
                ]
              },
              "then": {
                "en": "Backrest: No",
                "de": "Rückenlehne: Nein",
                "fr": "Dossier: Non"
              }
            }
          ],
          "question": {
            "en": "Does this bench have a backrest?",
            "de": "Hat diese Bank eine Rückenlehne?",
            "fr": "Ce banc dispose-t-il d'un dossier ?"
          }
        },
        {
          "render": {
            "en": "{seats} seats",
            "de": "{seats} Sitzplätze",
            "fr": "{seats} places"
          },
          "freeform": {
            "key": "seats",
            "type": "nat"
          },
          "mappings": [],
          "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 ?"
          }
        },
        {
          "render": {
            "en": "Material: {material}",
            "de": "Material: {material}",
            "fr": "Matériau : {material}"
          },
          "freeform": {
            "key": "material",
            "addExtraTags": []
          },
          "mappings": [
            {
              "if": {
                "and": ["material=wood"]
              },
              "then": {
                "en": "Material: wood",
                "de": "Material: Holz",
                "fr": "Matériau : bois"
              }
            },
            {
              "if": {
                "and": ["material=metal"]
              },
              "then": {
                "en": "Material: metal",
                "de": "Material: Metall",
                "fr": "Matériau : métal"
              }
            },
            {
              "if": {
                "and": ["material=stone"]
              },
              "then": {
                "en": "Material: stone",
                "de": "Material: Stein",
                "fr": "Matériau: pierre"
              }
            },
            {
              "if": {
                "and": ["material=concrete"]
              },
              "then": {
                "en": "Material: concrete",
                "de": "Material: Beton",
                "fr": "Matériau : béton"
              }
            },
            {
              "if": {
                "and": ["material=plastic"]
              },
              "then": {
                "en": "Material: plastic",
                "de": "Material: Kunststoff",
                "fr": "Matériau : plastique"
              }
            },
            {
              "if": {
                "and": ["material=steel"]
              },
              "then": {
                "en": "Material: steel",
                "de": "Material: Stahl",
                "fr": "Matériau : acier"
              }
            }
          ],
          "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 ?"
          }
        },
        {
          "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?"
          },
          "render": {
            "en": "When sitting on the bench, one looks towards {direction}°.",
            "de": "Wenn man auf der Bank sitzt, schaut man in Richtung {direction}°."
          },
          "freeform": {
            "key": "direction",
            "type": "direction"
          }
        },
        {
          "render": {
            "en": "Colour: {colour}",
            "de": "Farbe: {colour}",
            "fr": "Couleur : {colour}"
          },
          "question": {
            "en": "Which colour does this bench have?",
            "de": "Welche Farbe hat diese Sitzbank?",
            "fr": "Quelle est la couleur de ce banc ?"
          },
          "freeform": {
            "key": "colour"
          },
          "mappings": [
            {
              "if": {
                "and": ["colour=brown"]
              },
              "then": {
                "en": "Colour: brown",
                "de": "Farbe: braun",
                "fr": "Couleur : marron"
              }
            },
            {
              "if": {
                "and": ["colour=green"]
              },
              "then": {
                "en": "Colour: green",
                "de": "Farbe: grün",
                "fr": "Couleur : verte"
              }
            },
            {
              "if": {
                "and": ["colour=gray"]
              },
              "then": {
                "en": "Colour: gray",
                "de": "Farbe: grau",
                "fr": "Couleur : gris"
              }
            },
            {
              "if": {
                "and": ["colour=white"]
              },
              "then": {
                "en": "Colour: white",
                "de": "Farbe: weiß",
                "fr": "Couleur : blanc"
              }
            },
            {
              "if": {
                "and": ["colour=red"]
              },
              "then": {
                "en": "Colour: red",
                "de": "Farbe: rot",
                "fr": "Couleur : rouge"
              }
            },
            {
              "if": {
                "and": ["colour=black"]
              },
              "then": {
                "en": "Colour: black",
                "de": "Farbe: schwarz",
                "fr": "Couleur : noire"
              }
            },
            {
              "if": {
                "and": ["colour=blue"]
              },
              "then": {
                "en": "Colour: blue",
                "de": "Farbe: blau",
                "fr": "Couleur : bleu"
              }
            },
            {
              "if": {
                "and": ["colour=yellow"]
              },
              "then": {
                "en": "Colour: yellow",
                "de": "Farbe: gelb",
                "fr": "Couleur : jaune"
              }
            }
          ]
        }
      ],
      "hideUnderlayingFeaturesMinPercentage": 0,
      "icon": {
        "render": "./assets/themes/benches/bench_poi.svg",
        "mappings": []
      },
      "width": {
        "render": "8"
      },
      "iconSize": {
        "render": "30,30,center"
      },
      "color": {
        "render": "#00f"
      },
      "presets": [
        {
          "tags": [
            "amenity=bench"
          ],
          "title": {
            "en": "Bench",
            "de": "Sitzbank",
            "fr": "Banc"
          },
          "description": {
            "en": "Add a new bench",
            "de": "Neue Sitzbank eintragen",
            "fr": "Ajouter un nouveau banc"
          }
        }
      ]
    },
    {
      "id": "bench=yes",
      "name": {
        "en": "Benches at public transport stops",
        "de": "Sitzbänke bei Haltestellen",
        "fr": "Bancs des arrêts de transport en commun"
      },
      "minzoom": 14,
      "overpassTags": {
        "or": [
          "bench=yes",
          "bench=stand_up_bench"
        ]
      },
      "title": {
        "render": {
          "en": "Bench",
          "de": "Sitzbank",
          "fr": "Banc"
        },
        "mappings": [
          {
            "if": {
              "or": [
                "public_transport=platform",
                "railway=platform",
                "highway=bus_stop"
              ]
            },
            "then": {
              "en": "Bench at public transport stop",
              "de": "Sitzbank bei Haltestelle",
              "fr": "Banc d'un arrêt de transport en commun"
            }
          },
          {
            "if": {
              "and": [
                "amenity=shelter"
              ]
            },
            "then": {
              "en": "Bench in shelter",
              "de": "Sitzbank in Unterstand",
              "fr": "Banc dans un abri"
            }
          }
        ]
      },
      "description": {},
      "tagRenderings": [
        "images",
        {
          "render": {
            "en": "{name}",
            "de": "{name}",
            "fr": "{name}"
          },
          "freeform": {
            "key": "name"
          }
        },
        {
          "render": {
            "en": "Stand up bench",
            "de": "Stehbank",
            "fr": "Banc assis debout"
          },
          "freeform": {
            "key": "bench",
            "addExtraTags": []
          },
          "condition": {
            "and": [
              "bench=stand_up_bench"
            ]
          }
        }
      ],
      "hideUnderlayingFeaturesMinPercentage": 0,
      "icon": {
        "render": "./assets/themes/benches/bench_public_transport.svg"
      },
      "width": {
        "render": "8"
      },
      "iconSize": {
        "render": "30,30,center"
      },
      "color": {
        "render": "#00f"
      }
    }
  ],
  "roamingRenderings": []
}
