The Long Profile of a River