mapcomplete/assets/layers/bike_shop/bike_shop.json

393 lines
13 KiB
JSON

{
"id": "bike_shop",
"name": {
"en": "Bike repair/shop",
"nl": "Fietszaak",
"fr": "Magasin ou réparateur de vélo",
"gl": "Tenda/arranxo de bicicletas",
"de": "Fahrradgeschäfte und -werkstätten",
"it": "Venditore/riparatore di biciclette",
"ru": "Обслуживание велосипедов/магазин",
"pt_BR": "Reparo/loja de bicicletas",
"pt": "Reparo/loja de bicicletas",
"ca": "Botiga/reparació de bicicletes",
"es": "Taller/tienda de bicis",
"da": "Cykelreparation/butik",
"cs": "Opravna/obchod s jízdními koly"
},
"description": {
"en": "A shop specifically selling bicycles or related items",
"nl": "Een winkel die hoofdzakelijk fietsen en fietstoebehoren verkoopt",
"fr": "Un magasin vendant spécifiquement des vélos ou des objets en lien",
"it": "Un negozio che vende specificatamente biciclette o articoli similari",
"ru": "Магазин, специализирующийся на продаже велосипедов или сопутствующих товаров",
"pt_BR": "Uma loja que vende especificamente bicicletas ou itens relacionados",
"de": "Ein Geschäft, das speziell Fahrräder oder verwandte Artikel verkauft",
"pt": "Uma loja que vende especificamente bicicletas ou itens relacionados",
"es": "Una tiene que vende específicamente bicis u objetos relacionados",
"da": "En butik, der specifikt sælger cykler eller relaterede varer",
"ca": "Una botiga que ven específicament bicicletes o articles relacionats",
"cs": "Obchod zaměřený na prodej jízdních kol nebo souvisejících předmětů"
},
"source": {
"osmTags": {
"#": "We select all bicycle shops, sports shops (but we try to weed out non-bicycle related shops), and any shop with a bicycle related tag",
"or": [
"shop=bicycle",
"service:bicycle:retail=yes",
"service:bicycle:repair=yes",
{
"#": "if sport is defined and is not bicycle, it is not matched; if bicycle retail/repair is marked as 'no', it is not shown to 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="
]
}
]
}
]
}
},
"minzoom": 13,
"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",
"it": "Venditore/riparatore di biciclette",
"ru": "Обслуживание велосипедов/магазин",
"pt_BR": "Reparo/loja de bicicletas",
"pt": "Reparo/loja de bicicletas",
"ca": "Botiga/reparació de bicicletes",
"da": "Cykelværksted/butik",
"es": "Taller/tienda de bicis",
"cs": "Oprava kol/obchod"
},
"mappings": [
{
"if": {
"and": [
"shop=sports"
]
},
"then": {
"en": "Sports gear shop <i>{name}</i>",
"nl": "Sportwinkel <i>{name}</i>",
"fr": "Magasin d'équipements de sport <i>{name}</i>",
"it": "Negozio di articoli sportivi <i>{name}</i>",
"ru": "Магазин спортивного инвентаря <i>{name}</i>",
"de": "Sportartikelgeschäft <i>{name}</i>",
"pt_BR": "Loja de equipamentos esportivos <i>{name}</i>",
"pt": "Loja de equipamentos desportivos <i>{name}</i>",
"es": "Tienda de material deportivo <i>{name}</i>",
"da": "Butik med sportsudstyr <i>{name}</i>",
"ca": "Botiga d'equipament esportiu <i>{name}</i>",
"cs": "Obchod se sportovním vybavením <i>{name}</i>"
}
},
{
"if": "name~*",
"then": {
"*": "{name}"
}
},
{
"if": {
"and": [
"shop!~.*bicycle.*",
"shop~*"
]
},
"then": {
"en": "Bicycle rental shop <i>{name}</i>",
"de": "Fahrradverleih <i>{name}</i>",
"nl": "Fietsverhuur <i>{name}</i>",
"es": "Tienda de alquiler de bicicletas <i>{name}</i>",
"fr": "Magasin de location de vélo <i>{name}</i>",
"da": "Cykeludlejning <i>{name}</i>",
"ca": "Botiga de lloguer de bicicletes <i>{name}</i>",
"cs": "Půjčovna kol <i>{name}</i>",
"it": "Noleggio di biciclette <i>{name}</i>",
"pt": "Aluguel de bicicletas <i>{name}</i>",
"pt_BR": "Aluguel de bicicletas <i>{name}</i>",
"ru": "Прокат велосипедов <i>{name}</i>"
}
},
{
"if": {
"and": [
{
"or": [
"service:bicycle:rental=yes",
"amenity=bicycle_rental",
"shop=rental",
"shop=bicycle_rental"
]
}
]
},
"then": {
"nl": "Fietsenmaker <i>{name}</i>",
"en": "Bike repair <i>{name}</i>",
"fr": "Réparateur de vélo <i>{name}</i>",
"it": "Riparazione di biciclette <i>{name}</i>",
"ru": "Ремонт велосипедов <i>{name}</i>",
"de": "Fahrradwerkstatt <i>{name}</i>",
"pt_BR": "Reparo de bicicletas <i>{name}</i>",
"pt": "Reparo de bicicletas <i>{name}</i>",
"es": "Reparación de bicis <i>{name}</i>",
"da": "Cykelreparation <i>{name}</i>",
"ca": "Reparació de bicis <i>{name}</i>",
"cs": "Opravy kol <i>{name}</i>",
"gl": "Arranxo de bicicletas <i>{name}</i>"
}
},
{
"if": {
"and": [
"service:bicycle:retail!~yes",
"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>",
"it": "Negozio di biciclette <i>{name}</i>",
"ru": "Магазин велосипедов <i>{name}</i>",
"pt_BR": "Loja de bicicletas <i>{name}</i>",
"pt": "Loja de bicicletas <i>{name}</i>",
"es": "Tienda de bicis <i>{name}</i>",
"da": "Cykelforretning <i>{name}</i>",
"ca": "Botiga de bicis <i>{name}</i>",
"cs": "Prodejna kol <i>{name}</i>"
}
},
{
"if": {
"and": [
"service:bicycle:repair!~yes"
]
},
"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>",
"it": "Venditore/riparatore di biciclette <i>{name}</i>",
"ru": "Магазин велосипедов <i>{name}</i>",
"pt_BR": "Loja/reparo de bicicletas <i>{name}</i>",
"pt": "Loja/reparo de bicicletas <i>{name}</i>",
"es": "Taller/tienda de bicis <i>{name}</i>",
"da": "Cykelværksted<i>{name}</i>",
"ca": "Taller/botiga de bicis <i>{name}</i>",
"cs": "Oprava kol/obchod <i>{name}</i>"
}
},
{
"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>",
"it": "Venditore/riparatore di biciclette <i>{name}</i>",
"pt_BR": "Loja/reparo de bicicletas <i>{name}</i>",
"pt": "Loja/reparo de bicicletas <i>{name}</i>",
"da": "Cykelværksted<i>{name}</i>",
"es": "Taller/tienda de bicis <i>{name}</i>",
"ca": "Taller/botiga de bicis <i>{name}</i>",
"cs": "Oprava kol/obchod <i>{name}</i>"
}
}
]
},
"titleIcons": [
{
"render": "<a href='https://fietsambassade.gent.be/' target='_blank'><img src='./assets/themes/cyclofix/fietsambassade_gent_logo_small.svg'/></a>",
"condition": "operator=De Fietsambassade Gent"
},
{
"condition": {
"or": [
"service:bicycle:pump=yes",
"service:bicycle:pump=separate"
]
},
"render": "<img src='./assets/layers/bike_shop/pump.svg'/>"
},
{
"condition": "service:bicycle:diy=yes",
"render": "<img src='./assets/layers/bike_shop/tools.svg'/>"
},
{
"condition": "service:bicycle:cleaning=yes",
"render": "<img src='./assets/layers/bike_cleaning/bike_cleaning_icon.svg'/>"
},
"icons.defaults"
],
"pointRendering": [
{
"marker": [
{
"icon": {
"render": "pin",
"mappings": [
{
"if": "operator=De Fietsambassade Gent",
"then": null
}
]
},
"color": {
"render": "#f04c4c",
"mappings": [
{
"if": "operator=De Fietsambassade Gent",
"then": null
},
{
"if": "service:bicycle:retail=yes",
"then": "#353d57"
}
]
}
},
{
"icon": {
"render": "./assets/layers/bike_shop/repair_shop.svg",
"mappings": [
{
"if": "operator=De Fietsambassade Gent",
"then": "./assets/themes/cyclofix/fietsambassade_gent_logo_small.svg"
},
{
"if": "service:bicycle:retail=yes",
"then": "./assets/layers/bike_shop/shop.svg"
}
]
}
}
],
"iconBadges": [
{
"if": "opening_hours~*",
"then": "icons.isOpen"
},
{
"if": "service:bicycle:pump=yes",
"then": "circle:#e2783d;./assets/layers/bike_shop/pump.svg"
},
{
"if": {
"and": [
"service:bicycle:cleaning~*",
"service:bicycle:cleaning!=no"
]
},
"then": "circle:#6bc4f7;./assets/layers/bike_cleaning/bike_cleaning_icon.svg"
}
],
"iconSize": "50,50",
"anchor": "bottom",
"location": [
"point",
"centroid"
]
}
],
"lineRendering": [
{
"color": "#c00",
"width": "1"
}
],
"presets": [
{
"title": {
"en": "a bike repair/shop",
"nl": "een fietszaak",
"fr": "une magasin et réparateur de vélo",
"gl": "Tenda/arranxo de bicicletas",
"de": "eine Fahrradwerkstatt bzw. ein Fahrradgeschäft",
"it": "una negozio/riparatore di bici",
"ru": "Обслуживание велосипедов/магазин",
"es": "un taller/tienda de bicis",
"da": "en cykelværksted/butik",
"ca": "una botiga/reparació de bicicletes",
"cs": "opravna/obchod s jízdními koly"
},
"tags": [
"shop=bicycle"
]
}
],
"tagRenderings": [
"shops.*"
],
"#filter": "no-auto",
"filter": [
{
"id": "sells_second-hand",
"options": [
{
"question": {
"en": "Sells second-hand bicycles",
"de": "Verkauft gebrauchte Fahrräder",
"nl": "Verkoopt tweedehands fietsen",
"it": "Vende biciclette usate",
"ca": "Ven bicicletes de segona mà",
"cs": "Prodává použitá jízdní kola",
"fr": "Vend des vélos usagés",
"es": "Vende bicicletas de segunda mano"
},
"osmTags": {
"or": [
"service:bicycle:second_hand=yes",
"service:bicycle:second_hand=only"
]
}
}
]
},
{
"id": "offers_diy_repair",
"options": [
{
"question": {
"en": "Offers DIY bike repair",
"de": "Bietet Selbstreparatur an",
"nl": "Biedt doe-het-zelfreparaties aan",
"it": "Offre riparazioni fai da te",
"cs": "Nabízí opravy kol \"Udělej si sám\"",
"fr": "Offre des services DIY",
"ca": "Ofereix reparar un mateix la bici",
"es": "Ofrece herramientas para autorreparación de bicis"
},
"osmTags": {
"or": [
"service:bicycle:diy=yes",
"service:bicycle:diy=only"
]
}
}
]
},
"open_now"
],
"deletion": true,
"allowMove": true
}