Terrain contour mapping