Add some useful filters

This commit is contained in:
Pieter Vander Vennet 2023-03-05 23:44:28 +01:00
parent 21216127c5
commit 92c5e5dea2
3 changed files with 92 additions and 2 deletions

View file

@ -605,6 +605,63 @@
}
],
"filter": [
{
"id": "accessibility",
"options": [
{
"question": {
"en": "Publicly accessible",
"nl": "Publiek toegankelijk"
},
"osmTags": {
"or": [
"access=yes",
"access=public",
"access="
]
}
}
]
},
{
"id": "available_sports",
"options": [
{
"question": {
"en": "All sports",
"nl": "Alle sporten"
}
},
{
"osmTags": "sport=basketball",
"question": {
"nl": "Basketbalvelden",
"en": "Basketball fields"
}
},
{
"osmTags": "sport=soccer",
"question": {
"nl": "Voetbalvelden",
"en": "Soccer fields"
}
},
{
"osmTags": "sport=table_tennis",
"question": {
"nl": "Pingpong-tafel",
"en": "Ping-pong table"
}
},
{
"osmTags": "sport=tennis",
"question": {
"nl": "Tennisveld",
"en": "Tennis field"
}
}
]
},
"open_now"
]
}
}