mapcomplete/assets/layers/playground/playground.json

424 lines
No EOL
12 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"id": "playground",
"name": {
"nl": "Speeltuinen",
"en": "Playgrounds",
"ru": "Детские площадки"
},
"minzoom": 13,
"source": {
"osmTags": {
"and": [
"leisure=playground",
"playground!=forest"
]
}
},
"calculatedTags": [
"_size_classification=Number(feat.properties._surface) < 10 ? 'small' : (Number(feat.properties._surface) < 100 ? 'medium' : 'large') "
],
"description": {
"nl": "Speeltuinen",
"en": "Playgrounds",
"it": "Parchi giochi",
"ru": "Детские площадки"
},
"title": {
"render": {
"nl": "Speeltuin",
"en": "Playground",
"it": "Parco giochi",
"ru": "Детская площадка"
},
"mappings": [
{
"if": "name~*",
"then": {
"nl": "Speeltuin <i>{name}</i>",
"en": "Playground <i>{name}</i>",
"it": "Parco giochi <i>{name}</i>",
"ru": "Детская площадка <i>{name}</i>"
}
}
]
},
"tagRenderings": [
"images",
{
"question": {
"nl": "Wat is de ondergrond van deze speeltuin?<br/><i>Indien er verschillende ondergronden zijn, neem de meest voorkomende</i>",
"en": "Which is the surface of this playground?<br/><i>If there are multiple, select the most occuring one</i>",
"it": "Qual è la superficie di questo parco giochi?<br/><i>Se ve ne è più di una, seleziona quella predominante</i>"
},
"render": {
"nl": "De ondergrond is <b>{surface}</b>",
"en": "The surface is <b>{surface}</b>",
"it": "La superficie è <b>{surface}</b>",
"ru": "Поверхность - <b>{surface}</b>"
},
"freeform": {
"key": "surface"
},
"mappings": [
{
"if": "surface=grass",
"then": {
"nl": "De ondergrond is <b>gras</b>",
"en": "The surface is <b>grass</b>",
"it": "La superficie è <b>prato</b>",
"ru": "Поверхность - <b>трава</b>"
}
},
{
"if": "surface=sand",
"then": {
"nl": "De ondergrond is <b>zand</b>",
"en": "The surface is <b>sand</b>",
"it": "La superficie è <b>sabbia</b>",
"ru": "Поверхность - <b>песок</b>"
}
},
{
"if": "surface=woodchips",
"then": {
"nl": "De ondergrond bestaat uit <b>houtsnippers</b>",
"en": "The surface consist of <b>woodchips</b>",
"it": "La superficie consiste di <b>trucioli di legno</b>"
}
},
{
"if": "surface=paving_stones",
"then": {
"nl": "De ondergrond bestaat uit <b>stoeptegels</b>",
"en": "The surface is <b>paving stones</b>",
"it": "La superficie è <b>mattonelle regolari</b>",
"ru": "Поверхность - <b>брусчатка</b>"
}
},
{
"if": "surface=asphalt",
"then": {
"nl": "De ondergrond is <b>asfalt</b>",
"en": "The surface is <b>asphalt</b>",
"it": "La superficie è <b>asfalto</b>",
"ru": "Поверхность - <b>асфальт</b>"
}
},
{
"if": "surface=concrete",
"then": {
"nl": "De ondergrond is <b>beton</b>",
"en": "The surface is <b>concrete</b>",
"it": "La superficie è <b>cemento</b>",
"ru": "Поверхность - <b>бетон</b>"
}
},
{
"if": "surface=unpaved",
"then": {
"nl": "De ondergrond is <b>onverhard</b>",
"en": "The surface is <b>unpaved</b>",
"it": "La superficie è <b>non pavimentato</b>"
},
"hideInAnswer": true
},
{
"if": "surface=paved",
"then": {
"nl": "De ondergrond is <b>verhard</b>",
"en": "The surface is <b>paved</b>",
"it": "La superficie è <b>pavimentato</b>"
},
"hideInAnswer": true
}
]
},
{
"question": {
"nl": "Is deze speeltuin 's nachts verlicht?",
"en": "Is this playground lit at night?",
"it": "È illuminato di notte questo parco giochi?"
},
"mappings": [
{
"if": "lit=yes",
"then": {
"nl": "Deze speeltuin is 's nachts verlicht",
"en": "This playground is lit at night",
"it": "Questo parco giochi è illuminato di notte"
}
},
{
"if": "lit=no",
"then": {
"nl": "Deze speeltuin is 's nachts niet verlicht",
"en": "This playground is not lit at night",
"it": "Questo parco giochi non è illuminato di notte"
}
}
]
},
{
"render": {
"nl": "Toegankelijk vanaf {min_age} jaar oud",
"en": "Accessible to kids older than {min_age} years",
"it": "Accessibile ai bambini di almeno {min_age} anni",
"ru": "Доступно для детей старше {min_age} лет"
},
"question": {
"nl": "Wat is de minimale leeftijd om op deze speeltuin te mogen?",
"en": "What is the minimum age required to access this playground?",
"it": "Qual è letà minima per accedere a questo parco giochi?"
},
"freeform": {
"key": "min_age",
"type": "pnat"
}
},
{
"render": {
"nl": "Toegankelijk tot {max_age}",
"en": "Accessible to kids of at most {max_age}",
"it": "Accessibile ai bambini di età inferiore a {max_age}"
},
"question": {
"nl": "Wat is de maximaal toegestane leeftijd voor deze speeltuin?",
"en": "What is the maximum age allowed to access this playground?",
"it": "Qual è letà massima per accedere a questo parco giochi?"
},
"freeform": {
"key": "max_age",
"type": "pnat"
}
},
{
"question": {
"nl": "Wie beheert deze speeltuin?",
"en": "Who operates this playground?",
"it": "Chi è il responsabile di questo parco giochi?"
},
"render": {
"nl": "Beheer door {operator}",
"en": "Operated by {operator}",
"it": "Gestito da {operator}"
},
"freeform": {
"key": "operator"
}
},
{
"question": {
"nl": "Is deze speeltuin vrij toegankelijk voor het publiek?",
"en": "Is this playground accessible to the general public?",
"it": "Questo parco giochi è pubblicamente accessibile?"
},
"mappings": [
{
"if": "access=",
"then": {
"en": "Accessible to the general public",
"nl": "Vrij toegankelijk voor het publiek",
"it": "Accessibile pubblicamente"
},
"hideInAnswer": true
},
{
"if": "access=yes",
"then": {
"en": "Accessible to the general public",
"nl": "Vrij toegankelijk voor het publiek",
"it": "Accessibile pubblicamente"
}
},
{
"if": "access=customers",
"then": {
"en": "Only accessible for clients of the operating business",
"nl": "Enkel toegankelijk voor klanten van de bijhorende zaak",
"it": "Accessibile solamente ai clienti dellattività che lo gestisce"
}
},
{
"if": "access=students",
"then": {
"en": "Only accessible to students of the school",
"nl": "Vrij toegankelijk voor scholieren van de school",
"it": "Accessibile solamente agli studenti della scuola"
}
},
{
"if": "access=private",
"then": {
"en": "Not accessible",
"nl": "Niet vrij toegankelijk",
"it": "Non accessibile",
"ru": "Недоступно"
}
}
]
},
{
"question": {
"nl": "Wie kan men emailen indien er problemen zijn met de speeltuin?",
"en": "What is the email address of the playground maintainer?",
"it": "Qual è lindirizzo email del gestore di questo parco giochi?"
},
"render": {
"nl": "De bevoegde dienst kan bereikt worden via <a href='mailto:{email}'>{email}</a>",
"en": "<a href='mailto:{email}'>{email}</a>",
"ca": "<a href='mailto:{email}'>{email}</a>",
"de": "<a href='mailto:{email}'>{email}</a>",
"fr": "<a href='mailto:{email}'>{email}</a>",
"it": "<a href='mailto:{email}'>{email}</a>",
"ru": "<a href='mailto:{email}'>{email}</a>"
},
"freeform": {
"key": "email",
"type": "email"
}
},
{
"question": {
"nl": "Wie kan men bellen indien er problemen zijn met de speeltuin?",
"en": "What is the phone number of the playground maintainer?"
},
"render": {
"nl": "De bevoegde dienst kan getelefoneerd worden via <a href='tel:{phone}'>{phone}</a>",
"en": "<a href='tel:{phone}'>{phone}</a>",
"ca": "<a href='tel:{phone}'>{phone}</a>",
"de": "<a href='tel:{phone}'>{phone}</a>",
"fr": "<a href='tel:{phone}'>{phone}</a>",
"ru": "<a href='tel:{phone}'>{phone}</a>"
},
"freeform": {
"key": "phone",
"type": "phone"
}
},
{
"question": {
"nl": "Is deze speeltuin toegankelijk voor rolstoelgebruikers?",
"en": "Is this playground accessible to wheelchair users?"
},
"mappings": [
{
"if": "wheelchair=yes",
"then": {
"nl": "Geheel toegankelijk voor rolstoelgebruikers",
"en": "Completely accessible for wheelchair users"
}
},
{
"if": "wheelchair=limited",
"then": {
"nl": "Beperkt toegankelijk voor rolstoelgebruikers",
"en": "Limited accessibility for wheelchair users"
}
},
{
"if": "wheelchair=no",
"then": {
"nl": "Niet toegankelijk voor rolstoelgebruikers",
"en": "Not accessible for wheelchair users"
}
}
]
},
{
"freeform": {
"key": "opening_hours",
"type": "opening_hours"
},
"render": "{opening_hours_table(opening_hours)}",
"question": {
"nl": "Op welke uren is deze speeltuin toegankelijk?",
"en": "When is this playground accessible?"
},
"mappings": [
{
"if": "opening_hours=sunrise-sunset",
"then": {
"nl": "Van zonsopgang tot zonsondergang",
"en": "Accessible from sunrise till sunset"
}
},
{
"if": "opening_hours=24/7",
"then": {
"nl": "Dag en nacht toegankelijk",
"en": "Always accessible"
}
},
{
"if": "opening_hours=",
"then": {
"nl": "Dag en nacht toegankelijk",
"en": "Always accessible",
"ru": "Всегда доступен"
},
"hideInAnswer": true
}
]
},
"questions",
{
"render": "{reviews(name, playground)}"
}
],
"hideUnderlayingFeaturesMinPercentage": 0,
"icon": {
"render": "./assets/themes/playgrounds/playground.svg"
},
"iconOverlays": [
{
"if": {
"and": [
"opening_hours!=24/7",
"opening_hours~*"
]
},
"then": "isOpen",
"badge": true
}
],
"width": {
"render": "1"
},
"iconSize": {
"render": "40,40,center",
"mappings": [
{
"if": "id~node/.*",
"then": "40,40,center"
},
{
"if": "_size_classification=small",
"then": "25,25,center"
},
{
"if": "_size_classification=medium",
"then": "40,40,center"
},
{
"if": "_size_classification=large",
"then": "60,60,center"
}
]
},
"color": {
"render": "#5dbaa9"
},
"presets": [
{
"tags": [
"leisure=playground"
],
"title": {
"nl": "Speeltuin",
"en": "Playground",
"ru": "Детская площадка"
}
}
],
"wayHandling": 2
}