Any city of the first class under K.S.A. 13-443, any city of the second class under K.S.A. 14-423, or any city of the third class under K.S.A. 15-427, or any amendments to said sections, in vacating by ordinance any street, avenue, alley or lane or part thereof may, reserve to the city and public utilities such rights-of-way and easements as in the judgment of the governing body of the city, are necessary or desirable for public service.
K.S.A. 12-512a