A spatial assessment of riverine ecosystems and water supply in a semi-arid environment