forked from MapComplete/MapComplete
Formatting all the JSON files
This commit is contained in:
parent
e057f10409
commit
40a79ab6a6
15 changed files with 50 additions and 39 deletions
|
@ -6,7 +6,8 @@
|
||||||
},
|
},
|
||||||
"minzoom": 8,
|
"minzoom": 8,
|
||||||
"source": {
|
"source": {
|
||||||
"osmTags": "amenity=bicycle_library"},
|
"osmTags": "amenity=bicycle_library"
|
||||||
|
},
|
||||||
"title": {
|
"title": {
|
||||||
"render": {
|
"render": {
|
||||||
"en": "Bicycle library",
|
"en": "Bicycle library",
|
||||||
|
@ -65,12 +66,17 @@
|
||||||
},
|
},
|
||||||
"freeform": {
|
"freeform": {
|
||||||
"key": "charge",
|
"key": "charge",
|
||||||
"addExtraTags": ["fee=yes"]
|
"addExtraTags": [
|
||||||
|
"fee=yes"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
"if": {
|
"if": {
|
||||||
"and": ["fee=no","charge="]
|
"and": [
|
||||||
|
"fee=no",
|
||||||
|
"charge="
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"then": {
|
"then": {
|
||||||
"en": "Lending a bicycle is free",
|
"en": "Lending a bicycle is free",
|
||||||
|
@ -79,7 +85,10 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"if": {
|
"if": {
|
||||||
"and": ["fee=yes","charge=€20warranty + €20/year"]
|
"and": [
|
||||||
|
"fee=yes",
|
||||||
|
"charge=€20warranty + €20/year"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"then": {
|
"then": {
|
||||||
"en": "Lending a bicycle costs €20/year and €20 warranty",
|
"en": "Lending a bicycle costs €20/year and €20 warranty",
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
"association=bicycle",
|
"association=bicycle",
|
||||||
"ngo=cycling",
|
"ngo=cycling",
|
||||||
"ngo=bicycle",
|
"ngo=bicycle",
|
||||||
|
|
||||||
"club=bicycle",
|
"club=bicycle",
|
||||||
"club=cycling"
|
"club=cycling"
|
||||||
]
|
]
|
||||||
|
|
|
@ -410,8 +410,7 @@
|
||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
"if": "opening_hours=24/7",
|
"if": "opening_hours=24/7",
|
||||||
"then":
|
"then": {
|
||||||
{
|
|
||||||
"en": "24/7 opened (including holidays)",
|
"en": "24/7 opened (including holidays)",
|
||||||
"nl": "24/7 open (inclusief feestdagen)"
|
"nl": "24/7 open (inclusief feestdagen)"
|
||||||
}
|
}
|
||||||
|
|
|
@ -338,10 +338,14 @@
|
||||||
"en": "Surface area: {_surface:ha}Ha",
|
"en": "Surface area: {_surface:ha}Ha",
|
||||||
"nl": "Totale oppervlakte: {_surface:ha}Ha"
|
"nl": "Totale oppervlakte: {_surface:ha}Ha"
|
||||||
},
|
},
|
||||||
"mappings":[ {
|
"mappings": [
|
||||||
|
{
|
||||||
"if": "_surface:ha=0",
|
"if": "_surface:ha=0",
|
||||||
"then": {"*":""}
|
"then": {
|
||||||
}]
|
"*": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"hideUnderlayingFeaturesMinPercentage": 10,
|
"hideUnderlayingFeaturesMinPercentage": 10,
|
||||||
|
@ -373,4 +377,3 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -191,6 +191,5 @@
|
||||||
"color": {
|
"color": {
|
||||||
"render": "#eaba2a"
|
"render": "#eaba2a"
|
||||||
},
|
},
|
||||||
"presets": [
|
"presets": []
|
||||||
]
|
|
||||||
}
|
}
|
|
@ -378,7 +378,10 @@
|
||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
"if": {
|
"if": {
|
||||||
"or": ["_size_classification=medium","id~node/.*"]
|
"or": [
|
||||||
|
"_size_classification=medium",
|
||||||
|
"id~node/.*"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"then": "40,40,center"
|
"then": "40,40,center"
|
||||||
},
|
},
|
||||||
|
@ -386,7 +389,6 @@
|
||||||
"if": "_size_classification=small",
|
"if": "_size_classification=small",
|
||||||
"then": "25,25,center"
|
"then": "25,25,center"
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"if": "_size_classification=large",
|
"if": "_size_classification=large",
|
||||||
"then": "50,50,center"
|
"then": "50,50,center"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue