Update citygml.py

This commit is contained in:
Behnam Farsi Balouch 2021-04-30 16:59:04 +00:00
parent f831ed5d3c
commit 6e360251fb

View File

@ -158,7 +158,7 @@ class CityGml:
return [Surface(Polygon(sp),Polygon(sp)) for sp in solid_points]
@staticmethod
def _lod2_solid_multi_surface(o,):
def _lod2_solid_multi_surface(o):
if 'boundedBy' in o['Building']['consistsOfBuildingPart']['BuildingPart']:
if 'RoofSurface' in o['Building']['consistsOfBuildingPart']['BuildingPart']['boundedBy']:
if o['Building']['consistsOfBuildingPart']['BuildingPart']['boundedBy']['RoofSurface']['lod2MultiSurface'] != 'None':