mapcomplete/Docs/Layers/all_vending_machine.md

34 KiB

all_vending_machine

Layer showing vending machines

  • This layer is shown at zoomlevel 18 and higher
  • Not visible in the layer selection by default. If you want to make this layer toggable, override name

Table of contents

  1. Themes using this layer
  2. Basic tags for this layer
  3. Supported attributes

Themes using this layer

Basic tags for this layer

Elements must match all of the following expressions:

  1. amenity=vending_machine
  2. vending!~^((parking_tickets|elongated_coin|public_transport_tickets))$

Execute on overpass

Supported attributes

Warning:

this quick overview is incomplete

attribute

type

values which are supported by this layer

id

Multiple choice

vending

string

drinks sweets food cigarettes condoms coffee water newspapers bicycle_tube milk bread eggs cheese honey potatoes meat fruit strawberries flowers parking_tickets elongated_coin public_transport_tickets bicycle_light gloves bicycle_repair_kit bicycle_pump bicycle_lock

opening_hours

opening_hours

24/7

payment:coins:denominations

Multiple choice

[0.01 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D0.01 EUR) [0.02 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D0.02 EUR) [0.05 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D0.05 EUR) [0.10 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D0.10 EUR) [0.20 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D0.20 EUR) [0.50 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D0.50 EUR) [1 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D1 EUR) [2 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D2 EUR) [0.05 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D0.05 CHF) [0.10 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D0.10 CHF) [0.20 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D0.20 CHF) [0.50 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D0.50 CHF) [1 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D1 CHF) [2 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D2 CHF) [5 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D5 CHF)

payment🎶denominations

Multiple choice

[5 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D5 EUR) [10 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D10 EUR) [20 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D20 EUR) [50 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D50 EUR) [100 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D100 EUR) [200 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D200 EUR) [500 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D500 EUR) [10 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D10 CHF) [20 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D20 CHF) [50 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D50 CHF) [100 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D100 CHF) [200 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D200 CHF) [1000 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D1000 CHF)

operator

string

indoor

Multiple choice

yes no

level

float

0 1 -1

phone

phone

website

url

just_created

This element shows a 'thank you' that the contributor has recently created this element

This tagrendering has no question and is thus read-only

  • You just created this element! Thanks for sharing this info with the world and helping people worldwide. corresponds with id~.+

This tagrendering is only visible in the popup if the following condition is met: _last_edit:passed_time<300 & (_version_number= | <a href='https://wiki.openstreetmap.org/wiki/Key:_version_number' target='_blank'>_version_number</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:_version_number%3D1' target='_blank'>1</a>) & _backend~.+

This tagrendering has labels added_by_default

images

This block shows the known images which are linked with the image-keys, but also via mapillary and wikidata and shows the button to upload new images

This tagrendering has no question and is thus read-only

vending

The question is What does this vending machine sell?

This rendering asks information about the property vending This is rendered with This vending machine sells {vending}

opening_hours_24_7

The question is What are the opening hours of {title()}?

This rendering asks information about the property opening_hours This is rendered with <h3>Opening hours</h3>{opening_hours_table(opening_hours)}

  • 24/7 opened (including holidays) corresponds with opening_hours=24/7
  • Marked as closed for an unspecified time corresponds with opening_hours=closed
  • This option cannot be chosen as answer

payment-options-split

The question is Which methods of payment are accepted here?

denominations-coins

The question is What coins can you use to pay here?

This tagrendering is only visible in the popup if the following condition is met: (<a href='https://wiki.openstreetmap.org/wiki/Key:payment:cash' target='_blank'>payment:cash</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:cash%3Dyes' target='_blank'>yes</a> | <a href='https://wiki.openstreetmap.org/wiki/Key:payment:coins' target='_blank'>payment:coins</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:coins%3Dyes' target='_blank'>yes</a>) & (_currency~^(.*EUR.*)$ | _currency~^(.*CHF.*)$)

denominations-notes

The question is what notes can you use to pay here?

This tagrendering is only visible in the popup if the following condition is met: (<a href='https://wiki.openstreetmap.org/wiki/Key:payment:cash' target='_blank'>payment:cash</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:cash%3Dyes' target='_blank'>yes</a> | <a href='https://wiki.openstreetmap.org/wiki/Key:payment:notes' target='_blank'>payment:notes</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:notes%3Dyes' target='_blank'>yes</a>) & (_currency~^(.*EUR.*)$ | _currency~^(.*CHF.*)$)

operator

The question is Who operates this vending machine?

This rendering asks information about the property operator This is rendered with This vending machine is operated by {operator}

indoor

The question is Is this vending machine indoors?

  • This vending machine is outdoors corresponds with indoor=
  • This option cannot be chosen as answer
  • This vending machine is indoors corresponds with indoor=yes
  • This vending machine is outdoors corresponds with indoor=no

repeated

This tagrendering has no question and is thus read-only

This tagrendering is only visible in the popup if the following condition is met: repeat_on~.+

This tagrendering has labels level

single_level

The question is On what level is this feature located?

This rendering asks information about the property level This is rendered with Located on the {level}th floor

  • Located underground corresponds with location=underground
  • This option cannot be chosen as answer
  • Located on the ground floor corresponds with level=0
  • Located on the ground floor corresponds with level=
  • This option cannot be chosen as answer
  • Located on the first floor corresponds with level=1
  • Located on the first basement level corresponds with level=-1

This tagrendering has labels level

phone

The question is What is the phone number of the operator of this vending machine?

This rendering asks information about the property phone This is rendered with <a href='tel:{phone}'>{phone}</a>

  • {contact:phone} corresponds with contact:phone~.+
  • This option cannot be chosen as answer

This tagrendering has labels contact

website

The question is What is the website of {title()}?

This rendering asks information about the property website This is rendered with <a href='{website}' rel='nofollow noopener noreferrer' target='_blank'>{website}</a>

  • {contact:website} corresponds with contact:website~.+
  • This option cannot be chosen as answer

This tagrendering has labels contact

leftover-questions

This tagrendering has no question and is thus read-only

lod

This tagrendering has no question and is thus read-only

This tagrendering has labels added_by_default

minimap

Shows a small map with the feature. Added by default to every popup

This tagrendering has no question and is thus read-only

move-button

This tagrendering has no question and is thus read-only

delete-button

This tagrendering has no question and is thus read-only

last_edit

Gives some metainfo about the last edit and who did edit it - rendering only

This tagrendering has no question and is thus read-only

This tagrendering is only visible in the popup if the following condition is met: _last_edit:changeset~.+ & _last_edit:contributor~.+

This tagrendering has labels added_by_default

favourite_status

This tagrendering has no question and is thus read-only

qr_code

This tagrendering has no question and is thus read-only

This tagrendering has labels added_by_default

share

This tagrendering has no question and is thus read-only

This tagrendering has labels added_by_default

all-tags

This tagrendering has no question and is thus read-only

Filters

id

question

osmTags

open_now.0

Open now

_isOpen=yes

id

question

osmTags

vending.0

All vending machines (default)

vending.1

Sale of drinks

vending~^(.drinks.)$

vending.2

Sale of sweets

vending~^(.sweets.)$

vending.3

Sale of food

vending~^(.food.)$

vending.4

Sale of cigarettes

vending~^(.cigarettes.)$

vending.5

Sale of condoms

vending~^(.condoms.)$

vending.6

Sale of coffee

vending~^(.coffee.)$

vending.7

Sale of water

vending~^(.water.)$

vending.8

Sale of newspapers

vending~^(.newspapers.)$

vending.9

Sale of bicycle inner tubes

vending~^(.bicycle_tube.)$

vending.10

Sale of milk

vending~^(.milk.)$

vending.11

Sale of bread

vending~^(.bread.)$

vending.12

Sale of eggs

vending~^(.eggs.)$

vending.13

Sale of cheese

vending~^(.cheese.)$

vending.14

Sale of honey

vending~^(.honey.)$

vending.15

Sale of potatoes

vending~^(.potatoes.)$

vending.16

Sale of meat

vending~^(.meat.)$

vending.17

Sale of fruit

vending~^(.fruit.)$

vending.18

Sale of strawberries

vending~^(.strawberries.)$

vending.19

Sale of flowers

vending~^(.flowers.)$

vending.20

Sale of parking tickets

vending~^(.parking_tickets.)$

vending.21

Sale of pressed pennies

vending=elongated_coin

vending.22

Sale of public transport tickets

vending~^(.public_transport_tickets.)$

vending.23

Sale of bicycle lights

vending=bicycle_light

vending.24

Sale of gloves

vending=gloves

vending.25

Sale of bicycle repair kits

vending=bicycle_repair_kit

vending.26

Sale of bicycle pumps

vending=bicycle_pump

vending.27

Sale of bicycle locks

vending=bicycle_lock

This document is autogenerated from assets/themes/vending_machine/vending_machine.json