Homes evacuated, and train lines and roads closed after flooding.