A drainage district may acquire a right-of-way across land that is not affected by the drainage project but is located in the drainage district to construct a ditch or canal or for any other necessary purpose authorized by law.