Urban planning adapted to nature based on complex adaptive systems