Quickfix: add centroids to some renderings which dissappeared during migration

This commit is contained in:
Pieter Vander Vennet 2021-11-08 15:08:24 +01:00
parent c3a4015f53
commit 161bcc8647
11 changed files with 1001 additions and 1036 deletions

View file

@ -5,70 +5,29 @@
},
"minzoom": 12,
"source": {
"osmTags": {
"and": [
{
"or": [
"amenity=parking",
"amenity=motorcycle_parking",
"amenity=bicycle_parking"
]
}
]
}
"osmTags": "amenity=parking"
},
"title": {
"render": {
"nl": "Parking"
},
"mappings": [
{
"if": "amenity=parking",
"then": {
"nl": "{name:nl}"
}
},
{
"if": "amenity=motorcycle_parking",
"then": {
"nl": "{name}"
}
},
{
"if": "amenity=bicycle_parking",
"then": {
"nl": "Fietsenstalling"
}
}
]
"nl": "Autoparking",
"en": "Car parking"
}
},
"description": {
"nl": "Parking"
"en": "A layer showing car parkings",
"nl": "Deze laag toont autoparkeerplaatsen"
},
"tagRenderings": [
"images"
],
"presets": [
{
"tags": [
"amenity=bicycle_parking"
],
"title": {
"nl": "fietsparking"
},
"description": {
"nl": "Voeg hier een fietsenstalling toe"
}
},
{
"tags": [
"amenity=parking"
],
"title": {
"nl": "parking"
},
"description": {
"nl": "Voeg hier een parking voor auto's toe"
"nl": "autoparking",
"en": "car parking"
}
}
],
@ -94,8 +53,13 @@
"render": "36,36,center"
},
"location": [
"point"
"point",
"centroid"
]
},
{
"width": 2,
"color": "#ddcc00"
}
]
}