Navigate from one point to another using terrain association