diff --git a/city_model_structure/city.py b/city_model_structure/city.py index a19e2118..cb87779d 100644 --- a/city_model_structure/city.py +++ b/city_model_structure/city.py @@ -23,7 +23,6 @@ class City: """ def __init__(self, lower_corner, upper_corner, srs_name, buildings=None): - self._buildings = None self._name = None self._lower_corner = lower_corner self._upper_corner = upper_corner @@ -194,6 +193,7 @@ class City: """ selected_region_lower_corner = [center[0] - radius, center[1] - radius, center[2] - radius] selected_region_upper_corner = [center[0] + radius, center[1] + radius, center[2] + radius] + # todo, ask @Guille: does this create a new instance of city?? selected_region_city = City(selected_region_lower_corner, selected_region_upper_corner, srs_name=self.srs_name) for city_object in self.city_objects: location = city_object.location