From 3005e5de6ef99a384f38a5b690ae444a81c84074 Mon Sep 17 00:00:00 2001 From: guille Date: Thu, 3 Jun 2021 10:14:36 -0400 Subject: [PATCH] Partial correction citygml read --- imports/geometry/citygml.py | 1 - imports/geometry/citygml_lod2.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/imports/geometry/citygml.py b/imports/geometry/citygml.py index 5bcbe109..869dcf43 100644 --- a/imports/geometry/citygml.py +++ b/imports/geometry/citygml.py @@ -88,7 +88,6 @@ class CityGml: lod = 2 surfaces = CityGmlLod2(o).surfaces elif 'consistsOfBuildingPart' in o['Building']: - raise NotImplementedError("Building cluster") ''' if 'lod1Solid' in o['Building']: diff --git a/imports/geometry/citygml_lod2.py b/imports/geometry/citygml_lod2.py index 8b80c7dd..910656b2 100644 --- a/imports/geometry/citygml_lod2.py +++ b/imports/geometry/citygml_lod2.py @@ -43,8 +43,6 @@ class CityGmlLod2(CityGmlBase): p = Polygon(sp) surface = Surface(p,p, surface_type=GeometryHelper.gml_surface_to_libs(surface_type)) surfaces.append(surface) - for p in o["Building"]["consistsOfBuildingPart"]: - raise NotImplementedError return surfaces