mapcomplete/assets/layers/waste_basket/waste_basket.json

230 lines
No EOL
7.3 KiB
JSON

{
"id": "waste_basket",
"name": {
"en": "Waste Basket",
"nl": "Vuilnisbak",
"ru": "Контейнер для мусора",
"de": "Abfalleimer"
},
"minzoom": 17,
"source": {
"osmTags": {
"and": [
"amenity=waste_basket"
]
}
},
"title": {
"render": {
"en": "Waste Basket",
"nl": "Vuilnisbak",
"ru": "Контейнер для мусора",
"de": "Abfalleimer"
}
},
"description": {
"en": "This is a public waste basket, thrash can, where you can throw away your thrash.",
"nl": "Dit is een publieke vuilnisbak waar je je afval kan weggooien.",
"de": "Dies ist ein öffentlicher Abfalleimer, in den Sie Ihren Müll entsorgen können."
},
"tagRenderings": [
{
"id": "waste-basket-waste-types",
"question": {
"en": "What kind of waste basket is this?",
"nl": "Wat voor soort vuilnisbak is dit?"
},
"multiAnswer": true,
"mappings": [
{
"if": "waste=",
"then": {
"en": "A waste basket for general waste",
"nl": "Een vuilnisbak voor zwerfvuil",
"de": "Ein Abfalleimer für allgemeinen Müll"
},
"hideInAnswer": true
},
{
"if": "waste=trash",
"then": {
"en": "A waste basket for general waste",
"nl": "Een vuilnisbak voor zwerfvuil",
"de": "Ein Abfalleimer für allgemeinen Müll"
}
},
{
"if": "waste=dog_excrement",
"then": {
"en": "A waste basket for dog excrements",
"nl": "Een vuilnisbak specifiek voor hondenuitwerpselen",
"de": "Ein Abfalleimer für Hundekot"
}
},
{
"if": "waste=cigarettes",
"then": {
"en": "A waste basket for cigarettes",
"nl": "Een vuilnisbak voor sigarettenpeuken",
"de": "Mülleimer für Zigaretten"
}
},
{
"if": "waste=drugs",
"then": {
"en": "A waste basket for drugs",
"nl": "Een vuilnisbak voor (vervallen) medicatie en drugs",
"de": "Mülleimer für Drogen"
}
},
{
"if": "waste=sharps",
"then": {
"en": "A waste basket for needles and other sharp objects",
"nl": "Een vuilnisbak voor injectienaalden en andere scherpe voorwerpen"
}
}
]
},
{
"id": "dispensing_dog_bags",
"question": {
"en": "Does this waste basket have a dispenser for dog excrement bags?",
"nl": "Heeft deze vuilnisbak een verdeler voor hondenpoepzakjes?"
},
"condition": {
"or": [
"waste=dog_excrement",
"waste=trash",
"waste="
]
},
"mappings": [
{
"if": {
"and": [
"vending=dog_excrement_bag",
"not:vending="
]
},
"then": {
"en": "This waste basket has a dispenser for (dog) excrement bags",
"nl": "Deze vuilnisbak heeft een verdeler voor hondenpoepzakjes"
}
},
{
"if": {
"and": [
"not:vending=dog_excrement_bag",
"vending="
]
},
"then": {
"en": "This waste basket <b>does not</b> have a dispenser for (dog) excrement bags",
"nl": "Deze vuilnisbak heeft <i>geen</i>verdeler voor hondenpoepzakjes"
}
},
{
"if": "vending=",
"then": {
"en": "This waste basket <b>does not</b> have a dispenser for (dog) excrement bags",
"nl": "Deze vuilnisbaak heeft waarschijnlijk geen verdeler voor hondenpoepzakjes"
},
"hideInAnwer": true
}
]
}
],
"icon": {
"render": "./assets/themes/waste_basket/waste_basket.svg"
},
"width": {
"render": "8"
},
"iconSize": {
"render": "40,40,center",
"mappings": [
{
"if": {
"and": [
"amenity=waste_basket"
]
},
"then": {
"en": "Waste Basket",
"nl": "Vuilnisbak",
"ru": "Контейнер для мусора",
"de": "Abfalleimer"
}
}
]
},
"color": {
"render": "#00f"
},
"presets": [
{
"tags": [
"amenity=waste_basket"
],
"title": {
"en": "Waste Basket",
"nl": "Vuilnisbak",
"ru": "Контейнер для мусора",
"de": "Abfalleimer"
},
"presiceInput": {
"preferredBackground": "photo"
}
}
],
"deletion": {
"softDeletionTags": {
"and": [
"disused:amenity:={amenity}",
"amenity="
]
},
"neededChangesets": 1
},
"allowMove": {
"enableRelocation": false,
"enableImproveAccuraccy": true
},
"mapRendering": [
{
"icon": {
"render": "./assets/themes/waste_basket/waste_basket.svg"
},
"iconSize": {
"render": "40,40,center",
"mappings": [
{
"if": {
"and": [
"amenity=waste_basket"
]
},
"then": {
"en": "Waste Basket",
"nl": "Vuilnisbak",
"ru": "Контейнер для мусора",
"de": "Abfalleimer"
}
}
]
},
"location": [
"point"
]
},
{
"color": {
"render": "#00f"
},
"width": {
"render": "8"
}
}
]
}