Key:locked
| Description |
|---|
| Indicates whether a gate, barrier or other feature is normally locked or unlocked. |
| Group: Barriers |
| Used on these elements |
| See also |
| Status: approved |
| Tools for this tag |
Some gates are generally left unlocked so that anyone can open them, for example pool, playground or farm gates, while other gates are generally always locked to prevent public access. This tag is intended to help distinguish these scenarios.
access=* is used to describe the legal permission to travel through a barrier but does not indicate whether the barrier can physically be opened, for example in emergencies.
For example, it can be very important to know whether a gate on a roadway is usually locked and hence cannot be accessed easily without obtaining a key, or whether it is unlocked and can easily be opened and closed by anyone.
A key does not need to be a traditional key. It could also be a contactless card, swipe card or PIN code.
How to map
locked=yesThe gate or barrier is usually locked and cannot be opened without a key or other unlocking method.locked=noThe gate or barrier is usually unlocked and can be opened without a key (though it may still need to be opened manually).
Conditionally locked
locked:conditional=*can be used to specify conditions under which the usual locking state changes, following Conditional restrictions. For example,locked:conditional=yes @ (sunset-sunrise)indicates that a gate is locked at night, combined withlocked=noto indicate that it is usually unlocked during the day.- While
opening_hours=*is also used in combination withlocked=*,locked:conditional=*is preferred due to its clearer and non-conflicting meaning.
Railways
Lockable vs. locked
locked=yes indicates that an object is normally locked and requires a key or another unlocking method to access it. locked=no indicates that it is normally unlocked.
By contrast, lockable=* describes whether an object can be locked, regardless of whether it is normally locked or unlocked.
For example:
- A locker with a fitting for a personal padlock, but without a padlock attached, can be tagged
lockable=yes. This does not implylocked=yes. - A gate that can be locked but is normally left unlocked can be tagged
lockable=yesandlocked=no. - A gate that is normally locked and requires a key to open can be tagged
locked=yes.
An object may be lockable without normally being locked. See lockable=* for further information.
Examples
- A bicycle parking cage which requires a public transport card to open would be tagged
locked=yes, since a "key" (in this case, the swipe card) is needed to get inside.locked=yesdoes not indicate how widespread or easily obtainable the key is, only that one is required. - A
tourism=wilderness_hutfor which you first have to retrieve the key somewhere would be taggedlocked=yes. - A gate at a children's playground designed to prevent children from escaping while still allowing adults to open and close it would be tagged
locked=no. - A farm entrance gate which is closed to prevent cattle and other livestock from escaping, but is not locked and can easily be opened and closed, would be tagged
locked=no. - A gate along a
highway=trackwhich is locked to prevent the general public from driving past, but may be unlocked by emergency services or management vehicles, would be taggedlocked=yes.
See also
lockable=*– Indicates whether an object can be locked, regardless of whether it is normally locked.access=*– Describes legal access permissions and restrictions.barrier:personnel=*– Applies to barriers where personnel control or restrict access.
