A city of the primary class shall have the power, by ordinance, to regulate levees, depots, depot grounds, and places for storing freight and goods and to provide for and regulate the passing of railways through the streets and public grounds of the city, reserving the rights of all persons injured thereby.
Neb. Rev. Stat. §§ 15-209