User:Andreas.balzer/switch

From OpenStreetMap Wiki
Jump to navigation Jump to search

General

The switch=* tag is related to the operated=* tag. Please have a look at operated=* as well as User:Andreas.balzer/operated for further details.

Type of switch

Key Value Element Comment Rendering Photo
switch yes Mf node.png This node contains a switch. Do not use this key/value pair if possible.
switch pushbutton Mf node.png The switch is a pushbutton. It will not do something without the user pressing the switch.
switch key Mf node.png The switch is operated by a key. It will not do something without the user inserting/rotating the key. See below for further tags when keys are used.
switch keypad Mf node.png The switch is a keypad. It will not do something without the user typing the correct key.
switch smart_card Mf node.png Theswitch is operated with a smart card. The object will not do something without the user sliding his smart card through or holding it near to the sensor.
switch fingerprint Mf node.png The switch is a fingerprint reader. It will not do something without the user placing a finger onto the fingerprint reader.
switch eyescan Mf node.png The switch is an eye scanner. It will not do something without the user looking into the scanner.
switch proximity Mf node.png The switch is a proximity sensor. It does something as soon as someone approaches the object. See below for further information.
switch no Mf node.png There's no switch at all. Do not use this key/value-pair.

Object being switched

Please use the following key to specify what is being switched:

Key Value Element Comment Rendering Photo
switch:switched uid;( uid; )*(uid)? Mf node.png Used on switch-nodes: Use any amount of node uids to specify what is being switched by operating this switch.

Type of operation

Use the following key to specify the types of operation supported by the switch.

Key Value Element Comment Rendering Photo
switch:operation start Mf node.png The switch will make the object start doing something.
switch:operation stop Mf node.png The switch will make the object stop doing something.
switch:operation slow_down Mf node.png The switch will make the object do something slower.
switch:operation speed_up Mf node.png The switch will make the object do something faster.
switch:operation request_permission Mf node.png The switch will request permission to do something (e.g. request a traffic light to switch green).
switch:operation request_service Mf node.png The switch will request a service being delivered, e.g. calling a lift.
switch:operation * Mf node.png Specify what the switch operation does. Please add your specification to the discussion list. Examples: Request a lift to service a travel to an upper flow (e.g. request_service_up)