Add access to recycling, image/type to wastedisposal

This commit is contained in:
Robin van der Linde 2023-01-29 14:12:54 +01:00
parent 360172dc91
commit a37b2810c2
Signed by untrusted user who does not match committer: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D
2 changed files with 85 additions and 0 deletions

View file

@ -1041,6 +1041,44 @@
"it": "Quali sono gli orari di apertura di questo impianto di raccolta e riciclo?"
}
}
},
{
"id": "access",
"question": {
"en": "Who can use this recycling facility?",
"nl": "Wie kan deze recyclingfaciliteit gebruiken?"
},
"mappings": [
{
"if": "access=yes",
"then": {
"en": "Everyone can use this recycling facility",
"nl": "Iedereen mag deze recyclingfaciliteit gebruiken"
}
},
{
"if": "access=residents",
"then": {
"en": "Only residents can use this recycling facility",
"nl": "Enkel bewoners kunnen deze recyclingfaciliteit gebruiken"
}
},
{
"if": "access=private",
"then": {
"en": "This recycling facility is only for private use",
"nl": "Deze recyclingfaciliteit is alleen voor privégebruik"
}
}
],
"freeform": {
"key": "access",
"type": "string"
},
"render": {
"en": "This recycling facility can be used by {access}",
"nl": "Deze recyclingfaciliteit kan gebruikt worden door {access}"
}
}
],
"filter": [
@ -1250,6 +1288,28 @@
"osmTags": "recycling:waste=yes"
}
]
},
{
"#": "ignore-possible-duplicate",
"id": "public-access",
"options": [
{
"question": {
"en": "Only public access",
"nl": "Enkel publiek toegankelijke afvalcontainers",
"de": "Nur öffentliche Mülltonnen",
"it": "Solo accesso pubblico",
"id": "Hanya akses publik",
"da": "Kun offentlig adgang"
},
"osmTags": {
"or": [
"access=yes",
"access="
]
}
}
]
}
],
"deletion": {

View file

@ -64,6 +64,31 @@
}
],
"tagRenderings": [
"images",
{
"id": "type",
"description": "Mapping allowing to change between waste_disposal and recycling",
"question": {
"en": "What kind of waste disposal bin is this?"
},
"mappings": [
{
"if": "amenity=waste_disposal",
"then": {
"en": "This is a medium to large bin for disposal of (household) waste"
}
},
{
"if": "amenity=recycling",
"then": {
"en": "This is actually a recycling container"
},
"addExtraTags": [
"recycling_type=container"
]
}
]
},
{
"id": "access",
"render": {