This is the Tiete River in Pirapora do Bom Jesus, Brazil. Yes, that's a bridge - at first I thought it was an irrigation arm or something.
But no, they attach nozzles to the bridge itself to spray on that foam to keep it down. The foam itself is generated by a mixture of chemical detergents and organic pollutants.
Yummy!