Key:locked
| Description |
|---|
| Used to mark a gate, barrier or other feature as locked or not. |
| Group: barriers |
| Used on these elements |
| See also |
| Status: approved |
| Tools for this tag |
Some gates are generally left unlocked such 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, in situations where you may ignore the legal permission such as in emergencies, what the physical access is.
For example it can be very important to know if a gate on a roadway is usually locked and hence can't be accessed easily without obtaining the key or unlocked and can easily be opened/closed by everyone.
How to map
locked=yesThe gate or barrier is usually locked and not accessible without the key.locked=noThe gate or barrier is usually unlocked and is accessible to anyone (though you may still need to manually open the gate).
A key does not need to be a traditional key, it could be a contactless card, swipe card, or a PIN code.
Conditionally locked
locked:conditional=*To specify a condition different to the default locked value per Conditional restrictions. eg.locked:conditional=yes @ (sunset-sunrise)to say that the gate is locked at night, combined withlocked=noto indicate usually unlocked during the day.- While there is some 10k+ usage of
opening_hours=*in combination withlocked=*,locked:conditional=*is preferred due to its clear and non-conflicting meaning.
Railways
Examples
- A bicycle parking cage which requires a public transport card to open would be tagged
locked=yessince you need a "key" in this case the swipe card to get inside.locked=yesdoes not make any comment on how widespread or easily obtainable the key is, just that you need a key. - 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 escaping but still allowing adults to open and close would be
locked=no. - A farm entrance gate which is closed to prevent cattle and other livestock from escaping but is not locked so a person can easily open and close it would be
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 belocked=yes.
See also
barrier:personnel=*which applies to barriers which have personnel to restrict access.
