Bug correction in citygml factory
This commit is contained in:
parent
b0fabf3b7f
commit
98676e81e0
|
@ -49,6 +49,8 @@ class CityGmlLod2(CityGmlBase):
|
||||||
surface_encoding, surface_subtype = cls._surface_encoding(bounded[surface_type])
|
surface_encoding, surface_subtype = cls._surface_encoding(bounded[surface_type])
|
||||||
except NotImplementedError:
|
except NotImplementedError:
|
||||||
continue
|
continue
|
||||||
|
if 'surfaceMember' not in bounded[surface_type][surface_encoding][surface_subtype]:
|
||||||
|
continue
|
||||||
for member in bounded[surface_type][surface_encoding][surface_subtype]['surfaceMember']:
|
for member in bounded[surface_type][surface_encoding][surface_subtype]['surfaceMember']:
|
||||||
if 'CompositeSurface' in member:
|
if 'CompositeSurface' in member:
|
||||||
for composite_members in member['CompositeSurface']['surfaceMember']:
|
for composite_members in member['CompositeSurface']['surfaceMember']:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user