Optimal scan planning for surveying large sites with static and mobile mapping systems