Every municipality shall have power to require railroad companies to make, keep open, and repair their crossings of streets and public roads, and to require them to make, keep open, and repair ditches, drains, sewers, and culverts along and under their tracks, so that drainage of adjacent property shall not be impeded and the right-of-way shall be properly drained.
SDCL 9-35-8