Archaeologists have long studied the ancient, crumbling temples of Angkor in Cambodia as sites of worship and gathering. But how Angkor functioned as a city remained unknown.