Any sanitary district organized under this chapter may acquire by purchase, condemnation, or otherwise, any and all real and personal property, rights-of-way and privileges, either within or without its corporate limits, required for its corporate purposes. Condemnation proceedings shall be conducted in the same manner, as near as may be, as provided for condemnation by counties under the laws of Iowa. Said sanitary districts shall have power to sell, convey, or otherwise dispose of any of the properties belonging to them when no longer required for their purposes.