Optimal UAV relay placement for single user capacity maximization over terrain with obstacles