In military engineering, a ditch is an obstacle designed to slow down or break up an attacking force, while a trench is intended to provide cover to the defenders. In military fortifications the side of a ditch farthest from the enemy and closest to the next line of defence is known as the scarp while the side of a ditch closest to the enemy is known as the counterscarp.
A ditch and earth bank at Old Sarum, near Salisbury in England, dating from the Iron Age.
Ditch of Valletta, which was built between 1566 and the 1570s.
A bastion fort or trace italienne is a fortification in a style that evolved during the early modern period of gunpowder when the cannon came to dominate the battlefield. It was first seen in the mid-fifteenth century in Italy. Some types, especially when combined with ravelins and other outworks, resembled the related star fort of the same era.
Citadel of Jaca [es], Spain, an example of a bastion fort
Bourtange fortification, restored to its 1742 condition, Groningen, Netherlands
Plan of Tvrđa from 1861, in Osijek, Croatia
Model of the city of Naarden, Netherlands