A walking trail in the Adelaide Hills has been cut off after a council was “required” to close a rail crossing that connected it.