Remove useless debug code

This commit is contained in:
Guille Gutierrez 2021-06-08 11:41:45 -04:00
parent 47c4cbed65
commit cae22102c9
2 changed files with 1 additions and 5 deletions

View File

@ -104,14 +104,10 @@ class CityGml:
if self._city is None:
self._city = City(self._lower_corner, self._upper_corner, self._srs_name)
i = 0
for o in self._gml['CityModel']['cityObjectMember']:
i += 1
city_object = o['Building']
if 'consistsOfBuildingPart' in city_object:
self._city.add_city_objects_cluster(self._create_parts_consisting_building(city_object))
else:
self._city.add_city_object(self._create_building(city_object))
if i < 4:
break
return self._city

View File

@ -51,7 +51,7 @@ class TestGeometryFactory(TestCase):
# citygml_classes
def test_stuttgart_gml(self):
file = 'concordia.gml'
file = 'ConcordiaSWGcampus.gml'
city = self._get_citygml(file)
print(f'city name: {city}')
for building in city.buildings: