If a railroad finds it necessary, for the purpose of avoiding annoyance to public travel, or dangerous or difficult curves or grades, or unsafe or unsubstantial grounds or foundations, or for other reasonable causes, to change the grade or location of any portion of its road, it may make such changes of grade and location not departing from its general route.
SDCL 49-16A-53