Remove obsolete keys through lint script (once more)

This commit is contained in:
Pieter Vander Vennet 2021-11-07 21:20:05 +01:00
parent c7386007bc
commit b928bcda6f
54 changed files with 18 additions and 1187 deletions

View file

@ -8,7 +8,6 @@
"it": "Campi sportivi",
"de": "Sportplätze"
},
"wayHandling": 1,
"minzoom": 12,
"source": {
"osmTags": {
@ -423,78 +422,6 @@
"render": "{reviews(name, sportpitch)}"
}
],
"icon": {
"render": "circle:white;./assets/layers/sport_pitch/sport_pitch.svg",
"mappings": [
{
"if": {
"or": [
"sport=baseball",
"sport=basketball",
"sport=beachvolleyball",
"sport=boules",
"sport=skateboard",
"sport=soccer",
"sport=table_tennis",
"sport=tennis",
"sport=volleyball"
]
},
"then": "circle:white;./assets/layers/sport_pitch/{sport}.svg"
}
]
},
"iconOverlays": [
{
"if": {
"and": [
"opening_hours!=24/7",
"opening_hours~*"
]
},
"then": "isOpen",
"badge": true
},
{
"if": {
"or": [
"access=customers",
"access=private",
"access=no"
]
},
"then": "circle:white;./assets/layers/sport_pitch/lock.svg",
"badge": true
}
],
"width": {
"render": "1"
},
"iconSize": {
"render": "25,25,center",
"mappings": [
{
"if": {
"or": [
"_size_classification=medium",
"id~node/.*"
]
},
"then": "40,40,center"
},
{
"if": "_size_classification=small",
"then": "25,25,center"
},
{
"if": "_size_classification=large",
"then": "50,50,center"
}
]
},
"color": {
"render": "#7cb82f"
},
"presets": [
{
"title": {