mapcomplete/assets/layers/benches/benches.json

281 lines
6.4 KiB
JSON
Raw Normal View History

2021-02-26 17:22:24 +01:00
{
"id": "bench",
"name": {
"en": "Benches",
"de": "Sitzbänke",
"fr": "Bancs"
},
"minzoom": 14,
"source": {
"osmTags": "amenity=bench"
},
2021-02-26 17:22:24 +01:00
"title": {
"render": {
"en": "Bench",
"de": "Sitzbank",
"fr": "Banc"
2021-03-10 20:18:05 +01:00
}
2021-02-26 17:22:24 +01:00
},
"tagRenderings": [
"images",
{
"render": {
"en": "Backrest",
"de": "Rückenlehne",
"fr": "Dossier"
},
"freeform": {
2021-03-10 20:18:05 +01:00
"key": "backrest"
2021-02-26 17:22:24 +01:00
},
"mappings": [
{
2021-03-10 20:18:05 +01:00
"if": "backrest=yes",
2021-02-26 17:22:24 +01:00
"then": {
"en": "Backrest: Yes",
"de": "Rückenlehne: Ja",
"fr": "Dossier: Oui"
}
},
{
2021-03-10 20:18:05 +01:00
"if": "backrest=no",
2021-02-26 17:22:24 +01:00
"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"
},
"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": [
{
2021-03-10 20:18:05 +01:00
"if": "material=wood",
2021-02-26 17:22:24 +01:00
"then": {
"en": "Material: wood",
"de": "Material: Holz",
"fr": "Matériau : bois"
}
},
{
2021-03-10 20:18:05 +01:00
"if": "material=metal",
2021-02-26 17:22:24 +01:00
"then": {
"en": "Material: metal",
"de": "Material: Metall",
"fr": "Matériau : métal"
}
},
{
2021-03-10 20:18:05 +01:00
"if": "material=stone",
2021-02-26 17:22:24 +01:00
"then": {
"en": "Material: stone",
"de": "Material: Stein",
"fr": "Matériau: pierre"
}
},
{
2021-03-10 20:18:05 +01:00
"if": "material=concrete",
2021-02-26 17:22:24 +01:00
"then": {
"en": "Material: concrete",
"de": "Material: Beton",
"fr": "Matériau : béton"
}
},
{
2021-03-10 20:18:05 +01:00
"if": "material=plastic",
2021-02-26 17:22:24 +01:00
"then": {
"en": "Material: plastic",
"de": "Material: Kunststoff",
"fr": "Matériau : plastique"
}
},
{
2021-03-10 20:18:05 +01:00
"if": "material=steel",
2021-02-26 17:22:24 +01:00
"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": [
{
2021-03-10 20:18:05 +01:00
"if": "colour=brown",
2021-02-26 17:22:24 +01:00
"then": {
"en": "Colour: brown",
"de": "Farbe: braun",
"fr": "Couleur : marron"
}
},
{
2021-03-10 20:18:05 +01:00
"if": "colour=green",
2021-02-26 17:22:24 +01:00
"then": {
"en": "Colour: green",
"de": "Farbe: grün",
"fr": "Couleur : verte"
}
},
{
2021-03-10 20:18:05 +01:00
"if": "colour=gray",
2021-02-26 17:22:24 +01:00
"then": {
"en": "Colour: gray",
"de": "Farbe: grau",
"fr": "Couleur : gris"
}
},
{
2021-03-10 20:18:05 +01:00
"if": "colour=white",
2021-02-26 17:22:24 +01:00
"then": {
"en": "Colour: white",
"de": "Farbe: weiß",
"fr": "Couleur : blanc"
}
},
{
2021-03-10 20:18:05 +01:00
"if": "colour=red",
2021-02-26 17:22:24 +01:00
"then": {
"en": "Colour: red",
"de": "Farbe: rot",
"fr": "Couleur : rouge"
}
},
{
2021-03-10 20:18:05 +01:00
"if": "colour=black",
2021-02-26 17:22:24 +01:00
"then": {
"en": "Colour: black",
"de": "Farbe: schwarz",
"fr": "Couleur : noire"
}
},
{
2021-03-10 20:18:05 +01:00
"if": "colour=blue",
2021-02-26 17:22:24 +01:00
"then": {
"en": "Colour: blue",
"de": "Farbe: blau",
"fr": "Couleur : bleu"
}
},
{
2021-03-10 20:18:05 +01:00
"if": "colour=yellow",
2021-02-26 17:22:24 +01:00
"then": {
"en": "Colour: yellow",
"de": "Farbe: gelb",
"fr": "Couleur : jaune"
}
}
]
},
{
"question":{
"en": "When was this bench last surveyed?"
},
"render": {
"en": "This bench was last surveyed on {survey:date}"
},
"freeform": {
"key": "survey:date",
"type": "date"
},
"mappings": [
{
"if": "survey:date:={_now:date}",
"then": "Surveyed today!"
}
]
2021-02-26 17:22:24 +01:00
}
],
"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"
},
"description": {
"en": "Add a new bench",
"de": "Neue Sitzbank eintragen",
"fr": "Ajouter un nouveau banc"
}
}
]
}