Indonesia, an archipelago of more than 18,000 islands, lies at the collision point of three tectonic plates.