A deadly earthquake that reduced buildings to rubble in West Java, Indonesia has once again exposed the dangers of living in poorly built homes in one of the most seismically active zones on the planet.

Since Monday's quake, survivors have been sleeping rough or in shelters away from homes vulnerable to collapse as aftershocks rattle buildings already compromised by the 5.9-magnitude quake that killed at least 310 people, according to the head of country's National Agency for Disaster Management (BNPB).

Recommended for you

Masrur Jamaluddin contributed reporting.