Chore: reordering attributes to have a fixed order

This commit is contained in:
Pieter Vander Vennet 2023-10-30 18:08:38 +01:00
parent fab6835bc5
commit e13e9f652c
136 changed files with 7909 additions and 7909 deletions

View file

@ -24,6 +24,9 @@
]
}
},
"calculatedTags": [
"_vending_count=feat.properties.vending.split(';').length"
],
"title": {
"render": {
"en": "Vending machine",
@ -58,6 +61,301 @@
}
]
},
"pointRendering": [
{
"marker": [
{
"icon": "circle",
"color": "white"
},
{
"icon": {
"render": "./assets/layers/vending_machine/vending_machine.svg",
"mappings": [
{
"if": "vending=drinks",
"then": "./assets/layers/id_presets/temaki-bottles.svg"
},
{
"if": "vending=sweets",
"then": "./assets/layers/id_presets/maki-confectionery.svg"
},
{
"if": "vending=food",
"then": "./assets/layers/vending_machine/utensils.svg"
},
{
"if": "vending=cigarettes",
"then": "./assets/layers/vending_machine/smoking.svg"
},
{
"if": "vending=coffee",
"then": "./assets/layers/vending_machine/mug-saucer.svg"
},
{
"if": "vending=water",
"then": "./assets/layers/id_presets/temaki-water_bottle.svg"
},
{
"if": "vending=newspapers",
"then": "./assets/layers/id_presets/fas-newspaper.svg"
},
{
"if": "vending=milk",
"then": "./assets/layers/vending_machine/cow.svg"
},
{
"if": "vending=bread",
"then": "./assets/layers/id_presets/maki-bakery.svg"
},
{
"if": "vending=eggs",
"then": "./assets/layers/vending_machine/egg.svg"
},
{
"if": "vending=cheese",
"then": "./assets/layers/id_presets/fas-cheese.svg"
},
{
"if": "vending=honey",
"then": "./assets/layers/vending_machine/honey.svg"
},
{
"if": "vending=potatoes",
"then": "./assets/layers/vending_machine/potato.svg"
},
{
"if": "vending=meat",
"then": "./assets/layers/id_presets/temaki-meat.svg"
},
{
"if": "vending=fruit",
"then": "./assets/layers/vending_machine/fruits.svg"
},
{
"if": "vending=strawberries",
"then": "./assets/layers/vending_machine/strawberry.svg"
},
{
"if": "vending=flowers",
"then": "./assets/layers/id_presets/maki-florist.svg"
},
{
"if": "vending=condoms",
"then": "./assets/layers/vending_machine/condom.svg"
}
]
}
}
],
"location": [
"point",
"centroid"
],
"iconBadges": [
{
"if": "opening_hours~*",
"then": "icons.isOpen"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*drinks.*"
]
},
"then": "circle:white;./assets/layers/id_presets/temaki-bottles.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*sweets.*"
]
},
"then": "circle:white;./assets/layers/id_presets/maki-confectionery.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*food.*"
]
},
"then": "circle:white;./assets/layers/vending_machine/utensils.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*cigarettes.*"
]
},
"then": "circle:white;./assets/layers/vending_machine/smoking.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*coffee.*"
]
},
"then": "circle:white;./assets/layers/vending_machine/mug-saucer.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*water.*"
]
},
"then": "circle:white;./assets/layers/id_presets/temaki-water_bottle.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*newspapers.*"
]
},
"then": "circle:white;./assets/layers/id_presets/fas-newspaper.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*milk.*"
]
},
"then": "circle:white;./assets/layers/vending_machine/cow.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*bread.*"
]
},
"then": "circle:white;./assets/layers/id_presets/maki-bakery.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*eggs.*"
]
},
"then": "circle:white;./assets/layers/vending_machine/egg.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*cheese.*"
]
},
"then": "circle:white;./assets/layers/id_presets/fas-cheese.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*honey.*"
]
},
"then": "circle:white;./assets/layers/vending_machine/honey.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*potatoes.*"
]
},
"then": "circle:white;./assets/layers/vending_machine/potato.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*meat.*"
]
},
"then": "circle:white;./assets/layers/id_presets/temaki-meat.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*fruit.*"
]
},
"then": "circle:white;./assets/layers/vending_machine/fruits.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*strawberries.*"
]
},
"then": "circle:white;./assets/layers/vending_machine/strawberry.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*flowers.*"
]
},
"then": "circle:white;./assets/layers/id_presets/maki-florist.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*parking_tickets.*"
]
},
"then": "circle:white;./assets/layers/parking_ticket_machine/parking_tickets.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*elongated_coin.*"
]
},
"then": "circle:white;./assets/themes/elongated_coin/penny.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*public_transport_tickets.*"
]
},
"then": "circle:white;./assets/themes/stations/public_transport_tickets.svg"
}
]
}
],
"lineRendering": [],
"presets": [
{
"title": {
"en": "a vending machine",
"nl": "een verkoopautomaat",
"de": "ein Verkaufsautomat",
"fr": "un distributeur",
"ca": "una màquina expenedora",
"cs": "prodejní automat"
},
"tags": [
"amenity=vending_machine"
]
}
],
"tagRenderings": [
"images",
{
@ -488,303 +786,6 @@
},
"website"
],
"calculatedTags": [
"_vending_count=feat.properties.vending.split(';').length"
],
"presets": [
{
"title": {
"en": "a vending machine",
"nl": "een verkoopautomaat",
"de": "ein Verkaufsautomat",
"fr": "un distributeur",
"ca": "una màquina expenedora",
"cs": "prodejní automat"
},
"tags": [
"amenity=vending_machine"
]
}
],
"pointRendering": [
{
"marker": [
{
"icon": "circle",
"color": "white"
},
{
"icon": {
"render": "./assets/layers/vending_machine/vending_machine.svg",
"mappings": [
{
"if": "vending=drinks",
"then": "./assets/layers/id_presets/temaki-bottles.svg"
},
{
"if": "vending=sweets",
"then": "./assets/layers/id_presets/maki-confectionery.svg"
},
{
"if": "vending=food",
"then": "./assets/layers/vending_machine/utensils.svg"
},
{
"if": "vending=cigarettes",
"then": "./assets/layers/vending_machine/smoking.svg"
},
{
"if": "vending=coffee",
"then": "./assets/layers/vending_machine/mug-saucer.svg"
},
{
"if": "vending=water",
"then": "./assets/layers/id_presets/temaki-water_bottle.svg"
},
{
"if": "vending=newspapers",
"then": "./assets/layers/id_presets/fas-newspaper.svg"
},
{
"if": "vending=milk",
"then": "./assets/layers/vending_machine/cow.svg"
},
{
"if": "vending=bread",
"then": "./assets/layers/id_presets/maki-bakery.svg"
},
{
"if": "vending=eggs",
"then": "./assets/layers/vending_machine/egg.svg"
},
{
"if": "vending=cheese",
"then": "./assets/layers/id_presets/fas-cheese.svg"
},
{
"if": "vending=honey",
"then": "./assets/layers/vending_machine/honey.svg"
},
{
"if": "vending=potatoes",
"then": "./assets/layers/vending_machine/potato.svg"
},
{
"if": "vending=meat",
"then": "./assets/layers/id_presets/temaki-meat.svg"
},
{
"if": "vending=fruit",
"then": "./assets/layers/vending_machine/fruits.svg"
},
{
"if": "vending=strawberries",
"then": "./assets/layers/vending_machine/strawberry.svg"
},
{
"if": "vending=flowers",
"then": "./assets/layers/id_presets/maki-florist.svg"
},
{
"if": "vending=condoms",
"then": "./assets/layers/vending_machine/condom.svg"
}
]
}
}
],
"location": [
"point",
"centroid"
],
"iconBadges": [
{
"if": "opening_hours~*",
"then": "icons.isOpen"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*drinks.*"
]
},
"then": "circle:white;./assets/layers/id_presets/temaki-bottles.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*sweets.*"
]
},
"then": "circle:white;./assets/layers/id_presets/maki-confectionery.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*food.*"
]
},
"then": "circle:white;./assets/layers/vending_machine/utensils.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*cigarettes.*"
]
},
"then": "circle:white;./assets/layers/vending_machine/smoking.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*coffee.*"
]
},
"then": "circle:white;./assets/layers/vending_machine/mug-saucer.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*water.*"
]
},
"then": "circle:white;./assets/layers/id_presets/temaki-water_bottle.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*newspapers.*"
]
},
"then": "circle:white;./assets/layers/id_presets/fas-newspaper.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*milk.*"
]
},
"then": "circle:white;./assets/layers/vending_machine/cow.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*bread.*"
]
},
"then": "circle:white;./assets/layers/id_presets/maki-bakery.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*eggs.*"
]
},
"then": "circle:white;./assets/layers/vending_machine/egg.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*cheese.*"
]
},
"then": "circle:white;./assets/layers/id_presets/fas-cheese.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*honey.*"
]
},
"then": "circle:white;./assets/layers/vending_machine/honey.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*potatoes.*"
]
},
"then": "circle:white;./assets/layers/vending_machine/potato.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*meat.*"
]
},
"then": "circle:white;./assets/layers/id_presets/temaki-meat.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*fruit.*"
]
},
"then": "circle:white;./assets/layers/vending_machine/fruits.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*strawberries.*"
]
},
"then": "circle:white;./assets/layers/vending_machine/strawberry.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*flowers.*"
]
},
"then": "circle:white;./assets/layers/id_presets/maki-florist.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*parking_tickets.*"
]
},
"then": "circle:white;./assets/layers/parking_ticket_machine/parking_tickets.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*elongated_coin.*"
]
},
"then": "circle:white;./assets/themes/elongated_coin/penny.svg"
},
{
"if": {
"and": [
"_vending_count>1",
"vending~.*public_transport_tickets.*"
]
},
"then": "circle:white;./assets/themes/stations/public_transport_tickets.svg"
}
]
}
],
"filter": [
"open_now",
{
@ -1081,10 +1082,9 @@
]
}
],
"deletion": true,
"allowMove": {
"enableImproveAccuracy": true,
"enableRelocation": true
},
"deletion": true,
"lineRendering": []
}
}