mapcomplete/assets/layers/vending_machine/vending_machine.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

738 lines
21 KiB
JSON
Raw Normal View History

2023-06-29 16:30:43 +02:00
{
"id": "vending_machine",
"name": {
"en": "Vending Machines",
2023-07-27 02:03:56 +02:00
"nl": "Verkoopautomaten",
2023-09-16 18:52:42 +02:00
"de": "Verkaufsautomaten",
"fr": "Distributeurs"
2023-06-29 16:30:43 +02:00
},
"description": {
"en": "Layer showing vending machines",
2023-07-27 02:03:56 +02:00
"nl": "Laag met verkoopautomaten",
2023-09-16 18:52:42 +02:00
"de": "Ebene mit Verkaufsautomaten",
"fr": "Couche affichant les distributeurs"
2023-06-29 16:30:43 +02:00
},
"source": {
"osmTags": {
"and": [
"amenity=vending_machine",
"vending!~(parking_tickets|public_transport_tickets|bottle_return|excrement_bags|elongated_coin)"
2023-06-29 16:30:43 +02:00
]
}
},
"title": {
"render": {
"en": "Vending machine",
2023-07-27 02:03:56 +02:00
"nl": "Verkoopautomaat",
2023-09-16 18:52:42 +02:00
"de": "Verkaufsautomat",
"fr": "Distributeur"
2023-06-29 16:30:43 +02:00
},
"mappings": [
{
"if": "name~*",
"then": {
"en": "Vending machine {name}",
2023-07-27 02:03:56 +02:00
"nl": "Verkoopautomaat {name}",
2023-09-16 18:52:42 +02:00
"de": "Verkaufsautomat {name}",
"fr": "Distributeur {name}"
2023-06-29 16:30:43 +02:00
}
},
{
"if": "brand~*",
"then": {
"en": "Vending machine {brand}",
2023-07-27 02:03:56 +02:00
"nl": "Verkoopautomaat {brand}",
2023-09-16 18:52:42 +02:00
"de": "Verkaufsautomat {brand}",
"fr": "Distributeur {brand}"
2023-06-29 16:30:43 +02:00
}
}
]
},
"tagRenderings": [
"images",
{
"id": "vending",
"question": {
"en": "What does this vending machine sell?",
2023-07-27 02:03:56 +02:00
"nl": "Wat verkoopt deze verkoopautomaat?",
2023-09-16 18:52:42 +02:00
"de": "Was wird in diesem Automaten verkauft?",
"fr": "Que vent ce distributeur ?"
2023-06-29 16:30:43 +02:00
},
"freeform": {
"key": "vending",
"addExtraTags": [
"fixme=Freeform input used, value may need to be checked"
]
},
"render": {
"en": "This vending machine sells {vending}",
2023-07-27 02:03:56 +02:00
"nl": "Deze verkoopautomaat verkoopt {vending}",
2023-09-16 18:52:42 +02:00
"de": "Dieser Automat verkauft {vending}",
"fr": "Ce distributeur vent {vending}"
2023-06-29 16:30:43 +02:00
},
"mappings": [
{
"if": "vending=drinks",
"then": {
"en": "Drinks are sold",
2023-07-27 02:03:56 +02:00
"nl": "Dranken worden verkocht",
2023-09-16 18:52:42 +02:00
"de": "Getränke werden verkauft",
"fr": "Vent des boissons"
2023-06-29 16:30:43 +02:00
},
"icon": "./assets/layers/id_presets/temaki-bottles.svg"
},
{
"if": "vending=sweets",
"then": {
"en": "Sweets are sold",
2023-07-27 02:03:56 +02:00
"nl": "Snoep wordt verkocht",
2023-09-16 18:52:42 +02:00
"de": "Süßigkeiten werden verkauft",
"fr": "Vent des confiseries"
2023-06-29 16:30:43 +02:00
},
"icon": "./assets/layers/id_presets/maki-confectionery.svg"
},
{
"if": "vending=food",
"then": {
"en": "Food is sold",
2023-07-27 02:03:56 +02:00
"nl": "Eten wordt verkocht",
2023-09-16 18:52:42 +02:00
"de": "Lebensmittel werden verkauft",
"fr": "Vent de la nourriture"
2023-06-29 16:30:43 +02:00
},
"icon": "./assets/layers/vending_machine/utensils.svg"
},
{
"if": "vending=cigarettes",
"then": {
"en": "Cigarettes are sold",
2023-07-27 02:03:56 +02:00
"nl": "Sigaretten worden verkocht",
2023-09-16 18:52:42 +02:00
"de": "Zigaretten werden verkauft",
"fr": "Vent des cigarettes"
2023-06-29 16:30:43 +02:00
},
"icon": "./assets/layers/vending_machine/smoking.svg"
},
{
"if": "vending=condoms",
"then": {
"en": "Condoms are sold",
2023-07-27 02:03:56 +02:00
"nl": "Condooms worden verkocht",
2023-09-16 18:52:42 +02:00
"de": "Kondome werden verkauft",
"fr": "Vent des préservatifs"
2023-06-29 16:30:43 +02:00
}
},
{
"if": "vending=coffee",
"then": {
"en": "Coffee is sold",
2023-07-27 02:03:56 +02:00
"nl": "Koffie wordt verkocht",
2023-09-16 18:52:42 +02:00
"de": "Kaffee wird verkauft",
"fr": "Vent du café"
2023-06-29 16:30:43 +02:00
},
"icon": "./assets/layers/vending_machine/mug-saucer.svg"
},
{
"if": "vending=water",
"then": {
"en": "Drinking water is sold",
2023-07-27 02:03:56 +02:00
"nl": "Drinkwater wordt verkocht",
2023-09-16 18:52:42 +02:00
"de": "Trinkwasser wird verkauft",
"fr": "Vent de l'eau"
2023-06-29 16:30:43 +02:00
},
"icon": "./assets/layers/id_presets/temaki-water_bottle.svg"
},
{
"if": "vending=newspapers",
"then": {
"en": "Newspapers are sold",
2023-07-27 02:03:56 +02:00
"nl": "Kranten worden verkocht",
2023-09-16 18:52:42 +02:00
"de": "Zeitungen werden verkauft",
"fr": "Vent des journaux"
2023-06-29 16:30:43 +02:00
},
"icon": "./assets/layers/id_presets/fas-newspaper.svg"
},
{
"if": "vending=bicycle_tube",
"then": {
"en": "Bicycle inner tubes are sold",
2023-07-27 02:03:56 +02:00
"nl": "Binnenbanden voor fietsen worden verkocht",
2023-09-16 18:52:42 +02:00
"de": "Fahrradschläuche werden verkauft",
"fr": "Vent des chambres à air pour vélo"
2023-06-29 16:30:43 +02:00
}
},
{
"if": "vending=milk",
"then": {
"en": "Milk is sold",
2023-07-27 02:03:56 +02:00
"nl": "Melk wordt verkocht",
2023-09-16 18:52:42 +02:00
"de": "Milch wird verkauft",
"fr": "Vent du lait"
2023-06-29 16:30:43 +02:00
},
"icon": "./assets/layers/vending_machine/cow.svg"
},
{
"if": "vending=bread",
"then": {
"en": "Bread is sold",
2023-07-27 02:03:56 +02:00
"nl": "Brood wordt verkocht",
2023-09-16 18:52:42 +02:00
"de": "Brot wird verkauft",
"fr": "Vent du pain"
2023-06-29 16:30:43 +02:00
},
"icon": "./assets/layers/id_presets/maki-bakery.svg"
},
{
"if": "vending=eggs",
"then": {
"en": "Eggs are sold",
2023-07-27 02:03:56 +02:00
"nl": "Eieren worden verkocht",
2023-09-16 18:52:42 +02:00
"de": "Eier werden verkauft",
"fr": "Vent des œufs"
2023-06-29 16:30:43 +02:00
},
"icon": "./assets/layers/vending_machine/egg.svg"
},
{
"if": "vending=cheese",
"then": {
"en": "Cheese is sold",
2023-07-27 02:03:56 +02:00
"nl": "Kaas wordt verkocht",
2023-09-16 18:52:42 +02:00
"de": "Käse wird verkauft",
"fr": "Vent du fromage"
2023-06-29 16:30:43 +02:00
},
"icon": "./assets/layers/id_presets/fas-cheese.svg"
},
{
"if": "vending=honey",
"then": {
"en": "Honey is sold",
2023-07-27 02:03:56 +02:00
"nl": "Honing wordt verkocht",
2023-09-16 18:52:42 +02:00
"de": "Honig wird verkauft",
"fr": "Vent du miel"
},
"icon": "./assets/layers/vending_machine/honey.svg"
},
{
"if": "vending=potatoes",
"then": {
"en": "Potatoes are sold",
2023-07-27 02:03:56 +02:00
"nl": "Aardappelen worden verkocht",
2023-09-16 18:52:42 +02:00
"de": "Kartoffeln werden verkauft",
"fr": "Vent des pommes de terre"
},
"icon": "./assets/layers/vending_machine/potato.svg"
},
{
"if": "vending=flowers",
"then": {
"en": "Flowers are sold",
2023-07-27 02:03:56 +02:00
"nl": "Bloemen worden verkocht",
2023-09-16 18:52:42 +02:00
"de": "Blumen werden verkauft",
"fr": "Vent des fleurs"
},
"icon": "./assets/layers/id_presets/maki-florist.svg"
},
{
"if": "vending=parking_tickets",
"then": {
"en": "Parking tickets are sold",
2023-09-19 14:05:43 +02:00
"nl": "Parkeerkaarten worden verkocht",
"de": "Parkscheine werden verkauft"
},
"icon": "./assets/layers/parking_ticket_machine/parking_tickets.svg"
},
{
"if": "vending=elongated_coin",
"then": {
"en": "Pressed pennies are sold"
},
"icon": "./assets/themes/elongated_coin/penny.svg"
},
{
"if": "vending=public_transport_tickets",
"then": {
"en": "Public transport tickets are sold",
2023-09-19 14:05:43 +02:00
"nl": "Openbaar vervoerkaartjes worden verkocht",
"de": "Fahrscheine werden verkauft"
},
"icon": "./assets/themes/stations/public_transport_tickets.svg"
2023-06-29 16:30:43 +02:00
}
],
"multiAnswer": true
},
"opening_hours_24_7",
"payment-options-split",
"denominations-coins",
"denominations-notes",
{
"id": "operator",
"question": {
"en": "Who operates this vending machine?",
2023-07-27 02:03:56 +02:00
"nl": "Wie beheert deze verkoopautomaat?",
2023-09-16 18:52:42 +02:00
"de": "Wer betreibt diesen Verkaufsautomaten?",
"fr": "Qui exploite ce distributeur ?"
2023-06-29 16:30:43 +02:00
},
"freeform": {
"key": "operator",
"placeholder": {
"en": "Name of operator",
2023-07-27 02:03:56 +02:00
"nl": "Naam van beheerder",
2023-09-16 18:52:42 +02:00
"de": "Name des Betreibers",
"fr": "Nom de l'exploitant"
2023-06-29 16:30:43 +02:00
}
},
"render": {
"en": "This vending machine is operated by {operator}",
2023-07-27 02:03:56 +02:00
"nl": "Deze verkoopautomaat wordt beheerd door {operator}",
2023-09-16 18:52:42 +02:00
"de": "Dieser Verkaufsautomat wird betrieben von {operator}",
"fr": "Ce distributeur est exploité par {operator}"
2023-06-29 16:30:43 +02:00
}
},
{
"id": "indoor",
"question": {
"en": "Is this vending machine indoors?",
2023-07-27 02:03:56 +02:00
"nl": "Is deze verkoopautomaat binnen?",
2023-09-16 18:52:42 +02:00
"de": "Ist dieser Automat in einem Gebäude untergebracht?",
"fr": "Est-ce que ce distributeur est en intérieur ?"
2023-06-29 16:30:43 +02:00
},
"mappings": [
{
"if": "indoor=",
"then": {
"en": "This vending machine is outdoors",
2023-07-27 02:03:56 +02:00
"nl": "Deze verkoopautomaat is buiten",
2023-09-16 18:52:42 +02:00
"de": "Dieser Automat befindet sich im Freien",
"fr": "Ce distributeur est à l'extérieur"
2023-06-29 16:30:43 +02:00
},
"hideInAnswer": true
},
{
"if": "indoor=yes",
"then": {
"en": "This vending machine is indoors",
2023-07-27 02:03:56 +02:00
"nl": "Deze verkoopautomaat is binnen",
2023-09-16 18:52:42 +02:00
"de": "Dieser Verkaufsautomat befindet sich im Innenbereich",
"fr": "Ce distributeur est à l'intérieur"
2023-06-29 16:30:43 +02:00
}
},
{
"if": "indoor=no",
"then": {
"en": "This vending machine is outdoors",
2023-07-27 02:03:56 +02:00
"nl": "Deze verkoopautomaat is buiten",
2023-09-16 18:52:42 +02:00
"de": "Dieser Automat befindet sich im Freien",
"fr": "Ce distributeur est à l'extérieur"
2023-06-29 16:30:43 +02:00
}
}
]
},
"level"
],
"calculatedTags": [
"_vending_count=feat.properties.vending.split(';').length"
],
"presets": [
{
"title": {
"en": "a vending machine",
2023-07-27 02:03:56 +02:00
"nl": "een verkoopautomaat",
2023-09-16 18:52:42 +02:00
"de": "ein Verkaufsautomat",
"fr": "un distributeur"
2023-06-29 16:30:43 +02:00
},
"tags": [
"amenity=vending_machine"
]
}
],
"mapRendering": [
{
"icon": {
"render": "./assets/layers/vending_machine/vending_machine.svg",
"mappings": [
{
"if": "vending=drinks",
"then": "circle:white;./assets/layers/id_presets/temaki-bottles.svg"
},
{
"if": "vending=sweets",
"then": "circle:white;./assets/layers/id_presets/maki-confectionery.svg"
},
{
"if": "vending=food",
"then": "circle:white;./assets/layers/vending_machine/utensils.svg"
},
{
"if": "vending=cigarettes",
"then": "circle:white;./assets/layers/vending_machine/smoking.svg"
},
{
"if": "vending=coffee",
"then": "circle:white;./assets/layers/vending_machine/mug-saucer.svg"
},
{
"if": "vending=water",
"then": "circle:white;./assets/layers/id_presets/temaki-water_bottle.svg"
},
{
"if": "vending=newspapers",
"then": "circle:white;./assets/layers/id_presets/fas-newspaper.svg"
},
{
"if": "vending=milk",
"then": "circle:white;./assets/layers/vending_machine/cow.svg"
},
{
"if": "vending=bread",
"then": "circle:white;./assets/layers/id_presets/maki-bakery.svg"
},
{
"if": "vending=eggs",
"then": "circle:white;./assets/layers/vending_machine/egg.svg"
},
{
"if": "vending=cheese",
"then": "circle:white;./assets/layers/id_presets/fas-cheese.svg"
},
{
"if": "vending=honey",
"then": "circle:white;./assets/layers/vending_machine/honey.svg"
},
{
"if": "vending=potatoes",
"then": "circle:white;./assets/layers/vending_machine/potato.svg"
},
{
"if": "vending=flowers",
"then": "circle:white;./assets/layers/id_presets/maki-florist.svg"
2023-06-29 16:30:43 +02:00
}
]
},
"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~.*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"
2023-06-29 16:30:43 +02:00
}
]
}
],
"filter": [
"open_now",
{
"id": "vending",
"options": [
{
"question": {
"en": "All vending machines",
2023-07-27 02:03:56 +02:00
"nl": "Alle verkoopautomaten",
2023-09-16 18:52:42 +02:00
"de": "Alle Verkaufsautomaten",
"fr": "Tous les distributeurs"
2023-06-29 16:30:43 +02:00
}
},
{
"question": {
"en": "Sale of drinks",
2023-07-27 02:03:56 +02:00
"nl": "Verkoop van dranken",
2023-09-16 18:52:42 +02:00
"de": "Verkauf von Getränken",
"fr": "Vente de boissons"
2023-06-29 16:30:43 +02:00
},
"osmTags": "vending~i~.*drinks.*"
},
{
"question": {
"en": "Sale of sweets",
2023-07-27 02:03:56 +02:00
"nl": "Verkoop van snoep",
2023-09-16 18:52:42 +02:00
"de": "Verkauf von Süßigkeiten",
"fr": "Ventre de confiseries"
2023-06-29 16:30:43 +02:00
},
"osmTags": "vending~i~.*sweets.*"
},
{
"question": {
"en": "Sale of food",
2023-07-27 02:03:56 +02:00
"nl": "Verkoop van eten",
2023-09-16 18:52:42 +02:00
"de": "Verkauf von Lebensmitteln",
"fr": "Ventre de nourriture"
2023-06-29 16:30:43 +02:00
},
"osmTags": "vending~i~.*food.*"
},
{
"question": {
"en": "Sale of cigarettes",
2023-07-27 02:03:56 +02:00
"nl": "Verkoop van sigaretten",
2023-09-16 18:52:42 +02:00
"de": "Verkauf von Zigaretten",
"fr": "Vente de cigarettes"
2023-06-29 16:30:43 +02:00
},
"osmTags": "vending~i~.*cigarettes.*"
},
{
"question": {
"en": "Sale of condoms",
2023-07-27 02:03:56 +02:00
"nl": "Verkoop van condooms",
2023-09-16 18:52:42 +02:00
"de": "Verkauf von Kondomen",
"fr": "Vente de préservatifs"
2023-06-29 16:30:43 +02:00
},
"osmTags": "vending~i~.*condoms.*"
},
{
"question": {
"en": "Sale of coffee",
2023-07-27 02:03:56 +02:00
"nl": "Verkoop van koffie",
2023-09-16 18:52:42 +02:00
"de": "Verkauf von Kaffee",
"fr": "Vente de café"
2023-06-29 16:30:43 +02:00
},
"osmTags": "vending~i~.*coffee.*"
},
{
"question": {
"en": "Sale of water",
2023-07-27 02:03:56 +02:00
"nl": "Verkoop van water",
2023-09-16 18:52:42 +02:00
"de": "Verkauf von Trinkwasser",
"fr": "Vente d'eau"
2023-06-29 16:30:43 +02:00
},
"osmTags": "vending~i~.*water.*"
},
{
"question": {
"en": "Sale of newspapers",
2023-07-27 02:03:56 +02:00
"nl": "Verkoop van kranten",
2023-09-16 18:52:42 +02:00
"de": "Verkauf von Zeitungen",
"fr": "Vente de journaux"
2023-06-29 16:30:43 +02:00
},
"osmTags": "vending~i~.*newspapers.*"
},
{
"question": {
"en": "Sale of bicycle inner tubes",
2023-07-27 02:03:56 +02:00
"nl": "Verkoop van fietsbinnenbanden",
2023-09-16 18:52:42 +02:00
"de": "Verkauf von Fahrradschläuchen",
"fr": "Vente de chambres à air pour vélo"
2023-06-29 16:30:43 +02:00
},
"osmTags": "vending~i~.*bicycle_tube.*"
},
{
"question": {
"en": "Sale of milk",
2023-07-27 02:03:56 +02:00
"nl": "Verkoop van melk",
2023-09-16 18:52:42 +02:00
"de": "Verkauf von Milch",
"fr": "Vente de lait"
2023-06-29 16:30:43 +02:00
},
"osmTags": "vending~i~.*milk.*"
},
{
"question": {
"en": "Sale of bread",
2023-07-27 02:03:56 +02:00
"nl": "Verkoop van brood",
2023-09-16 18:52:42 +02:00
"de": "Verkauf von Brot",
"fr": "Vente de pain"
2023-06-29 16:30:43 +02:00
},
"osmTags": "vending~i~.*bread.*"
},
{
"question": {
"en": "Sale of eggs",
2023-07-27 02:03:56 +02:00
"nl": "Verkoop van eieren",
2023-09-16 18:52:42 +02:00
"de": "Verkauf von Eiern",
"fr": "Vente d'œufs"
2023-06-29 16:30:43 +02:00
},
"osmTags": "vending~i~.*eggs.*"
},
{
"question": {
"en": "Sale of cheese",
2023-07-27 02:03:56 +02:00
"nl": "Verkoop van kaas",
2023-09-16 18:52:42 +02:00
"de": "Verkauf von Käse",
"fr": "Vente de fromage"
2023-06-29 16:30:43 +02:00
},
"osmTags": "vending~i~.*cheese.*"
},
{
"question": {
"en": "Sale of honey",
2023-07-27 02:03:56 +02:00
"nl": "Verkoop van honing",
2023-09-16 18:52:42 +02:00
"de": "Verkauf von Honig",
"fr": "Vente de miel"
},
"osmTags": "vending~i~.*honey.*"
},
{
"question": {
"en": "Sale of potatoes",
2023-07-27 02:03:56 +02:00
"nl": "Verkoop van aardappelen",
2023-09-16 18:52:42 +02:00
"de": "Verkauf von Kartoffeln",
"fr": "Vente de pommes de terre"
},
"osmTags": "vending~i~.*potatoes.*"
},
{
"question": {
"en": "Sale of flowers",
2023-07-27 02:03:56 +02:00
"nl": "Verkoop van bloemen",
2023-09-16 18:52:42 +02:00
"de": "Verkauf von Blumen",
"fr": "Vente de fleurs"
},
"osmTags": "vending~i~.*flowers.*"
2023-06-29 16:30:43 +02:00
}
]
}
],
"allowMove": {
"enableImproveAccuracy": true,
"enableRelocation": true
},
"deletion": true
2023-06-29 16:30:43 +02:00
}