The magnitude 7.7 earthquake was powerful, shallow and in a heavily populated region with vulnerable buildings.