Planning the next navigation leg with contour interpretation