Guiding ships on waterways