Countless human-made troubles in the Indonesian capital pose an imminent threat to the city’s survival. And it has to deal with mounting threats from climate change.