Building the ecological city