Terrain analysis and landform recognition