- 252 people have died after an earthquake struck Java, Indonesia on Monday.
- Among the dead are several children, who were attending school at the time.
- Houses in the district of Cugenang were buried in a landslide.
The many children who were killed when their schools collapsed are among the 252 dead from an earthquake that devastated a town on Indonesia's main island of Java, officials said on Tuesday.
Rescuers are racing to reach people trapped in rubble.
Hundreds of people were injured in the Monday quake and officials warned the death toll was likely to rise.
The shallow 5.6-magnitude quake struck mountains in Indonesia's most populous province of West Java, causing significant damage to the town of Cianjur and burying at least one village under a landslide.
Landslides and rough terrain were hampering rescue efforts, said Henri Alfiandi, head of National Search and Rescue Agency (Basarnas).
"The challenge is the affected area is spread out... On top of that, the roads in these villages are damaged," Alfiandi told a news conference, adding that more than 13 000 people had been evacuated.
Many of the fatalities resulted from people trapped under collapsed buildings, officials said.
President Joko Widodo flew in to Cianjur on Tuesday to encourage rescuers.
"My instruction is to prioritise evacuating victims that are still trapped under rubble," said the president, who is known as Jokowi.
He offered his condolences to the victims and pledged emergency government support. Reconstruction should include earthquake-proof housing, he said.
Survivors gathered overnight in a Cianjur hospital parking lot. Some of the injured were treated in tents, others were hooked up to intravenous drips on the pavement as medical workers stitched up patients under torch light.
Cucu, a 48-year-old resident said:
"Two of my kids survived, I dug them up ... Two others I brought here, and one is still missing," she said through tears.
"Many dead bodies are lying in the hospital grounds, it's very crowded," said her relative, Hesti.
Footage from Kompas TV showed people holding cardboard signs asking for food and shelter, with emergency supplies seemingly yet to reach them.
Hundreds of police officers were deployed to help the rescue effort, Dedi Prasetyo, national police spokesperson told the Antara state news agency.
"Today's main task order for personnel is to focus on evacuating victims," he said.
The death toll from the earthquake had risen to 252, the district government said in a post on social media. The death toll from the national disaster agency (BNPB) stood at 103, with 31 missing.
Cianjur police chief told Metro TV that 20 people had been evacuated from the district of Cugenang, where most people had died, with residents reporting missing family members.
The area was hit by a landslide triggered by the quake that had blocked access to the area.
Zainuddin, a resident of Cugenang said:
"If it was just an earthquake only the houses would collapse, but this is worse because of the landslide. In this residential area there were eight houses, all of the which were buried and swept away."
Rescue efforts were complicated by electricity outages in some areas, and more than 100 aftershocks.
Straddling the so-called Ring of Fire, a highly seismically active zone where different plates on the earth's crust meet, Indonesia has a history of devastating earthquakes.
In 2004, a 9.1 magnitude quake off Sumatra island in northern Indonesia triggered a tsunami that struck 14 countries, killing 226 000 people.