Cities of the second class and villages shall have power to regulate the crossing of railway tracks and the running of railway engines, cars, or trucks within the corporate limits of such city or village and to govern the speed of such engines, cars, or trucks, and to make any other and further provisions, rules, and restrictions to prevent accidents at crossings and on the tracks of railways.
Neb. Rev. Stat. §§ 17-552