Formatting all the JSON files

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

View file

@ -230,7 +230,7 @@
]
},
{
"question":{
"question": {
"en": "When was this bench last surveyed?"
},
"render": {

View file

@ -4,9 +4,10 @@
"en": "Bicycle library",
"nl": "Fietsbibliotheek"
},
"minzoom": 8 ,
"minzoom": 8,
"source": {
"osmTags": "amenity=bicycle_library"},
"osmTags": "amenity=bicycle_library"
},
"title": {
"render": {
"en": "Bicycle library",
@ -59,18 +60,23 @@
"en": "How much does lending a bicycle cost?",
"nl": "Hoeveel kost het huren van een fiets?"
},
"render":{
"render": {
"en": "Lending a bicycle costs {charge}",
"nl": "Een fiets huren kost {charge}"
},
"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

@ -189,4 +189,4 @@
"multiAnswer": true
}
]
}
}

View file

@ -16,7 +16,7 @@
}
},
"icon": {
"render": "./assets/layers/bike_parking/parking.svg"
"render": "./assets/layers/bike_parking/parking.svg"
},
"iconSize": "40,40,bottom",
"color": "#00f",

View file

@ -570,4 +570,4 @@
]
}
]
}
}

View file

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

View file

@ -408,15 +408,14 @@
"type": "opening_hours"
},
"mappings": [
{
"if": "opening_hours=24/7",
"then":
{
"en": "24/7 opened (including holidays)",
"nl": "24/7 open (inclusief feestdagen)"
}
}
]
{
"if": "opening_hours=24/7",
"then": {
"en": "24/7 opened (including holidays)",
"nl": "24/7 open (inclusief feestdagen)"
}
}
]
},
{
"render": {
@ -470,4 +469,4 @@
}
}
]
}
}

View file

@ -39,4 +39,4 @@
"stroke": "0",
"presets": [],
"wayHandling": 2
}
}

View file

@ -128,11 +128,11 @@
]
},
{
"render":{
"render": {
"en": "<a href='#{_closest_other_drinking_water_id}'>There is another drinking water fountain at {_closest_other_drinking_water_distance} meter</a>",
"nl": "<a href='#{_closest_other_drinking_water_id}'>Er bevindt zich een ander drinkwaterpunt op {_closest_other_drinking_water_distance} meter</a>"
},
"condition": "_closest_other_drinking_water_id~*"
}
]
}
}

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,
@ -372,5 +376,4 @@
}
}
]
}
}

View file

@ -369,4 +369,4 @@
}
],
"wayHandling": 2
}
}

View file

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

View file

@ -367,7 +367,7 @@
]
},
"then": "circle:white;./assets/layers/sport_pitch/lock.svg",
"badge":true
"badge": true
}
],
"width": {
@ -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"
@ -420,4 +422,4 @@
]
}
]
}
}

View file

@ -406,4 +406,4 @@
}
],
"wayHandling": 2
}
}

View file

@ -454,4 +454,4 @@
}
}
]
}
}