diff --git a/Level/FZK-Haus-LoD2-KIT-IAI-KHH-B36-V1.gml b/Level/FZK-Haus-LoD2-KIT-IAI-KHH-B36-V1.gml new file mode 100644 index 0000000..baf0544 --- /dev/null +++ b/Level/FZK-Haus-LoD2-KIT-IAI-KHH-B36-V1.gml @@ -0,0 +1,240 @@ + + + AC14-FZK-Haus + + + 457842 5439083 111.8 + 457854 5439093 118.317669 + + + + + FZK-Haus (Forschungszentrum Karlsruhe, now KIT), created by Karl-Heinz + Haefele + AC14-FZK-Haus + 2017-01-23 + entirelyAboveTerrain + + 120.00 + + + New Building + + + NO + + 1000 + 1000 + 1000 + 2020 + 1030 + 6.52 + 2 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Outer Wall 1 (West) + + + + + + + 457842 5439088 118.317691453624 + 457842 5439093 115.430940107676 + 457842 5439093 111.8 + 457842 5439083 111.8 + 457842 5439083 115.430940107676 + 457842 5439088 118.317691453624 + + + + + + + + + + + Outer Wall 2 (South) + + + + + + + 457854 5439083 115.430940107676 + 457842 5439083 115.430940107676 + 457842 5439083 111.8 + 457854 5439083 111.8 + 457854 5439083 115.430940107676 + + + + + + + + + + + Outer Wall 3 (East) + + + + + + + 457854 5439088 118.317691453624 + 457854 5439083 115.430940107676 + 457854 5439083 111.8 + 457854 5439093 111.8 + 457854 5439093 115.430940107676 + 457854 5439088 118.317691453624 + + + + + + + + + + + Roof 1 (North) + + + + + + + 457842 5439088 118.317691453624 + 457854 5439088 118.317691453624 + 457854 5439093 115.430940107676 + 457842 5439093 115.430940107676 + 457842 5439088 118.317691453624 + + + + + + + + + + + Outer Wall 4 (North) + + + + + + + 457842 5439093 115.430940107676 + 457854 5439093 115.430940107676 + 457854 5439093 111.8 + 457842 5439093 111.8 + 457842 5439093 115.430940107676 + + + + + + + + + + + Roof 2 (South) + + + + + + + 457854 5439083 115.430940107676 + 457854 5439088 118.317691453624 + 457842 5439088 118.317691453624 + 457842 5439083 115.430940107676 + 457854 5439083 115.430940107676 + + + + + + + + + + + Bodenplatte + Base Surface + + + + + + + 457854 5439083 111.8 + 457842 5439083 111.8 + 457842 5439093 111.8 + 457854 5439093 111.8 + 457854 5439083 111.8 + + + + + + + + + + + + + + Eggenstein-Leopoldshafen + + 4711 + Spöcker Straße + + + 76344 + + + + + + + + + \ No newline at end of file diff --git a/Level/main_level1.py b/Level/main_level1.py new file mode 100644 index 0000000..a5b76c3 --- /dev/null +++ b/Level/main_level1.py @@ -0,0 +1,33 @@ +from hub.imports.geometry_factory import GeometryFactory +from hub.imports.construction_factory import ConstructionFactory +from hub.helpers.dictionaries import Dictionaries +from hub.exports.exports_factory import ExportsFactory + + +# Level0: +gml_file = './FZK-Haus-LoD2-KIT-IAI-KHH-B36-V1.gml' +city = GeometryFactory('citygml', gml_file, function_to_hub=Dictionaries().montreal_function_to_hub_function).city + +for building in city.buildings: + print(building.name) + print(building.volume) + print(building.floor_area) + + +# Level1: +city1 = city.copy + +for building in city1.buildings: + print ("Construction year of building in city1 is: ", building.year_of_construction) + print ("Building's function in city1 is: " , building.function) + +ConstructionFactory('nrcan',city1).enrich() + +for building in city1.buildings: + for internal_zone in building.internal_zones: + for thermal_zone in internal_zone.thermal_zones: + for thermal_boundary in thermal_zone.thermal_boundaries: + for layer in thermal_boundary.layers: + print(thermal_boundary.internal_surface.type) + print(layer.material.name) +