mapcomplete/assets/layers/birdhide/birdhide.json
2021-11-16 04:16:44 +01:00

316 lines
No EOL
6 KiB
JSON

{
"id": "birdhide",
"name": {
"nl": "Vogelkijkhutten"
},
"minzoom": 14,
"source": {
"osmTags": {
"and": [
"leisure=bird_hide"
]
}
},
"title": {
"render": {
"nl": "Vogelkijkplaats"
},
"mappings": [
{
"if": {
"and": [
"name~((V|v)ogel.*).*"
]
},
"then": {
"nl": "{name}"
}
},
{
"if": {
"and": [
"name~*",
{
"or": [
"building!~no",
"shelter=yes"
]
}
]
},
"then": {
"nl": "Vogelkijkhut {name}"
}
},
{
"if": {
"and": [
"name~*"
]
},
"then": {
"nl": "Vogelkijkwand {name}"
}
}
]
},
"description": {
"nl": "Een vogelkijkhut"
},
"tagRenderings": [
"images",
{
"id": "bird-hide-shelter-or-wall",
"question": {
"nl": "Is dit een kijkwand of kijkhut?"
},
"mappings": [
{
"if": {
"and": [
"shelter=no",
"building=",
"amenity="
]
},
"then": {
"nl": "Vogelkijkwand"
}
},
{
"if": {
"and": [
"amenity=shelter",
"building=yes",
"shelter=yes"
]
},
"then": {
"nl": "Vogelkijkhut"
}
},
{
"if": {
"and": [
"building=tower",
"bird_hide=tower"
]
},
"then": {
"nl": "Vogelkijktoren"
}
},
{
"if": {
"or": [
"amenity=shelter",
"building=yes",
"shelter=yes"
]
},
"then": {
"nl": "Vogelkijkhut"
},
"hideInAnswer": true
}
]
},
{
"id": "bird-hide-wheelchair",
"question": {
"nl": "Is deze vogelkijkplaats rolstoeltoegankelijk?"
},
"mappings": [
{
"if": {
"and": [
"wheelchair=designated"
]
},
"then": {
"nl": "Er zijn speciale voorzieningen voor rolstoelen"
}
},
{
"if": {
"and": [
"wheelchair=yes"
]
},
"then": {
"nl": "Een rolstoel raakt er vlot"
}
},
{
"if": {
"and": [
"wheelchair=limited"
]
},
"then": {
"nl": "Je kan er raken met een rolstoel, maar het is niet makkelijk"
}
},
{
"if": {
"and": [
"wheelchair=no"
]
},
"then": {
"nl": "Niet rolstoeltoegankelijk"
}
}
]
},
{
"render": {
"nl": "Beheer door {operator}"
},
"freeform": {
"key": "operator"
},
"question": {
"nl": "Wie beheert deze vogelkijkplaats?"
},
"mappings": [
{
"if": "operator=Natuurpunt",
"then": {
"nl": "Beheer door Natuurpunt"
}
},
{
"if": "operator=Agentschap Natuur en Bos",
"then": {
"nl": "Beheer door het Agentschap Natuur en Bos "
}
}
],
"id": "birdhide-operator"
}
],
"size": {
"freeform": {
"addExtraTags": []
},
"render": {
"nl": "40,40,center"
},
"mappings": []
},
"stroke": {
"render": {
"nl": "3"
}
},
"presets": [
{
"tags": [
"leisure=bird_hide",
"building=yes",
"shelter=yes",
"amenity=shelter"
],
"title": {
"nl": "vogelkijkhut"
},
"description": {
"nl": "Een overdekte hut waarbinnen er warm en droog naar vogels gekeken kan worden"
}
},
{
"tags": [
"leisure=bird_hide",
"building=no",
"shelter=no"
],
"title": {
"nl": "vogelkijkwand"
},
"description": {
"nl": "Een vogelkijkwand waarachter men kan staan om vogels te kijken"
}
}
],
"filter": [
{
"id": "wheelchair",
"options": [
{
"question": {
"nl": "Rolstoeltoegankelijk",
"en": "Wheelchair accessible",
"de": "Zugänglich für Rollstuhlfahrer",
"fr": "Accessible aux fauteuils roulants"
},
"osmTags": {
"or": [
"wheelchair=yes",
"wheelchair=designated",
"wheelchair=permissive"
]
}
}
]
},
{
"id": "shelter",
"options": [
{
"question": {
"nl": "Enkel overdekte kijkhutten"
},
"osmTags": {
"and": [
{
"or": [
"shelter=yes",
"building~*"
]
},
"covered!=no"
]
}
}
]
}
],
"deletion": {
"softDeletionTags": {
"and": [
"disused:amenity:={amenity}",
"amenity="
]
}
},
"allowMove": {
"enableRelocation": false,
"enableImproveAccuraccy": true
},
"mapRendering": [
{
"icon": {
"render": {
"nl": "./assets/layers/birdhide/birdhide.svg"
},
"mappings": [
{
"if": {
"or": [
"building=yes",
"shelter=yes",
"amenity=shelter"
]
},
"then": "./assets/layers/birdhide/birdshelter.svg"
}
]
},
"location": [
"point",
"centroid"
]
}
]
}