From OpenStreetMap Wiki
(Redirected from Key:locked:conditional)
Jump to navigation Jump to search
Public-images-osm logo.svg locked
Exhibition Place water garden locked gate.jpg
Used to mark a gate, barrier or other feature as locked and not. Edit or translate this description.
Group: Barriers
Used on these elements
may be used on nodesshould not be used on waysmay be used on areasshould not be used on relations
Status: approvedPage for proposal

access=* is used to describe the legal permission to travel through a barrier but does not indicate 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.

How to map

A key does not need to be a traditional key, it could be a contactless card, swipe card, or a PIN code.


  • A bicycle parking cage which requires a public transport card to open would be tagged locked=yes since you need a "key" in this case the swipe card to get inside. locked=yes does not make any comment on how widespread or easily obtainable the key is, just that you need a key.
  • A tourism=wilderness_hut for which you first have to retrieve the key somewhere would be tagged locked=yes.

See also

  • barrier:personnel=* which applies to barriers which have personnel to restrict access.