Creating a topographic profile for the territory