Formatting all the JSON files

This commit is contained in:
Pieter Vander Vennet 2021-05-19 22:38:41 +02:00
parent e057f10409
commit 40a79ab6a6
15 changed files with 50 additions and 39 deletions

View file

@ -6,7 +6,8 @@
},
"minzoom": 8,
"source": {
"osmTags": "amenity=bicycle_library"},
"osmTags": "amenity=bicycle_library"
},
"title": {
"render": {
"en": "Bicycle library",
@ -65,12 +66,17 @@
},
"freeform": {
"key": "charge",
"addExtraTags": ["fee=yes"]
"addExtraTags": [
"fee=yes"
]
},
"mappings": [
{
"if": {
"and": ["fee=no","charge="]
"and": [
"fee=no",
"charge="
]
},
"then": {
"en": "Lending a bicycle is free",
@ -79,7 +85,10 @@
},
{
"if": {
"and": ["fee=yes","charge=€20warranty + €20/year"]
"and": [
"fee=yes",
"charge=€20warranty + €20/year"
]
},
"then": {
"en": "Lending a bicycle costs €20/year and €20 warranty",

View file

@ -17,7 +17,6 @@
"association=bicycle",
"ngo=cycling",
"ngo=bicycle",
"club=bicycle",
"club=cycling"
]

View file

@ -410,8 +410,7 @@
"mappings": [
{
"if": "opening_hours=24/7",
"then":
{
"then": {
"en": "24/7 opened (including holidays)",
"nl": "24/7 open (inclusief feestdagen)"
}

View file

@ -338,10 +338,14 @@
"en": "Surface area: {_surface:ha}Ha",
"nl": "Totale oppervlakte: {_surface:ha}Ha"
},
"mappings":[ {
"mappings": [
{
"if": "_surface:ha=0",
"then": {"*":""}
}]
"then": {
"*": ""
}
}
]
}
],
"hideUnderlayingFeaturesMinPercentage": 10,
@ -373,4 +377,3 @@
}
]
}

View file

@ -191,6 +191,5 @@
"color": {
"render": "#eaba2a"
},
"presets": [
]
"presets": []
}

View file

@ -378,7 +378,10 @@
"mappings": [
{
"if": {
"or": ["_size_classification=medium","id~node/.*"]
"or": [
"_size_classification=medium",
"id~node/.*"
]
},
"then": "40,40,center"
},
@ -386,7 +389,6 @@
"if": "_size_classification=small",
"then": "25,25,center"
},
{
"if": "_size_classification=large",
"then": "50,50,center"