Tag:barrier=ditch

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg barrier = ditch
Base XXXIV communication trench.JPG
Description
A man made ditch or trench to prevent access to the other side. Edit or translate this description.
Rendering in OSM 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
Implies
Useful combination
See also
Status: in use

A ditch or a trench is a long and narrow man-made barrier dug in the ground to prevent access to the other side.

The characteristics of a ditch are: it is a man made structure and its primary use is to prevent access to the other side. It 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 is natural and holds water (even intermittently), use waterway=stream instead.

How to map

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

Routing

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).

Photos

See also

  • waterway=ditch - if the ditch contains water.
  • waterway=stream - for a thin naturally-forming waterway.
  • waterway=drain - for a thin artificial waterway.
  • military=trench - a military trench: an excavation in the ground that is generally deeper than it is wide, dug into the ground as a barrier for military purposes (e.g. trench warfare)