Merge pull request 'Bug correction in citygml factory' (#52) from geojson_exporter into main
Reviewed-on: https://nextgenerations-cities.encs.concordia.ca/gitea/CERC/hub/pulls/52
This commit is contained in:
commit
9ce97edc13
|
@ -49,6 +49,8 @@ class CityGmlLod2(CityGmlBase):
|
|||
surface_encoding, surface_subtype = cls._surface_encoding(bounded[surface_type])
|
||||
except NotImplementedError:
|
||||
continue
|
||||
if 'surfaceMember' not in bounded[surface_type][surface_encoding][surface_subtype]:
|
||||
continue
|
||||
for member in bounded[surface_type][surface_encoding][surface_subtype]['surfaceMember']:
|
||||
if 'CompositeSurface' in member:
|
||||
for composite_members in member['CompositeSurface']['surfaceMember']:
|
||||
|
|
Loading…
Reference in New Issue
Block a user