From OpenStreetMap Wiki
Jump to: navigation, search
Available languages — Tag:barrier=ditch
Afrikaans Alemannisch aragonés asturianu azərbaycanca Bahasa Indonesia Bahasa Melayu Bân-lâm-gú Basa Jawa Baso Minangkabau bosanski brezhoneg català čeština dansk Deutsch eesti English español Esperanto estremeñu euskara français Frysk Gaeilge Gàidhlig galego Hausa hrvatski Igbo interlingua Interlingue isiXhosa isiZulu íslenska italiano Kiswahili Kreyòl ayisyen kréyòl gwadloupéyen kurdî latviešu Lëtzebuergesch lietuvių magyar Malagasy Malti Nederlands Nedersaksies norsk norsk nynorsk occitan Oromoo oʻzbekcha/ўзбекча Plattdüütsch polski português português do Brasil română shqip slovenčina slovenščina Soomaaliga suomi svenska Tiếng Việt Türkçe Vahcuengh vèneto Wolof Yorùbá Zazaki српски / srpski беларуская български қазақша македонски монгол русский тоҷикӣ українська Ελληνικά Հայերեն ქართული नेपाली मराठी हिन्दी অসমীয়া বাংলা ਪੰਜਾਬੀ ગુજરાતી ଓଡ଼ିଆ தமிழ் తెలుగు ಕನ್ನಡ മലയാളം සිංහල ไทย မြန်မာဘာသာ ລາວ ភាសាខ្មែរ ⵜⴰⵎⴰⵣⵉⵖⵜ አማርኛ 한국어 日本語 中文(简体)‎ 吴语 粵語 中文(繁體)‎ ייִדיש עברית اردو العربية پښتو سنڌي فارسی ދިވެހިބަސް
Public-images-osm logo.svg barrier = ditch
A man made ditch or trench to prevent access to the other side.
Rendering in openstreetmap-carto
Barrier fence mapnik.png
Group: Barriers
Used on these elements
should not be used on nodesmay be used on waysshould not be used on areasshould not be used on relations
Useful combination
See also
Status: in use

A ditch or a trench is a long and narrow way dug in the ground.


The characteristics of a ditch are: it is a man made structure and its primary use is to prevent access to the other side. They may contain little water or even be dry most of the year.

If the main use is to channel water or if it is not totally dry most of the year, consider using waterway=ditch instead of, or in combination with barrier=ditch.

If the ditch you are mapping is natural and holds water (even intermittently), you should use waterway=stream instead.

How to map

Draw a way along the ditch location and add tag barrier=ditch.


Remember that any barrier tag may interpreted as impassible for pedestrians. Leave a gap in the barrier where you can pass the ditch on foot and map bridges.

Default access is access=no, that is, it is not possible to cross this feature perpendicularly. Use tag access=* to override it.

It is not possible to route along this feature.

Useful combination

  • width=* to indicate the width of the ditch.
  • intermittent=yes for ditches that may be either dry or with present water
  • ditch=ha_ha for the particular type of trench as an ornamental garden feature known as a "ha-ha" (Ha-ha on Wikipedia).

See also