Redesigning the Boundary between Land and River. A Technological-Environmental Approach for the Resilience of River Corridors and Health of Inhabitants