test_stuttgart_gml modified to print more information for debugging

This commit is contained in:
Pilar 2021-06-08 11:41:15 -04:00
parent 47c4cbed65
commit 421d64ee84

View File

@ -51,11 +51,13 @@ 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}')
print(f'city name: {city.name}')
print(f'number of buildings: {len(city.buildings)}')
for building in city.buildings:
print(f'building {building.name} has {len(building.surfaces)} surfaces {building.volume}')
print(f'building {building.name} has {len(building.surfaces)} surfaces')
print(f'building {building.name} has {building.volume} m3')
print(f'Found {len(city.buildings)} buildings')
self.assertTrue(True)