mapcomplete/assets/layers/bike_shop/bike_shop.json

468 lines
No EOL
15 KiB
JSON

{
"id": "bike_shops",
"name": {
"en": "Bike repair/shop",
"nl": "Fietszaak",
"fr": "Magasin ou réparateur de vélo",
"gl": "Tenda/arranxo de bicicletas",
"de": "Fahrradwerkstatt/geschäft"
},
"minzoom": 13,
"overpassTags": {
"#": "We select all bicycle shops, sport shops (but we try to weed out non-bicycle related shops), and any shop with a bicycle related tag",
"or": [
"shop=bicycle",
{
"#": "if sport is defined and is not bicycle, it is retrackted; if bicycle retail/repair is marked as 'no', it is retracted too.",
"##": "There will be a few false-positives with this. They will get filtered out by people marking both 'not selling bikes' and 'not repairing bikes'. Furthermore, the OSMers will add a sports-subcategory on it",
"and": [
"shop=sports",
"service:bicycle:retail!=no",
"service:bicycle:repair!=no",
{
"or": [
"sport=bicycle",
"sport=cycling",
"sport="
]
}
]
},
{
"#": "Any shop with any bicycle service",
"and": [
"shop~*",
"service:bicycle:.*~~.*"
]
}
]
},
"title": {
"render": {
"en": "Bike repair/shop",
"nl": "Fietszaak",
"fr": "Magasin ou réparateur de vélo",
"gl": "Tenda/arranxo de bicicletas",
"de": "Fahrradwerkstatt/geschäft"
},
"mappings": [
{
"if": {
"and": [
"shop=sports",
"name~*"
]
},
"then": {
"en": "Sport gear shop <i>{name}</i>",
"nl": "Sportwinkel <i>{name}</i>",
"fr": "Magasin de sport <i>{name}</i>"
}
},
{
"if": "shop=sports",
"then": {
"en": "Sport gear shop",
"nl": "Sportwinkel",
"fr": "Magasin de sport"
}
},
{
"if": "shop!~bicycle",
"then": "Other shop"
},
{
"if": {
"and": [
"name~*",
"service:bicycle:retail!~yes",
"service:bicycle:repair!~no"
]
},
"then": {
"en": "Bike repair <i>{name}</i>",
"nl": "Fietsenmaker <i>{name}</i>",
"fr": "Réparateur de vélo <i>{name}</i>",
"gl": "Arranxo de bicicletas <i>{name}</i>",
"de": "Fahrradwerkstatt <i>{name}</i>"
}
},
{
"if": {
"and": [
"service:bicycle:retail!~yes",
"service:bicycle:repair!~no"
]
},
"then": {
"en": "Bike repair",
"nl": "Fietsenmaker",
"fr": "Réparateur de vélo",
"gl": "Arranxo de bicicletas",
"de": "Fahrradwerkstatt"
}
},
{
"if": {
"and": [
"name~*",
"service:bicycle:repair!~yes"
]
},
"then": {
"en": "Bike shop <i>{name}</i>",
"nl": "Fietswinkel <i>{name}</i>",
"fr": "Magasin de vélo <i>{name}</i>",
"gl": "Tenda de bicicletas <i>{name}</i>",
"de": "Fahrradgeschäft <i>{name}</i>"
}
},
{
"if": "service:bicycle:repair!~yes",
"then": {
"en": "Bike shop",
"nl": "Fietswinkel",
"fr": "Magasin de vélo",
"gl": "Tenda de bicicletas",
"de": "Fahrradgeschäft"
}
},
{
"if": "name~*",
"then": {
"en": "Bike repair/shop <i>{name}</i>",
"nl": "Fietszaak <i>{name}</i>",
"fr": "Magasin ou réparateur de vélo <i>{name}</i>",
"gl": "Tenda/arranxo de bicicletas <i>{name}</i>",
"de": "Fahrradwerkstatt/geschäft <i>{name}</i>"
}
}
]
},
"description": {
"en": "A shop specifically selling bicycles or related items",
"nl": "Een winkel die hoofdzakelijk fietsen en fietstoebehoren verkoopt"
},
"tagRenderings": [
"images",
{
"condition": {
"and": [
"shop!~bicycle",
"shop!~sports"
]
},
"render": {
"en": "This shop is specialized in selling {shop} and does bicycle related activities",
"nl": "Deze winkel verkoopt {shop} en heeft fiets-gerelateerde activiteiten."
}
},
{
"question": {
"en": "What is the name of this bicycle shop?",
"nl": "Wat is de naam van deze fietszaak?",
"fr": "Quel est le nom du magasin de vélo?",
"gl": "Cal é o nome desta tenda de bicicletas?",
"de": "Wie heißt dieser Fahrradladen?"
},
"render": {
"en": "This bicycle shop is called {name}",
"nl": "Deze fietszaak heet {name}",
"fr": "Ce magasin s'appelle {name}",
"gl": "Esta tenda de bicicletas chámase {name}",
"de": "Dieses Fahrradgeschäft heißt {name}"
},
"freeform": {
"key": "name"
}
},
{
"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}?"
},
"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}?"
},
"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}?"
},
"render": "<a href='mailto:{email}' target='_blank'>{email}</a>",
"freeform": {
"key": "email",
"type": "email"
}
},
{
"question": {
"en": "Does this shop sell bikes?",
"nl": "Verkoopt deze fietszaak fietsen?",
"fr": "Est-ce que ce magasin vend des vélos?",
"gl": "Esta tenda vende bicicletas?",
"de": "Verkauft dieser Laden Fahrräder?"
},
"mappings": [
{
"if": "service:bicycle:retail=yes",
"then": {
"en": "This shop sells bikes",
"nl": "Deze winkel verkoopt fietsen",
"fr": "Ce magasin vend des vélos",
"gl": "Esta tenda vende bicicletas",
"de": "Dieses Geschäft verkauft Fahrräder"
}
},
{
"if": "service:bicycle:retail=no",
"then": {
"en": "This shop doesn't sell bikes",
"nl": "Deze winkel verkoopt geen fietsen",
"fr": "Ce magasin ne vend pas de vélo",
"gl": "Esta tenda non vende bicicletas",
"de": "Dieses Geschäft verkauft keine Fahrräder"
}
}
]
},
{
"question": {
"en": "Does this shop repair bikes?",
"nl": "Herstelt deze winkel fietsen?",
"fr": "Est-ce que ce magasin répare des vélos?",
"gl": "Esta tenda arranxa bicicletas?",
"de": "Repariert dieses Geschäft Fahrräder?"
},
"mappings": [
{
"if": "service:bicycle:repair=yes",
"then": {
"en": "This shop repairs bikes",
"nl": "Deze winkel herstelt fietsen",
"fr": "Ce magasin répare des vélos",
"gl": "Esta tenda arranxa bicicletas",
"de": "Dieses Geschäft repariert Fahrräder"
}
},
{
"if": "service:bicycle:repair=no",
"then": {
"en": "This shop doesn't repair bikes",
"nl": "Deze winkel herstelt geen fietsen",
"fr": "Ce magasin ne répare pas les vélos",
"gl": "Esta tenda non arranxa bicicletas",
"de": "Dieses Geschäft repariert keine Fahrräder"
}
},
{
"if": "service:bicycle:repair=only_sold",
"then": {
"en": "This shop only repairs bikes bought here",
"nl": "Deze winkel herstelt enkel fietsen die hier werden gekocht",
"fr": "Ce magasin ne répare seulement les vélos achetés là-bas",
"gl": "Esta tenda só arranxa bicicletas mercadas aquí",
"de": "Dieses Geschäft repariert nur hier gekaufte Fahrräder"
}
},
{
"if": "service:bicycle:repair=brand",
"then": {
"en": "This shop only repairs bikes of a certain brand",
"nl": "Deze winkel herstelt enkel fietsen van een bepaald merk",
"fr": "Ce magasin ne répare seulement des marques spécifiques",
"gl": "Esta tenda só arranxa bicicletas dunha certa marca",
"de": "Dieses Geschäft repariert nur Fahrräder einer bestimmten Marke"
}
}
]
},
{
"question": {
"en": "Does this shop rent out bikes?",
"nl": "Verhuurt deze winkel fietsen?",
"fr": "Est-ce ce magasin loue des vélos?",
"gl": "Esta tenda aluga bicicletas?",
"de": "Vermietet dieser Laden Fahrräder?"
},
"mappings": [
{
"if": "service:bicycle:rental=yes",
"then": {
"en": "This shop rents out bikes",
"nl": "Deze winkel verhuurt fietsen",
"fr": "Ce magasin loue des vélos",
"gl": "Esta tenda aluga bicicletas",
"de": "Dieses Geschäft vermietet Fahrräder"
}
},
{
"if": "service:bicycle:rental=no",
"then": {
"en": "This shop doesn't rent out bikes",
"nl": "Deze winkel verhuurt geen fietsen",
"fr": "Ce magasin ne loue pas de vélos",
"gl": "Esta tenda non aluga bicicletas",
"de": "Dieses Geschäft vermietet keine Fahrräder"
}
}
]
},
{
"question": {
"en": "Does this shop sell second-hand bikes?",
"nl": "Verkoopt deze winkel tweedehands fietsen?",
"fr": "Est-ce ce magasin vend des vélos d'occasion",
"gl": "Esta tenda vende bicicletas de segunda man?",
"de": "Verkauft dieses Geschäft gebrauchte Fahrräder?"
},
"mappings": [
{
"if": "service:bicycle:second_hand=yes",
"then": {
"en": "This shop sells second-hand bikes",
"nl": "Deze winkel verkoopt tweedehands fietsen",
"fr": "Ce magasin vend des vélos d'occasion",
"gl": "Esta tenda vende bicicletas de segunda man",
"de": "Dieses Geschäft verkauft gebrauchte Fahrräder"
}
},
{
"if": "service:bicycle:second_hand=no",
"then": {
"en": "This shop doesn't sell second-hand bikes",
"nl": "Deze winkel verkoopt geen tweedehands fietsen",
"fr": "Ce magasin ne vend pas de vélos d'occasion",
"gl": "Esta tenda non vende bicicletas de segunda man",
"de": "Dieses Geschäft verkauft keine gebrauchten Fahrräder"
}
},
{
"if": "service:bicycle:second_hand=only",
"then": {
"en": "This shop only sells second-hand bikes",
"nl": "Deze winkel verkoopt enkel tweedehands fietsen",
"fr": "Ce magasin vend seulement des vélos d'occasion",
"gl": "Esta tenda só vende bicicletas de segunda man",
"de": "Dieses Geschäft verkauft nur gebrauchte Fahrräder"
}
}
]
},
{
"question": {
"en": "Does this shop offer a bike pump for use by anyone?",
"nl": "Biedt deze winkel een fietspomp aan voor iedereen?",
"fr": "Est-ce que ce magasin offre une pompe en accès libre?",
"gl": "Esta tenda ofrece unha bomba de ar para uso de calquera persoa?",
"de": "Bietet dieses Geschäft eine Fahrradpumpe zur Benutzung für alle an?"
},
"mappings": [
{
"if": "service:bicycle:pump=yes",
"then": {
"en": "This shop offers a bike pump for anyone",
"nl": "Deze winkel biedt een fietspomp aan voor iedereen",
"fr": "Ce magasin offre une pompe en acces libre",
"gl": "Esta tenda ofrece unha bomba de ar para uso de calquera persoa",
"de": "Dieses Geschäft bietet eine Fahrradpumpe für alle an"
}
},
{
"if": "service:bicycle:pump=no",
"then": {
"en": "This shop doesn't offer a bike pump for anyone",
"nl": "Deze winkel biedt geen fietspomp aan voor eender wie",
"fr": "Ce magasin n'offre pas de pompe en libre accès",
"gl": "Esta tenda non ofrece unha bomba de ar para uso de calquera persoa",
"de": "Dieses Geschäft bietet für niemanden eine Fahrradpumpe an"
}
}
]
},
{
"question": {
"en": "Are there tools here to repair your own bike?",
"nl": "Biedt deze winkel gereedschap aan om je fiets zelf te herstellen?",
"fr": "Est-ce qu'il y a des outils pour réparer son vélo dans ce magasin?",
"gl": "Hai ferramentas aquí para arranxar a túa propia bicicleta?",
"de": "Gibt es hier Werkzeuge, um das eigene Fahrrad zu reparieren?"
},
"mappings": [
{
"if": "service:bicycle:diy=yes",
"then": {
"en": "This shop offers tools for DIY repair",
"nl": "Deze winkel biedt gereedschap aan om je fiets zelf te herstellen",
"fr": "Ce magasin offre des outils pour réparer son vélo soi-même",
"gl": "Hai ferramentas aquí para arranxar a túa propia bicicleta",
"de": "Dieses Geschäft bietet Werkzeuge für die Heimwerkerreparatur an"
}
},
{
"if": "service:bicycle:diy=no",
"then": {
"en": "This shop doesn't offer tools for DIY repair",
"nl": "Deze winkel biedt geen gereedschap aan om je fiets zelf te herstellen",
"fr": "Ce magasin n'offre pas des outils pour réparer son vélo soi-même",
"gl": "Non hai ferramentas aquí para arranxar a túa propia bicicleta",
"de": "Dieses Geschäft bietet keine Werkzeuge für Heimwerkerreparaturen an"
}
}
]
}
],
"hideUnderlayingFeaturesMinPercentage": 1,
"presets": [
{
"title": {
"en": "Bike repair/shop",
"nl": "Fietszaak",
"fr": "Magasin et réparateur de vélo",
"gl": "Tenda/arranxo de bicicletas",
"de": "Fahrradwerkstatt/geschäft"
},
"tags": [
"shop=bicycle"
]
}
],
"icon": {
"render": "./assets/layers/bike_shop/repair_shop.svg",
"mappings": [
{
"if": "service:bicycle:retail=yes",
"then": "./assets/layers/bike_shop/shop.svg"
}
]
},
"width": {
"render": "1"
},
"iconSize": {
"render": "50,50,bottom"
},
"color": {
"render": "#c00"
},
"wayHandling": 2
}