bar ditch is Western alteration of 'borrow ditch', which NI3 defines as "a ditch dug along a roadway to furnish fill and provide drainage" -- none of which 'splains nothin'.

except that the roadfill is borrowed from the ditch, I suppose. hmmm. roadfill. seems like there's a rhyme there somewhere...