Thousands of Bangkok residents flocked to bus, rail and air terminals while heavy traffic snaked out of the sprawling Thai capital in an exodus from a mass of approaching floodwater.