Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
c421425707
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user