Article Optimum planning of information interaction of a spacecraft with a discrete medium on surface of the Earth