This paper studies collective motion optimization of a fleet of Unmanned Aerial Vehicles (UAVs) flying over a populated and geometrically constrained area. The paper treats UAVs as particles of a deformable body such that UAV coordination is defined by a homeomorphic continuum deformation function. Under continuum deformation, the distance between indi-vidual UAVs can significantly change while assuring the UAVs do not collide. This enables a swarm to travel through a potentially cluttered environment. To ensure inter-agent and obstacle collision avoidance, the paper formulates safety requirements as inequality constraints of the coordination optimization problem. The main objective of the paper is then to optimize UAV team motion while satisfying all continuum deformation inequality constraints. Given initial and target configurations, motion cost is defined as a weighted sum of the travel distance and distributed cost proportional to the likelihood of human presence in the overflown region.