Indonesian authorities are struggling to get aid to thousands of evacuees displaced by a deadly earthquake in western Java, as rain-triggered landslides and difficult mountainous terrain hampered the efforts of rescue teams.
Monday's 5.6-magnitude earthquake in the town of Cianjur, about 75 kilometres south of the capital Jakarta, killed at least 271 people with 40 missing, and left many sheltering in tents with scant medical and aid supplies.
Survivors included a woman who gave birth at a makeshift medical centre in a tent.
"The conditions are steep," President Joko Widodo said of the rugged terrain as he visited Cianjur on Thursday.
"It's still raining and there are still aftershocks. The ground is shaky, so caution is needed."
Evacuation remained a priority, he said, adding he wanted to make sure distribution went well. He visited emergency tents, handing out food to children.
Suharyanto, the disaster mitigation agency chief, said many had not received aid and officials have gathered nearly 200 volunteers to help distribute water, instant food, tents and diapers.
With dozens missing, rescuers used earth diggers and other heavy machinery to clear mud and debris in search of victims.
Some areas that have been cut off by landslides could only be reached by helicopter, disaster officials have said.
Search efforts focused on Cijedil village, where about 30 people were thought to be buried under a landslide, Joshua Banjarnahor of the national search and rescue agency, told reporters.
Rain-soaked slopes and potential landslides were delaying rescue efforts, the search and rescue agency said on Wednesday, adding the likelihood of finding survivors was getting slimmer.
Indonesia is one of the world's most earthquake-prone nations, regularly recording strong earthquakes offshore where fault lines run.
Monday's quake was particularly deadly because it struck a densely populated area at a depth of just 10km.
Poor construction standards also caused buildings to collapse, leading to many deaths, officials said.
Australian Associated Press