mapcomplete/assets/layers/benches/benches.json
2021-03-10 20:18:05 +01:00

261 lines
No EOL
6 KiB
JSON

{
"id": "bench",
"name": {
"en": "Benches",
"de": "Sitzbänke",
"fr": "Bancs"
},
"minzoom": 14,
"overpassTags": "amenity=bench",
"title": {
"render": {
"en": "Bench",
"de": "Sitzbank",
"fr": "Banc"
}
},
"tagRenderings": [
"images",
{
"render": {
"en": "Backrest",
"de": "Rückenlehne",
"fr": "Dossier"
},
"freeform": {
"key": "backrest"
},
"mappings": [
{
"if": "backrest=yes",
"then": {
"en": "Backrest: Yes",
"de": "Rückenlehne: Ja",
"fr": "Dossier: Oui"
}
},
{
"if": "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"
},
"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": "material=wood",
"then": {
"en": "Material: wood",
"de": "Material: Holz",
"fr": "Matériau : bois"
}
},
{
"if": "material=metal",
"then": {
"en": "Material: metal",
"de": "Material: Metall",
"fr": "Matériau : métal"
}
},
{
"if": "material=stone",
"then": {
"en": "Material: stone",
"de": "Material: Stein",
"fr": "Matériau: pierre"
}
},
{
"if": "material=concrete",
"then": {
"en": "Material: concrete",
"de": "Material: Beton",
"fr": "Matériau : béton"
}
},
{
"if": "material=plastic",
"then": {
"en": "Material: plastic",
"de": "Material: Kunststoff",
"fr": "Matériau : plastique"
}
},
{
"if": "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": "colour=brown",
"then": {
"en": "Colour: brown",
"de": "Farbe: braun",
"fr": "Couleur : marron"
}
},
{
"if": "colour=green",
"then": {
"en": "Colour: green",
"de": "Farbe: grün",
"fr": "Couleur : verte"
}
},
{
"if": "colour=gray",
"then": {
"en": "Colour: gray",
"de": "Farbe: grau",
"fr": "Couleur : gris"
}
},
{
"if": "colour=white",
"then": {
"en": "Colour: white",
"de": "Farbe: weiß",
"fr": "Couleur : blanc"
}
},
{
"if": "colour=red",
"then": {
"en": "Colour: red",
"de": "Farbe: rot",
"fr": "Couleur : rouge"
}
},
{
"if": "colour=black",
"then": {
"en": "Colour: black",
"de": "Farbe: schwarz",
"fr": "Couleur : noire"
}
},
{
"if": "colour=blue",
"then": {
"en": "Colour: blue",
"de": "Farbe: blau",
"fr": "Couleur : bleu"
}
},
{
"if": "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": "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"
}
}
]
}