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.

638 lines
17 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",
"de": "Verkaufsautomaten"
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",
"de": "Ebene mit Verkaufsautomaten"
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",
"de": "Verkaufsautomat"
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}",
"de": "Verkaufsautomat {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}",
"de": "Verkaufsautomat {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?",
"de": "Was wird in diesem Automaten verkauft?"
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}",
"de": "Dieser Automat verkauft {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",
"de": "Getränke werden verkauft"
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",
"de": "Süßigkeiten werden verkauft"
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",
"de": "Lebensmittel werden verkauft"
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",
"de": "Zigaretten werden verkauft"
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",
"de": "Kondome werden verkauft"
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",
"de": "Kaffee wird verkauft"
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",
"de": "Trinkwasser wird verkauft"
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",
"de": "Zeitungen werden verkauft"
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",
"de": "Fahrradschläuche werden verkauft"
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",
"de": "Milch wird verkauft"
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",
"de": "Brot wird verkauft"
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",
"de": "Eier werden verkauft"
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",
"de": "Käse wird verkauft"
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",
"de": "Honig wird verkauft"
},
"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",
"de": "Kartoffeln werden verkauft"
},
"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",
"de": "Blumen werden verkauft"
},
"icon": "./assets/layers/id_presets/maki-florist.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?",
"de": "Wer betreibt diesen Verkaufsautomaten?"
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",
"de": "Name des Betreibers"
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}",
"de": "Dieser Verkaufsautomat wird betrieben von {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?",
"de": "Ist dieser Automat in einem Gebäude untergebracht?"
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",
"de": "Dieser Automat befindet sich im Freien"
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",
"de": "Dieser Verkaufsautomat befindet sich im Innenbereich"
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",
"de": "Dieser Automat befindet sich im Freien"
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",
"de": "ein Verkaufsautomat"
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"
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",
"de": "Alle Verkaufsautomaten"
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",
"de": "Verkauf von Getränken"
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",
"de": "Verkauf von Süßigkeiten"
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",
"de": "Verkauf von Lebensmitteln"
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",
"de": "Verkauf von Zigaretten"
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",
"de": "Verkauf von Kondomen"
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",
"de": "Verkauf von Kaffee"
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",
"de": "Verkauf von Trinkwasser"
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",
"de": "Verkauf von Zeitungen"
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",
"de": "Verkauf von Fahrradschläuchen"
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",
"de": "Verkauf von Milch"
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",
"de": "Verkauf von Brot"
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",
"de": "Verkauf von Eiern"
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",
"de": "Verkauf von Käse"
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",
"de": "Verkauf von Honig"
},
"osmTags": "vending~i~.*honey.*"
},
{
"question": {
"en": "Sale of potatoes",
2023-07-27 02:03:56 +02:00
"nl": "Verkoop van aardappelen",
"de": "Verkauf von Kartoffeln"
},
"osmTags": "vending~i~.*potatoes.*"
},
{
"question": {
"en": "Sale of flowers",
2023-07-27 02:03:56 +02:00
"nl": "Verkoop van bloemen",
"de": "Verkauf von Blumen"
},
"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
}