mapcomplete/assets/layers/bike_cleaning/bike_cleaning.json
2022-04-13 18:42:40 +02:00

225 lines
No EOL
6.6 KiB
JSON

{
"id": "bike_cleaning",
"name": {
"en": "Bike cleaning service",
"nl": "Fietsschoonmaakpunt",
"fr": "Service de nettoyage de vélo",
"it": "Servizio lavaggio bici",
"de": "Fahrrad-Reinigungsdienste",
"zh_Hant": "單車清理服務",
"pt_BR": "Serviço de limpeza de bicicletas",
"pt": "Serviço de limpeza de bicicletas",
"ru": "Услуги по чистке велосипедов"
},
"title": {
"render": {
"en": "Bike cleaning service",
"nl": "Fietsschoonmaakpunt",
"fr": "Service de nettoyage de vélo",
"it": "Servizio lavaggio bici",
"de": "Fahrrad-Reinigungsdienst",
"zh_Hant": "單車清理服務",
"pt_BR": "Serviço de limpeza de bicicletas",
"pt": "Serviço de limpeza de bicicletas",
"ru": "Услуги по чистке велосипедов"
},
"mappings": [
{
"if": "name~*",
"then": {
"en": "Bike cleaning service <i>{name}</i>",
"nl": "Fietsschoonmaakpunt <i>{name}</i>",
"fr": "Service de nettoyage de vélo <i>{name}</i>",
"it": "Servizio lavaggio bici <i>{name}</i>",
"de": "Fahrrad-Reinigungsdienst<i>{name}</i>",
"zh_Hant": "單車清理服務 <i>{name}</i>",
"pt_BR": "Serviço de limpeza de bicicletas <i>{name}</i>",
"pt": "Serviço de limpeza de bicicletas <i>{name}</i>"
}
}
]
},
"source": {
"osmTags": {
"or": [
"service:bicycle:cleaning=yes",
"service:bicycle:cleaning=diy",
"amenity=bicycle_wash",
"amenity=bike_wash"
]
}
},
"minzoom": 13,
"presets": [
{
"title": {
"en": "a bike cleaning service",
"nl": "een fietsschoonmaakpunt",
"fr": "une service de nettoyage de vélo",
"it": "una servizio lavaggio bici",
"de": "eine fahrrad-reinigungsdienst",
"zh_Hant": "單車清理服務",
"pt_BR": "uma serviço de limpeza de bicicletas",
"pt": "uma serviço de limpeza de bicicletas",
"ru": "Услуги по чистке велосипедов"
},
"tags": [
"amenity=bicycle_wash"
]
}
],
"tagRenderings": [
"images",
{
"question": {
"en": "How much does it cost to use the cleaning service?",
"de": "Wie viel kostet die Nutzung des Reinigungsdienstes?",
"nl": "Hoeveel kost het gebruik van het fietsschoonmaakpunt?"
},
"render": {
"en": "Using the cleaning service costs {service:bicycle:cleaning:charge}",
"de": "Nutzung des Reinigungsservice kostet {service:bicycle:cleaning:charge}",
"nl": "Het gebruik van het fietsschoonmaakpunt kost {service:bicycle:cleaning:charge}"
},
"condition": {
"and": [
"amenity!=bike_wash",
"amenity!=bicycle_wash"
]
},
"freeform": {
"key": "service:bicycle:cleaning:charge",
"addExtraTags": [
"service:bicycle:cleaning:fee=yes"
],
"inline": true
},
"mappings": [
{
"if": "service:bicycle:cleaning:fee=no&service:bicycle:cleaning:charge=",
"then": {
"en": "The cleaning service is free to use",
"de": "Der Reinigungsservice ist kostenlos",
"nl": "Het fietsschoonmaakpunt is gratis"
}
},
{
"if": "service:bicycle:cleaning:fee=no",
"then": {
"en": "Free to use",
"de": "Kostenlose Nutzung",
"nl": "Gratis te gebruiken"
},
"hideInAnswer": true
},
{
"if": "service:bicycle:cleaning:fee=yes&service:bicycle:cleaning:charge=",
"then": {
"en": "The cleaning service has a fee, but the amount is not known",
"de": "Der Reinigungsdienst ist kostenpflichtig, aber der Betrag ist nicht bekannt",
"nl": "Het fietsschoonmaakpunt is betalend, maar de prijs is onbekend"
},
"hideInAnswer": true
}
],
"id": "bike_cleaning-service:bicycle:cleaning:charge"
},
{
"question": {
"en": "How much does it cost to use the cleaning service?",
"de": "Wie viel kostet die Nutzung des Reinigungsdienstes?",
"nl": "Hoeveel kost het gebruik van het fietsschoonmaakpunt?"
},
"render": {
"en": "Using the cleaning service costs {charge}",
"de": "Die Nutzung des Reinigungsdienstes kostet {charge}",
"nl": "Het gebruik van het fietsschoonmaakpunt kost {charge}"
},
"condition": {
"or": [
"amenity=bike_wash",
"amenity=bicycle_wash"
]
},
"freeform": {
"key": "charge",
"addExtraTags": [
"fee=yes"
]
},
"mappings": [
{
"if": "fee=no&charge=",
"then": {
"en": "Free to use cleaning service",
"de": "Kostenloser Reinigungsservice",
"nl": "Gratis fietsschoonmaakpunt"
}
},
{
"if": "fee=no",
"then": {
"en": "Free to use",
"de": "Kostenlose Nutzung",
"nl": "Gratis te gebruiken"
},
"hideInAnswer": true
},
{
"if": "fee=yes",
"then": {
"en": "The cleaning service has a fee",
"de": "Der Reinigungsservice ist kostenpflichtig",
"nl": "Je moet betalen voor het fietsschoonmaakpunt"
}
}
],
"id": "bike_cleaning-charge"
}
],
"deletion": {
"softDeletionTags": {
"and": [
"disused:amenity:={amenity}",
"amenity="
]
},
"neededChangesets": 1
},
"allowMove": {
"enableRelocation": false,
"enableImproveAccuraccy": true
},
"mapRendering": [
{
"icon": {
"render": "./assets/layers/bike_cleaning/bike_cleaning.svg"
},
"iconBadges": [
{
"if": {
"and": [
"service:bicycle:cleaning~*",
"amenity!=bike_wash",
"amenity!=bicycle_wash"
]
},
"then": {
"render": "./assets/layers/bike_cleaning/bike_cleaning_icon.svg",
"roaming": true
}
}
],
"iconSize": "50,50,bottom",
"location": [
"point",
"centroid"
]
}
],
"description": {
"en": "A layer showing facilities where one can clean their bike",
"nl": "Een laag die plaatsen toont waar je je fiets kunt wassen",
"de": "Eine Ebene mit Einrichtungen, in denen man sein Fahrrad reinigen kann"
}
}