The mayor and common council, in proceeding by ordinance to purchase and condemn lands for the purpose stated in section 77.160, may proceed in the manner provided by law for the establishment of streets, avenues, alleys or marketplaces or public squares, but it shall not be necessary to establish a benefit district or assess benefits, or, unless there are nonresident or unknown defendants, to give notice by publication as therein provided; and on such condemnation and the payment of the appraisement as therein provided, the title of such lands shall vest in such city for the uses and purposes for which taken.