forked from MapComplete/MapComplete
Porting cyclofix-shops to a .json definition, removing now unneeded classes
This commit is contained in:
parent
bb209ee731
commit
02c2e48293
23 changed files with 428 additions and 590 deletions
|
@ -1,5 +0,0 @@
|
|||
<svg width="98" height="123" viewBox="0 0 98 123" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M54.0445 113.094C52.2614 116.981 46.7386 116.981 44.9555 113.094L14.2124 46.085C12.6928 42.7729 15.1129 39 18.7569 39L80.2431 39C83.8871 39 86.3072 42.7729 84.7876 46.085L54.0445 113.094Z" fill="#AB76D5"/>
|
||||
<circle cx="49" cy="49" r="49" fill="#AB76D5"/>
|
||||
<path d="M75.163 23.5441C68.1745 16.7447 58.883 13 49 13C39.117 13 29.8255 16.7447 22.837 23.5441C15.8487 30.3437 12 39.3841 12 49C12 58.6159 15.8487 67.6563 22.837 74.4559C29.8255 81.2553 39.117 85 49 85C58.883 85 68.1745 81.2553 75.163 74.4559C82.1513 67.6563 86 58.6159 86 49C86 39.3841 82.1513 30.3437 75.163 23.5441ZM49 22.8438C53.3832 22.8438 56.9492 26.3134 56.9492 30.5781C56.9492 34.8429 53.3832 38.3125 49 38.3125C44.6168 38.3125 41.0508 34.8429 41.0508 30.5781C41.0508 26.3134 44.6168 22.8438 49 22.8438ZM59.1172 72.0625H38.8828V67.8438H43.2188V46.75H38.8828V42.5312H54.7812V67.8438H59.1172V72.0625Z" fill="white"/>
|
||||
</svg>
|
Before Width: | Height: | Size: 995 B |
|
@ -174,7 +174,11 @@
|
|||
"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>"
|
||||
"render": "<a href='mailto:{email}' target='_blank'>{email}</a>",
|
||||
"freeform": {
|
||||
"key": "email",
|
||||
"type": "email"
|
||||
}
|
||||
}
|
||||
],
|
||||
"hideUnderlayingFeaturesMinPercentage": 0,
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
"en": "Bike stations (repair, pump or both)",
|
||||
"nl": "Fietspunten (herstel, pomp of allebei)",
|
||||
"fr": "Station velo (réparation, pompe à vélo)",
|
||||
"gl": "Estación de bicicletas (arranxo, bomba de ar ou ambos)"
|
||||
"gl": "Estación de bicicletas (arranxo, bomba de ar ou ambos)",
|
||||
"de": "Fahrradstation (Reparatur, Pumpe oder beides)"
|
||||
},
|
||||
"minzoom": 13,
|
||||
"overpassTags": {
|
||||
|
@ -17,7 +18,8 @@
|
|||
"en": "Bike station (pump & repair)",
|
||||
"nl": "Herstelpunt met pomp",
|
||||
"fr": "Point station velo avec pompe",
|
||||
"gl": "Estación de bicicletas (arranxo e bomba de ar)"
|
||||
"gl": "Estación de bicicletas (arranxo e bomba de ar)",
|
||||
"de": "Fahrradstation (Pumpe & Reparatur)"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
|
@ -31,7 +33,8 @@
|
|||
"en": "Bike repair station",
|
||||
"nl": "Herstelpunt",
|
||||
"fr": "Point de réparation velo",
|
||||
"gl": "Estación de arranxo de bicicletas"
|
||||
"gl": "Estación de arranxo de bicicletas",
|
||||
"de": "Fahrradwerkstatt"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -235,7 +238,7 @@
|
|||
"en": "This pump supports the following valves: {valves}",
|
||||
"nl": "Deze pomp werkt met de volgende ventielen: {valves}",
|
||||
"fr": "Cette pompe est compatible avec les valves suivantes: {valves}",
|
||||
"gl": "Esta bomba de ar admite as seguintes válvulas: {valves}"
|
||||
"gl": "Esta bomba de ar admite as seguintes válvulas: {valves}",
|
||||
},
|
||||
"freeform": {
|
||||
"#addExtraTags": [
|
||||
|
|
401
assets/layers/bike_shop/bike_shop.json
Normal file
401
assets/layers/bike_shop/bike_shop.json
Normal file
|
@ -0,0 +1,401 @@
|
|||
{
|
||||
"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": {
|
||||
"and": [
|
||||
"shop=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": [
|
||||
"name~*",
|
||||
"service:bicycle:retail!~yes"
|
||||
]
|
||||
},
|
||||
"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": "service:bicycle:retail!~yes",
|
||||
"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",
|
||||
{
|
||||
"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
|
||||
}
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Loading…
Add table
Add a link
Reference in a new issue