Merge remote-tracking branch 'origin/master'

This commit is contained in:
Guille Gutierrez 2021-06-08 11:41:49 -04:00
commit c421425707

View File

@ -53,9 +53,11 @@ class TestGeometryFactory(TestCase):
def test_stuttgart_gml(self): def test_stuttgart_gml(self):
file = 'ConcordiaSWGcampus.gml' file = 'ConcordiaSWGcampus.gml'
city = self._get_citygml(file) 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: 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') print(f'Found {len(city.buildings)} buildings')
self.assertTrue(True) self.assertTrue(True)