2021-03-14 03:15:06 +01:00
|
|
|
{
|
|
|
|
"id": "sport_pitch",
|
|
|
|
"name": {
|
2021-03-26 00:14:17 +01:00
|
|
|
"nl": "Sportterrein",
|
|
|
|
"en": "Sport pitches"
|
2021-03-14 03:15:06 +01:00
|
|
|
},
|
|
|
|
"wayHandling": 2,
|
|
|
|
"minzoom": 12,
|
2021-03-20 23:45:52 +01:00
|
|
|
"source": {
|
|
|
|
"osmTags": {
|
2021-03-26 00:14:17 +01:00
|
|
|
"and": [
|
|
|
|
"leisure=pitch"
|
|
|
|
]
|
|
|
|
}
|
2021-03-14 03:15:06 +01:00
|
|
|
},
|
|
|
|
"title": {
|
|
|
|
"render": {
|
2021-03-26 00:14:17 +01:00
|
|
|
"nl": "Sportterrein",
|
|
|
|
"en": "Sport pitch"
|
2021-03-14 03:15:06 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"description": {
|
2021-03-26 00:14:17 +01:00
|
|
|
"nl": "Een sportterrein",
|
|
|
|
"en": "A sport pitch"
|
2021-03-14 03:15:06 +01:00
|
|
|
},
|
|
|
|
"tagRenderings": [
|
|
|
|
"images",
|
|
|
|
{
|
|
|
|
"render": {
|
2021-03-26 00:14:17 +01:00
|
|
|
"nl": "Hier kan men {sport} beoefenen",
|
|
|
|
"en": "{sport} is played here"
|
2021-03-14 03:15:06 +01:00
|
|
|
},
|
|
|
|
"freeform": {
|
|
|
|
"key": "sport"
|
|
|
|
},
|
2021-03-26 00:14:17 +01:00
|
|
|
"question": {
|
|
|
|
"nl": "Welke sporten kan men hier beoefenen?",
|
|
|
|
"en": "Which sport can be played here?"
|
|
|
|
},
|
2021-03-14 03:15:06 +01:00
|
|
|
"multiAnswer": true,
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"sport=basketball"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
2021-03-26 00:14:17 +01:00
|
|
|
"nl": "Hier kan men basketbal spelen",
|
|
|
|
"en": "Basketball is played here"
|
2021-03-14 03:15:06 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"sport=soccer"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
2021-03-26 00:14:17 +01:00
|
|
|
"nl": "Hier kan men voetbal spelen",
|
|
|
|
"en": "Soccer is played here"
|
2021-03-14 03:15:06 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"sport=table_tennis"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
2021-03-26 00:14:17 +01:00
|
|
|
"nl": "Dit is een pingpongtafel",
|
|
|
|
"en": "This is a pingpong table"
|
2021-03-14 03:15:06 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"sport=tennis"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
2021-03-26 00:14:17 +01:00
|
|
|
"nl": "Hier kan men tennis spelen",
|
|
|
|
"en": "Tennis is played here"
|
2021-03-14 03:15:06 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"sport=korfball"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
2021-03-26 00:14:17 +01:00
|
|
|
"nl": "Hier kan men korfbal spelen",
|
|
|
|
"en": "Korfball is played here"
|
2021-03-14 03:15:06 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"sport=basket"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
2021-03-26 00:14:17 +01:00
|
|
|
"nl": "Hier kan men basketbal beoefenen",
|
|
|
|
"en": "Basketball is played here"
|
|
|
|
},
|
|
|
|
"hideInAnswer": true
|
2021-03-14 03:15:06 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-03-26 00:14:17 +01:00
|
|
|
{
|
|
|
|
"question": {
|
|
|
|
"nl": "Wat is de ondergrond van dit sportveld?",
|
|
|
|
"en": "Which is the surface of this sport pitch?"
|
2021-03-14 03:15:06 +01:00
|
|
|
},
|
2021-03-26 00:14:17 +01:00
|
|
|
"render": {
|
|
|
|
"nl": "De ondergrond is <b>{surface}</b>",
|
|
|
|
"en": "The surface is <b>{surface}</b>"
|
2021-03-14 03:15:06 +01:00
|
|
|
},
|
2021-03-26 00:14:17 +01:00
|
|
|
"freeform": {
|
|
|
|
"key": "surface"
|
2021-03-14 03:15:06 +01:00
|
|
|
},
|
2021-03-26 00:14:17 +01:00
|
|
|
"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>"
|
|
|
|
}
|
2021-03-14 03:15:06 +01:00
|
|
|
}
|
2021-03-26 00:14:17 +01:00
|
|
|
]
|
2021-03-14 03:15:06 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"question": {
|
|
|
|
"nl": "Is dit sportterrein publiek toegankelijk?"
|
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "access=public",
|
|
|
|
"then": "Publiek toegankelijk"
|
|
|
|
},
|
2021-03-26 00:14:17 +01:00
|
|
|
{
|
|
|
|
"if": "access=limited",
|
2021-03-14 03:15:06 +01:00
|
|
|
"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": {
|
2021-03-26 00:14:17 +01:00
|
|
|
"and": [
|
|
|
|
"access!=public",
|
|
|
|
"access!=private",
|
|
|
|
"access!=members"
|
|
|
|
]
|
|
|
|
},
|
2021-03-14 03:15:06 +01:00
|
|
|
"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"
|
|
|
|
},
|
2021-03-26 00:14:17 +01:00
|
|
|
{
|
|
|
|
"if": "reservation=yes",
|
2021-03-14 03:15:06 +01:00
|
|
|
"then": "Reserveren is mogelijk, maar geen voorwaarde"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "reservation=no",
|
|
|
|
"then": "Reserveren is niet mogelijk"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-03-14 20:40:54 +01:00
|
|
|
{
|
|
|
|
"question": "Wat is het telefoonnummer van de bevoegde dienst of uitbater?",
|
|
|
|
"freeform": {
|
|
|
|
"key": "phone",
|
|
|
|
"type": "phone"
|
|
|
|
},
|
|
|
|
"render": "<a href='tel:{phone}'>{phone}</a>"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"question": "Wat is het email-adres van de bevoegde dienst of uitbater?",
|
|
|
|
"freeform": {
|
|
|
|
"key": "email",
|
|
|
|
"type": "email"
|
|
|
|
},
|
|
|
|
"render": "<a href='mailto:{email}' target='_blank'>{email}</a>"
|
|
|
|
},
|
2021-03-26 00:14:17 +01:00
|
|
|
{
|
|
|
|
"question": {
|
|
|
|
"nl": "Wanneer is dit sportveld toegankelijk?",
|
|
|
|
"en": "When is this pitch accessible?"
|
|
|
|
},
|
|
|
|
"render": "{opening_hours()}",
|
|
|
|
"freeform": {
|
|
|
|
"key": "opening_hours",
|
|
|
|
"type": "opening_hours"
|
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "opening_hours=",
|
|
|
|
"then": "24/7 toegankelijk",
|
|
|
|
"hideInAnswer": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "opening_hours=24/7",
|
|
|
|
"then": {
|
|
|
|
"nl": "24/7 toegankelijk",
|
|
|
|
"en": "Always accessible"
|
|
|
|
}
|
|
|
|
}
|
2021-04-21 17:42:28 +02:00
|
|
|
],
|
|
|
|
"condition": "access~*"
|
2021-03-26 00:14:17 +01:00
|
|
|
},
|
2021-03-14 03:15:06 +01:00
|
|
|
"questions",
|
2021-03-26 00:14:17 +01:00
|
|
|
{
|
|
|
|
"render": "{reviews(name, sportpitch)}"
|
|
|
|
}
|
2021-03-14 03:15:06 +01:00
|
|
|
],
|
|
|
|
"hideUnderlayingFeaturesMinPercentage": 0,
|
|
|
|
"icon": {
|
2021-03-21 00:44:04 +01:00
|
|
|
"render": "circle:white;./assets/layers/sport_pitch/tabletennis.svg"
|
2021-03-14 03:15:06 +01:00
|
|
|
},
|
2021-03-26 00:14:17 +01:00
|
|
|
"iconOverlays": [
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"opening_hours!=24/7",
|
|
|
|
"opening_hours~*"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": "isOpen",
|
|
|
|
"badge": true
|
|
|
|
}
|
|
|
|
],
|
2021-03-14 03:15:06 +01:00
|
|
|
"width": {
|
2021-03-20 23:45:52 +01:00
|
|
|
"render": "1"
|
2021-03-14 03:15:06 +01:00
|
|
|
},
|
|
|
|
"iconSize": {
|
2021-03-21 00:44:04 +01:00
|
|
|
"render": "25,25,center"
|
2021-03-14 03:15:06 +01:00
|
|
|
},
|
|
|
|
"color": {
|
2021-03-20 23:45:52 +01:00
|
|
|
"render": "#009"
|
2021-03-14 03:15:06 +01:00
|
|
|
},
|
|
|
|
"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"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|