Water quality management of river and estuarine waters