delineate_riverspace function

Delineate the space surrounding a river