Torrential rains have caused havoc in parts of the Indonesian capital and neighbouring West Java, as flooding and landslides have killed at least five people.

Indonesia floods landslides
Rescue workers evacuate people from a flooded neighbourhood in Pasar Minggu, South Jakarta Antara Foto/Atika Fauziyyah/Reuters

Rescuers said three bodies were recovered from a village near Bogor in West Java including a one-year-old child. Two children aged eight and 10 were still missing. At least one person was killed in a village ravaged by landslides in the hilly West Java resort town of Puncak and the search goes on for eight others still missing.

Landslides blocked the main road connecting the area to Jakarta, where the National Disaster Mitigation Agency said floods have forced about 6,500 people to leave their homes. The capital, with more than 30 million people in its greater metropolitan area, has raised its flood alert to the highest level.

Authorities warned that flash floods could hit Jakarta after being forced to open sluice gates on a major upstream reservoir. City authorities have been trying to improve low-lying Jakarta's vulnerability to flooding during the rainy season. More than 50 people died in one of the capital's deadliest floods in 2007 and five years ago much of the centre of the city was inundated after canals overflowed.

Indonesia floods landslides
Residents watch water caused by heavy rainfall pour out of the Katulampa sluice gate in Bogor City, West Java, south of Jakarta Antara Foto/Yulius Satria Wijaya/Reuters

Alhamdulillah, warga Jakarta kini masing2 rumah sudah punya kolam sendiri. Bukti satu lagi janji Gabener terpenuhi dengan menyediakan kolam pancing.

Nikmat gabener mana lagi yang kau dustakan, bong cebong...?

FOTO: Jalan Jatinegara Terputus Akibat Luapan Sungai Ciliwung pic.twitter.com/gmZuzRhB5k

— #JokowiLagi (@yusuf_dumdum) February 6, 2018

3️⃣ #جاكرتا
أمطار غزيرة جداً وعواصف أغرقت عدة مناطق وجرت السيول المهيبة واأحدثت أضرار عدة نسأل الله اللطف بهم#إندونيسيا #Jakarta_Flood #Jakarta
today got severe weather with strong heavy rainstorm and Devastating massive floods #indonesia
May Allah bless them pic.twitter.com/vmK1htNbBu

— 🌊 الطبيعة🌴والطقس🌦 (@yyss_5) February 5, 2018

2️⃣ #جاكرتا
أمطار غزيرة جداً وعواصف أغرقت عدة مناطق وجرت السيول المهيبة واأحدثت أضرار عدة نسأل الله اللطف بهم#إندونيسيا #Jakarta_Flood #Jakarta
today got severe weather with strong heavy rainstorm and massive floods
Damage is everywhere #indonesia
May Allah bless them pic.twitter.com/WlpX6XvABN

— 🌊 الطبيعة🌴والطقس🌦 (@yyss_5) February 5, 2018

1️⃣ #جاكرتا
أمطار غزيرة جداً وعواصف أغرقت عدة مناطق وجرت السيول المهيبة واأحدثت أضرار عدة نسأل الله اللطف بهم#إندونيسيا #Jakarta_Flood #Jakarta
today got severe weather with strong heavy rainstorm and massive floods
Damage is everywhere #indonesia
May Allah bless them pic.twitter.com/O2xDe9Xv3b

— 🌊 الطبيعة🌴والطقس🌦 (@yyss_5) February 5, 2018

Local television stations broadcast a frantic rescue of a woman who was trapped in a car for 13 hours after a landslide near Jakarta's international airport. Another woman rescued several hours earlier from the same car died in hospital, an executive of the company she worked for told local TV. Muhammad Syauqi, the head of the National Search and Rescue Agency, said the landslide caused the wall of an underpass to collapse, trapping the car and injuring the women. Both women worked for GMF Aeroasia, a subsidiary of national airline Garuda Indonesia.