Ditch Foam or Pipeline Utility Foam is an ideal material for pipeline construction projects that are required to provide ditch breaks for erosion and sedimentation control. Spray foam is less labor intensive and provides better pipeline and ditch support than alternatives such as sandbags, straw bales, and silt fencing. Because it’s a product that starts in a liquid state and expands to a foam state, it has better void filling abilities and is easier to transport to job sites than alternatives such as riprap (rock).