I always thought it was used to line up the ship that was about to land/dock.