Do take it from Coonoor to Ooty. Tickets can be booked on same day at the railway station 40 minutes prior to the train departure. Lovely views of hills, forest, tea gardens and farms. Loved it as a kid, and loved it again when I visited with my kid :)
