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

@ -671,7 +671,7 @@
]
},
"location": [
"point"
"point", "centroid"
]
}
]

View file

@ -202,7 +202,7 @@
"render": "40,40,center"
},
"location": [
"point"
"point","centroid"
]
}
]

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"
}
]
}

View file

@ -106,9 +106,7 @@
],
"mapRendering": [
{
"icon": {
"render": "./assets/layers/play_forest/icon.svg"
},
"icon" : "./assets/layers/play_forest/icon.svg",
"iconSize": {
"render": "40,40,center"
},
@ -118,12 +116,8 @@
]
},
{
"color": {
"render": "#007055"
},
"width": {
"render": "2"
}
"color": "#007055",
"width": "2"
}
]
}

View file

@ -506,7 +506,7 @@
"id~node/.*"
]
},
"then": "40,40,center"
"then": "32,32,center"
},
{
"if": "_size_classification=small",
@ -514,13 +514,18 @@
},
{
"if": "_size_classification=large",
"then": "50,50,center"
"then": "40,40,center"
}
]
},
"location": [
"point"
"point","centroid"
]
},
{
"color": "#00cc00",
"width": "1",
"fill": "false"
}
]
}