Marks a stretch of waterway bounded by lock gates, forming a lock
From International Hydrographic Organization, IHO Dictionary, S-32, 5th Edition:
- "A wet dock in a waterway, permitting a ship to pass from one level to another."
- Lock gate
- "Pair of massive hinged doors at each end of a lock."
lock=yes is used on a way representing a section of waterway which is enclosed by lock gates (tagged with waterway=lock_gate). If the way enclosed by lock gates is a line, then it should also be tagged waterway=river or waterway=canal, with the way direction going from the higher to the lower end of the lock (in the direction of water flow), as is usual with these waterways. If the way enclosed by lock gates is an area, then it should be tagged as landuse=basin.
Because the waterway name will be using the "name" property of this way, the tag lock_name=* should be used if the lock has a name.
There is currently no consensus on how renderers respond to the various methods of lock tagging.
- lock_name=*; e.g., lock_name=Withrington Bottom Lock
- lock_ref=*; e.g., for if a lock has both a name and a reference.
- lock:height=*; e.g., the distance from low level and hight level
- automated=*; e.g., 'yes' if the lock is automated