The council of any city or trustees of any incorporated town or village through which the line of any telegraph corporation is to pass, may, by ordinance or otherwise, specify where the posts, piers or abutments shall be located, the kind of posts that shall be used, the height at which the wires shall be run, and such company shall be governed by the regulation thus prescribed; and after the erection of said telegraph lines, the council of any city or the trustees of any incorporated town or village shall have power to direct any alteration in the location or erection of said posts, piers or abutments, and also in the height at which the wires shall run, having first given such company or its agents opportunity to be heard in regard to such alteration.
K.S.A. 17-1906