The council may by ordinance approved by a majority of the full council vacate any street or alley or part thereof within the city. Such vacation may be made only after the city clerk has given notice by publication for two consecutive weeks that the proposed vacation will be considered by the council at a public hearing at a time and place designated therein. A duly certified transcript of such ordinance shall be filed with the appropriate recording officer of the county in which said lands lie.