228 lines
No EOL
4.9 KiB
JSON
228 lines
No EOL
4.9 KiB
JSON
{
|
|
"id": "sport_pitch",
|
|
"name": {
|
|
"nl": "Sportterrein"
|
|
},
|
|
"wayHandling": 2,
|
|
"minzoom": 12,
|
|
"overpassTags": {
|
|
"and": [
|
|
"leisure=pitch"
|
|
]
|
|
},
|
|
"title": {
|
|
"render": {
|
|
"nl": "Sportterrein"
|
|
}
|
|
},
|
|
"description": {
|
|
"nl": "Een sportterrein"
|
|
},
|
|
"tagRenderings": [
|
|
"images",
|
|
{
|
|
"render": {
|
|
"nl": "Hier kan men {sport} beoefenen"
|
|
},
|
|
"freeform": {
|
|
"key": "sport"
|
|
},
|
|
"question": "Welke sporten kan men hier beoefenen?",
|
|
"multiAnswer": true,
|
|
"mappings": [
|
|
{
|
|
"if": {
|
|
"and": [
|
|
"sport=basketball"
|
|
]
|
|
},
|
|
"then": {
|
|
"nl": "Hier kan men basketbal spelen"
|
|
}
|
|
},
|
|
{
|
|
"if": {
|
|
"and": [
|
|
"sport=soccer"
|
|
]
|
|
},
|
|
"then": {
|
|
"nl": "Hier kan men voetbal spelen"
|
|
}
|
|
},
|
|
{
|
|
"if": {
|
|
"and": [
|
|
"sport=table_tennis"
|
|
]
|
|
},
|
|
"then": {
|
|
"nl": "Dit is een pingpongtafel"
|
|
}
|
|
},
|
|
{
|
|
"if": {
|
|
"and": [
|
|
"sport=tennis"
|
|
]
|
|
},
|
|
"then": {
|
|
"nl": "Hier kan men tennis spelen"
|
|
}
|
|
},
|
|
{
|
|
"if": {
|
|
"and": [
|
|
"sport=korfball"
|
|
]
|
|
},
|
|
"then": {
|
|
"nl": "Hier kan men korfbal spelen"
|
|
}
|
|
},
|
|
{
|
|
"if": {
|
|
"and": [
|
|
"sport=basket"
|
|
]
|
|
},
|
|
"then": {
|
|
"nl": "Hier kan men basketbal beoefenen"
|
|
}
|
|
}
|
|
]
|
|
},{
|
|
"question": {
|
|
"nl": "Wat is de ondergrond van dit sportveld?",
|
|
"en": "Which is the surface of this sport pitch?"
|
|
},
|
|
"render": {
|
|
"nl": "De ondergrond is <b>{surface}</b>",
|
|
"en": "The surface is <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>"
|
|
}
|
|
},
|
|
{
|
|
"if": "surface=sand",
|
|
"then": {
|
|
"nl": "De ondergrond is <b>zand</b>",
|
|
"en": "The surface is <b>sand</b>"
|
|
}
|
|
},
|
|
{
|
|
"if": "surface=paving_stones",
|
|
"then": {
|
|
"nl": "De ondergrond bestaat uit <b>stoeptegels</b>",
|
|
"en": "The surface is <b>paving stones</b>"
|
|
}
|
|
},
|
|
{
|
|
"if": "surface=asphalt",
|
|
"then": {
|
|
"nl": "De ondergrond is <b>asfalt</b>",
|
|
"en": "The surface is <b>asphalt</b>"
|
|
}
|
|
},
|
|
{
|
|
"if": "surface=concrete",
|
|
"then": {
|
|
"nl": "De ondergrond is <b>beton</b>",
|
|
"en": "The surface is <b>concrete</b>"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"question": {
|
|
"nl": "Is dit sportterrein publiek toegankelijk?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "access=public",
|
|
"then": "Publiek toegankelijk"
|
|
},
|
|
{"if": "access=limited",
|
|
"then": "Beperkt toegankelijk (enkel na reservatie, tijdens bepaalde uren, ...)"
|
|
},
|
|
{
|
|
"if": "access=members",
|
|
"then": "Enkel toegankelijk voor leden van de bijhorende sportclub"
|
|
},
|
|
{
|
|
"if": "access=private",
|
|
"then": "Privaat en niet toegankelijk"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"question": {
|
|
"nl": "Moet men reserveren om gebruik te maken van dit sportveld?"
|
|
},
|
|
"condition": {
|
|
"and": [ "access!=public", "access!=private", "access!=members"]},
|
|
"mappings": [
|
|
{
|
|
"if": "reservation=required",
|
|
"then": "Reserveren is verplicht om gebruik te maken van dit sportterrein"
|
|
},
|
|
{
|
|
"if": "reservation=recommended",
|
|
"then": "Reserveren is sterk aangeraden om gebruik te maken van dit sportterrein"
|
|
},
|
|
{"if": "reservation=yes",
|
|
"then": "Reserveren is mogelijk, maar geen voorwaarde"
|
|
},
|
|
{
|
|
"if": "reservation=no",
|
|
"then": "Reserveren is niet mogelijk"
|
|
}
|
|
]
|
|
},
|
|
"phone",
|
|
"email",
|
|
"questions",
|
|
{"render":"{reviews(name, sportpitch)}"}
|
|
],
|
|
"hideUnderlayingFeaturesMinPercentage": 0,
|
|
"icon": {
|
|
"render": "./assets/layers/sport_pitch/tabletennis.svg"
|
|
},
|
|
"width": {
|
|
"render": "8"
|
|
},
|
|
"iconSize": {
|
|
"render": "40,40,center"
|
|
},
|
|
"color": {
|
|
"render": "#00f"
|
|
},
|
|
"presets": [
|
|
{
|
|
"title": {
|
|
"nl": "Ping-pong tafel"
|
|
},
|
|
"tags": [
|
|
"leisure=pitch",
|
|
"sport=table_tennis"
|
|
]
|
|
},
|
|
{
|
|
"title": {
|
|
"nl": "Sportterrein"
|
|
},
|
|
"tags": [
|
|
"leisure=pitch",
|
|
"fixme=Toegevoegd met MapComplete, geometry nog uit te tekenen"
|
|
]
|
|
}
|
|
]
|
|
} |