Nearly 25,000 people displaced by landslides and floods triggered by heavy rains brought by a tropical depression.