Planning for climate change in urban areas: from theory to practice