mapcomplete/assets/layers/waste_disposal/waste_disposal.json

118 lines
2.4 KiB
JSON
Raw Normal View History

2022-01-01 15:32:33 +01:00
{
"id": "waste_disposal",
"name": {
"en": "Waste Disposal Bins"
},
"description": {
"en": "Waste Disposal Bin, medium to large bin for disposal of (household) waste"
},
"source": {
"osmTags": "amenity=waste_disposal"
},
"minZoom": 12,
"title": {
"render": {
"en": "Waste Disposal"
}
},
"mapRendering": [
{
"location": [
"point",
"centroid"
],
"icon": "./assets/layers/waste_disposal/waste_disposal.svg"
}
],
"presets": [
{
"title": {
"en": "Waste Disposal Bin"
},
"tags": [
"amenity=waste_disposal"
],
"description": {
"en": "Medium to large bin for disposal of (household) waste"
}
}
],
"tagRenderings": [
{
"id": "access",
"render": {
"en": "Access: {access}"
},
"question": {
"en": "Who can use this waste disposal bin?"
},
"freeform": {
"key": "access",
"type": "string"
},
"mappings": [
{
"if": "access=yes",
"then": {
"en": "This bin can be used by anyone"
}
},
{
"if": "access=no",
"then": {
"en": "This bin is private"
}
},
{
"if": "access=residents",
"then": {
"en": "This bin is only for residents"
}
}
]
},
{
"id": "disposal-location",
"question": {
"en": "Where is this container located?",
"nl": "Waar bevindt deze container zich?"
},
"mappings": [
{
"if": "location=underground",
"then": {
"en": "This is an underground container",
"nl": "Dit is een ondergrondse container"
}
},
{
"if": "location=indoor",
"then": {
"en": "This container is located indoors",
"nl": "Deze container bevindt zich binnen"
}
},
{
"if": "location=",
"then": {
"en": "This container is located outdoors",
"nl": "Deze container is buiten"
}
}
]
2022-01-01 15:32:33 +01:00
}
],
"filter": [
{
"id": "public-access",
"options": [
{
"question": {
"en": "Only public access"
},
"osmTags": "access=yes"
}
]
}
]
}