mapcomplete/assets/layers/bike_cafe/bike_cafe.json
2021-05-28 12:42:59 +02:00

272 lines
No EOL
9.2 KiB
JSON
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"id": "bike_cafe",
"name": {
"en": "Bike cafe",
"nl": "Fietscafé",
"fr": "Café vélo",
"gl": "Café de ciclistas",
"de": "Fahrrad-Café",
"it": "Caffè in bici"
},
"minzoom": 13,
"source": {
"osmTags": {
"and": [
{
"or": [
"amenity=pub",
"amenity=bar",
"amenity=cafe",
"amenity=restaurant"
]
},
{
"#": "Note the double tilde in 'service:bicycle' which interprets the key as regex too",
"or": [
"pub=cycling",
"pub=bicycle",
"theme=cycling",
"theme=bicycle",
"service:bicycle:.*~~*"
]
}
]
}
},
"title": {
"render": {
"en": "Bike cafe",
"nl": "Fietscafé",
"fr": "Café Vélo",
"gl": "Café de ciclistas",
"de": "Fahrrad-Café",
"it": "Caffè in bici"
},
"mappings": [
{
"if": "name~*",
"then": {
"en": "Bike cafe <i>{name}</i>",
"nl": "Fietscafé <i>{name}</i>",
"fr": "Café Vélo <i>{name}</i>",
"gl": "Café de ciclistas <i>{name}</i>",
"de": "Fahrrad-Café <i>{name}</i>",
"it": "Caffè in bici <i>{name}</i>"
}
}
]
},
"tagRenderings": [
"images",
{
"question": {
"en": "What is the name of this bike cafe?",
"nl": "Wat is de naam van dit fietscafé?",
"fr": "Quel est le nom de ce Café vélo",
"gl": "Cal é o nome deste café de ciclistas?",
"de": "Wie heißt dieses Fahrrad-Café?",
"it": "Qual è il nome di questo caffè in bici?"
},
"render": {
"en": "This bike cafe is called {name}",
"nl": "Dit fietscafé heet {name}",
"fr": "Ce Café vélo s'appelle {name}",
"gl": "Este café de ciclistas chámase {name}",
"de": "Dieses Fahrrad-Café heißt {name}",
"it": "Questo caffè in bici è chiamato {name}"
},
"freeform": {
"key": "name"
}
},
{
"question": {
"en": "Does this bike cafe offer a bike pump for use by anyone?",
"nl": "Biedt dit fietscafé een fietspomp aan voor iedereen?",
"fr": "Est-ce que ce Café vélo propose une pompe en libre accès",
"gl": "Este café de ciclistas ofrece unha bomba de ar para que calquera persoa poida usala?",
"de": "Bietet dieses Fahrrad-Café eine Fahrradpumpe an, die von jedem benutzt werden kann?",
"it": "Questo caffè in bici offre una pompa per bici che chiunque può utilizzare?"
},
"mappings": [
{
"if": "service:bicycle:pump=yes",
"then": {
"en": "This bike cafe offers a bike pump for anyone",
"nl": "Dit fietscafé biedt een fietspomp aan voor eender wie",
"fr": "Ce Café vélo offre une pompe en libre accès",
"gl": "Este café de ciclistas ofrece unha bomba de ar",
"de": "Dieses Fahrrad-Café bietet eine Fahrradpumpe an, die von jedem benutzt werden kann",
"it": "Questo caffè in bici offre una pompa per bici liberamente utilizzabile"
}
},
{
"if": "service:bicycle:pump=no",
"then": {
"en": "This bike cafe doesn't offer a bike pump for anyone",
"nl": "Dit fietscafé biedt geen fietspomp aan voor iedereen",
"fr": "Ce Café vélo n'offre pas de pompe en libre accès",
"gl": "Este café de ciclistas non ofrece unha bomba de ar",
"de": "Dieses Fahrrad-Café bietet keine Fahrradpumpe an, die von jedem benutzt werden kann",
"it": "Questo caffè in bici non offre una pompa per bici liberamente utilizzabile"
}
}
]
},
{
"question": {
"en": "Are there tools here to repair your own bike?",
"nl": "Biedt dit fietscafé gereedschap aan om je fiets zelf te herstellen?",
"fr": "Est-ce qu'il y a des outils pour réparer soi-même son vélo?",
"gl": "Hai ferramentas aquí para arranxar a túa propia bicicleta?",
"de": "Gibt es hier Werkzeuge, um das eigene Fahrrad zu reparieren?",
"it": "Ci sono degli strumenti per riparare la propria bicicletta?"
},
"mappings": [
{
"if": "service:bicycle:diy=yes",
"then": {
"en": "This bike cafe offers tools for DIY repair",
"nl": "Dit fietscafé biedt gereedschap aan om je fiets zelf te herstellen",
"fr": "Ce Café vélo propose des outils pour réparer son vélo soi-même",
"gl": "Hai ferramentas aquí para arranxar a túa propia bicicleta",
"de": "Dieses Fahrrad-Café bietet Werkzeuge für die selbständige Reparatur an.",
"it": "Questo caffè in bici fornisce degli attrezzi per la riparazione fai-da-te"
}
},
{
"if": "service:bicycle:diy=no",
"then": {
"en": "This bike cafe doesn't offer tools for DIY repair",
"nl": "Dit fietscafé biedt geen gereedschap aan om je fiets zelf te herstellen",
"fr": "Ce Café vélo ne propose pas d'outils pour réparer son vélo soi-même",
"gl": "Non hai ferramentas aquí para arranxar a túa propia bicicleta",
"de": "Dieses Fahrrad-Café bietet keine Werkzeuge für die selbständige Reparatur an.",
"it": "Questo caffè in bici non fornisce degli attrezzi per la riparazione fai-da-te"
}
}
]
},
{
"question": {
"en": "Does this bike cafe repair bikes?",
"nl": "Herstelt dit fietscafé fietsen?",
"fr": "Est-ce que ce Café vélo répare les vélos?",
"gl": "Este café de ciclistas arranxa bicicletas?",
"de": "Repariert dieses Fahrrad-Café Fahrräder?",
"it": "Questo caffè in bici ripara le bici?"
},
"mappings": [
{
"if": "service:bicycle:repair=yes",
"then": {
"en": "This bike cafe repairs bikes",
"nl": "Dit fietscafé herstelt fietsen",
"fr": "Ce Café vélo répare les vélos",
"gl": "Este café de ciclistas arranxa bicicletas",
"de": "Dieses Fahrrad-Café repariert Fahrräder",
"it": "Questo caffè in bici ripara le bici"
}
},
{
"if": "service:bicycle:repair=no",
"then": {
"en": "This bike cafe doesn't repair bikes",
"nl": "Dit fietscafé herstelt geen fietsen",
"fr": "Ce Café vélo ne répare pas les vélos",
"gl": "Este café de ciclistas non arranxa bicicletas",
"de": "Dieses Fahrrad-Café repariert keine Fahrräder",
"it": "Questo caffè in bici non ripara le bici"
}
}
]
},
{
"question": {
"en": "What is the website of {name}?",
"nl": "Wat is de website van {name}?",
"fr": "Quel est le site internet de {name}?",
"gl": "Cal é a páxina web de {name}?",
"de": "Was ist die Webseite von {name}?",
"it": "Qual è il sito web di {name}?"
},
"render": "<a href='{website}' target='_blank'>{website}</a>",
"freeform": {
"key": "website"
}
},
{
"question": {
"en": "What is the phone number of {name}?",
"nl": "Wat is het telefoonnummer van {name}?",
"fr": "Quel est le nom de {name}?",
"gl": "Cal é o número de teléfono de {name}?",
"de": "Wie lautet die Telefonnummer von {name}?",
"it": "Qual è il numero di telefono di {name}?"
},
"render": "<a href='tel:{phone}'>{phone}</a>",
"freeform": {
"key": "phone",
"type": "phone"
}
},
{
"question": {
"en": "What is the email address of {name}?",
"nl": "Wat is het email-adres van {name}?",
"fr": "Quel est l'adresse email de {name}?",
"gl": "Cal é o enderezo de correo electrónico de {name}?",
"de": "Wie lautet die E-Mail-Adresse von {name}?",
"it": "Qual è lindirizzo email di {name}?"
},
"render": "<a href='mailto:{email}' target='_blank'>{email}</a>",
"freeform": {
"key": "email",
"type": "email"
}
},
{
"question": {
"en": "When it this bike café opened?",
"nl": "Wanneer is dit fietscafé geopend?",
"fr": "Quand ce Café vélo est-t-il ouvert ?",
"it": "Quando è aperto questo caffè in bici?"
},
"render": "{opening_hours_table(opening_hours)}",
"freeform": {
"key": "opening_hours",
"type": "opening_hours"
}
}
],
"hideUnderlayingFeaturesMinPercentage": 0,
"icon": {
"render": "./assets/layers/bike_cafe/bike_cafe.svg"
},
"width": {
"render": "2"
},
"iconSize": {
"render": "50,50,bottom"
},
"color": {
"render": "#694E2D"
},
"presets": [
{
"title": {
"en": "Bike cafe",
"nl": "Fietscafé",
"fr": "Café Vélo",
"gl": "Café de ciclistas",
"de": "Fahrrad-Café",
"it": "Caffè in bici"
},
"tags": [
"amenity=pub",
"pub=cycling"
]
}
],
"wayHandling": 2
}