reorganized structure

This commit is contained in:
Pilar Monsalvete 2023-06-08 10:23:15 -04:00
parent 34e2d598b9
commit 11f2a70c74
6 changed files with 527 additions and 553 deletions

View File

@ -1,28 +0,0 @@
# cerc-hub export
# building UUID_d281adfc-4901-0f52-540b-4cc1a9325f82
g UUID_d281adfc-4901-0f52-540b-4cc1a9325f82
s off
# surface 9a1623ed-cff3-46e3-b216-6b5bc34caf68
v 0.0 5.0 6.517691453623996
v 0.0 10.0 3.630940107675997
v 0.0 10.0 0.0
v 0.0 0.0 0.0
v 0.0 0.0 3.630940107675997
f 1 2 3 4 5
# surface 6ac94b17-cc97-4b67-b79a-402cd0325917
v 12.0 0.0 3.630940107675997
v 12.0 0.0 0.0
f 6 5 4 7
# surface 429f5b6f-2818-4882-b8f4-f6983e707d86
v 12.0 5.0 6.517691453623996
v 12.0 10.0 0.0
v 12.0 10.0 3.630940107675997
f 8 6 7 9 10
# surface e934907a-d808-45bc-bc8f-5ad17b0834f1
f 1 8 10 2
# surface 0e80bc1f-0b35-4917-ba25-98139457582c
f 2 10 9 3
# surface d8ef7be5-3144-4947-b054-c9e39f548ad1
f 6 8 1 5
# surface f30c3309-acc2-46a8-aa15-e255c345d77c
f 7 4 3 9

View File

@ -1,3 +1,3 @@
# Documentation # Documentation
This repository contains the CERC development documentation and it's intended to be linked from different repositories and sites This repository contains the CERC development documentation, and it's intended to be linked from different repositories and sites

View File

@ -1,240 +1,240 @@
<?xml version="1.0" encoding="utf-8"?><!-- IFC to CityGML by IFCExplorer KIT --><!-- CityGML to Sketchup by Sketchup CityGML Plugin FH GelsenKirchen --><!--CityGML Dataset produced with CityGML Export Plugin for Sketchup by GeoRES --><!--http://www.geores.de --><!-- Edited Manually in Oxygen 8.2 --><!-- Modified by GMLOffset.xslt at Mon Dec 6 2010 --><!-- Version 2 Building located in the area of KIT Campus North)--><!-- Modified by GMLOffset.xslt at Wed Dec 8 2010 --><!-- Modified by GMLOffset.xslt at Wed Mar 29 2017 --><core:CityModel xsi:schemaLocation="http://www.opengis.net/citygml/2.0 http://schemas.opengis.net/citygml/2.0/cityGMLBase.xsd http://www.opengis.net/citygml/appearance/2.0 http://schemas.opengis.net/citygml/appearance/2.0/appearance.xsd http://www.opengis.net/citygml/building/2.0 http://schemas.opengis.net/citygml/building/2.0/building.xsd http://www.opengis.net/citygml/generics/2.0 http://schemas.opengis.net/citygml/generics/2.0/generics.xsd" xmlns:core="http://www.opengis.net/citygml/2.0" xmlns="http://www.opengis.net/citygml/profiles/base/2.0" xmlns:bldg="http://www.opengis.net/citygml/building/2.0" xmlns:gen="http://www.opengis.net/citygml/generics/2.0" xmlns:grp="http://www.opengis.net/citygml/cityobjectgroup/2.0" xmlns:app="http://www.opengis.net/citygml/appearance/2.0" xmlns:gml="http://www.opengis.net/gml" xmlns:xAL="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <?xml version="1.0" encoding="utf-8"?><!-- IFC to CityGML by IFCExplorer KIT --><!-- CityGML to Sketchup by Sketchup CityGML Plugin FH GelsenKirchen --><!--CityGML Dataset produced with CityGML Export Plugin for Sketchup by GeoRES --><!--http://www.geores.de --><!-- Edited Manually in Oxygen 8.2 --><!-- Modified by GMLOffset.xslt at Mon Dec 6 2010 --><!-- Version 2 Building located in the area of KIT Campus North)--><!-- Modified by GMLOffset.xslt at Wed Dec 8 2010 --><!-- Modified by GMLOffset.xslt at Wed Mar 29 2017 --><core:CityModel xsi:schemaLocation="http://www.opengis.net/citygml/2.0 http://schemas.opengis.net/citygml/2.0/cityGMLBase.xsd http://www.opengis.net/citygml/appearance/2.0 http://schemas.opengis.net/citygml/appearance/2.0/appearance.xsd http://www.opengis.net/citygml/building/2.0 http://schemas.opengis.net/citygml/building/2.0/building.xsd http://www.opengis.net/citygml/generics/2.0 http://schemas.opengis.net/citygml/generics/2.0/generics.xsd" xmlns:core="http://www.opengis.net/citygml/2.0" xmlns="http://www.opengis.net/citygml/profiles/base/2.0" xmlns:bldg="http://www.opengis.net/citygml/building/2.0" xmlns:gen="http://www.opengis.net/citygml/generics/2.0" xmlns:grp="http://www.opengis.net/citygml/cityobjectgroup/2.0" xmlns:app="http://www.opengis.net/citygml/appearance/2.0" xmlns:gml="http://www.opengis.net/gml" xmlns:xAL="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- Manually edited by KHH 23.01.2017, CityGML 2.0, Address added, Codespaces added --> <!-- Manually edited by KHH 23.01.2017, CityGML 2.0, Address added, Codespaces added -->
<gml:name>AC14-FZK-Haus</gml:name> <gml:name>AC14-FZK-Haus</gml:name>
<gml:boundedBy> <gml:boundedBy>
<gml:Envelope srsDimension="3" srsName="urn:adv:crs:ETRS89_UTM32*DE_DHHN92_NH"> <gml:Envelope srsDimension="3" srsName="urn:adv:crs:ETRS89_UTM32*DE_DHHN92_NH">
<gml:lowerCorner srsDimension="3">457842 5439083 111.8 </gml:lowerCorner> <gml:lowerCorner srsDimension="3">457842 5439083 111.8 </gml:lowerCorner>
<gml:upperCorner srsDimension="3">457854 5439093 118.317669 </gml:upperCorner> <gml:upperCorner srsDimension="3">457854 5439093 118.317669 </gml:upperCorner>
</gml:Envelope> </gml:Envelope>
</gml:boundedBy> </gml:boundedBy>
<core:cityObjectMember> <core:cityObjectMember>
<bldg:Building gml:id="UUID_d281adfc-4901-0f52-540b-4cc1a9325f82"> <bldg:Building gml:id="UUID_d281adfc-4901-0f52-540b-4cc1a9325f82">
<gml:description>FZK-Haus (Forschungszentrum Karlsruhe, now KIT), created by Karl-Heinz <gml:description>FZK-Haus (Forschungszentrum Karlsruhe, now KIT), created by Karl-Heinz
Haefele </gml:description> Haefele </gml:description>
<gml:name>AC14-FZK-Haus</gml:name> <gml:name>AC14-FZK-Haus</gml:name>
<core:creationDate>2017-01-23</core:creationDate> <core:creationDate>2017-01-23</core:creationDate>
<core:relativeToTerrain>entirelyAboveTerrain</core:relativeToTerrain> <core:relativeToTerrain>entirelyAboveTerrain</core:relativeToTerrain>
<gen:measureAttribute name="GrossPlannedArea"> <gen:measureAttribute name="GrossPlannedArea">
<gen:value uom="m2">120.00</gen:value> <gen:value uom="m2">120.00</gen:value>
</gen:measureAttribute> </gen:measureAttribute>
<gen:stringAttribute name="ConstructionMethod"> <gen:stringAttribute name="ConstructionMethod">
<gen:value>New Building</gen:value> <gen:value>New Building</gen:value>
</gen:stringAttribute> </gen:stringAttribute>
<gen:stringAttribute name="IsLandmarked"> <gen:stringAttribute name="IsLandmarked">
<gen:value>NO</gen:value> <gen:value>NO</gen:value>
</gen:stringAttribute> </gen:stringAttribute>
<bldg:class codeSpace="http://www.sig3d.org/codelists/citygml/2.0/building/2.0/_AbstractBuilding_class.xml">1000</bldg:class> <bldg:class codeSpace="http://www.sig3d.org/codelists/citygml/2.0/building/2.0/_AbstractBuilding_class.xml">1000</bldg:class>
<bldg:function codeSpace="http://www.sig3d.org/codelists/citygml/2.0/building/2.0/_AbstractBuilding_function.xml">1000</bldg:function> <bldg:function codeSpace="http://www.sig3d.org/codelists/citygml/2.0/building/2.0/_AbstractBuilding_function.xml">1000</bldg:function>
<bldg:usage codeSpace="http://www.sig3d.org/codelists/citygml/2.0/building/2.0/_AbstractBuilding_usage.xml">1000</bldg:usage> <bldg:usage codeSpace="http://www.sig3d.org/codelists/citygml/2.0/building/2.0/_AbstractBuilding_usage.xml">1000</bldg:usage>
<bldg:yearOfConstruction>2020</bldg:yearOfConstruction> <bldg:yearOfConstruction>2020</bldg:yearOfConstruction>
<bldg:roofType codeSpace="http://www.sig3d.org/codelists/citygml/2.0/building/2.0/_AbstractBuilding_roofType.xml">1030</bldg:roofType> <bldg:roofType codeSpace="http://www.sig3d.org/codelists/citygml/2.0/building/2.0/_AbstractBuilding_roofType.xml">1030</bldg:roofType>
<bldg:measuredHeight uom="m">6.52</bldg:measuredHeight> <bldg:measuredHeight uom="m">6.52</bldg:measuredHeight>
<bldg:storeysAboveGround>2</bldg:storeysAboveGround> <bldg:storeysAboveGround>2</bldg:storeysAboveGround>
<bldg:storeysBelowGround>0</bldg:storeysBelowGround> <bldg:storeysBelowGround>0</bldg:storeysBelowGround>
<bldg:lod2Solid> <bldg:lod2Solid>
<gml:Solid> <gml:Solid>
<gml:exterior> <gml:exterior>
<gml:CompositeSurface> <gml:CompositeSurface>
<!--Outer Wall 1 (West) --> <!--Outer Wall 1 (West) -->
<gml:surfaceMember xlink:href="#PolyID7350_878_759628_120742"> </gml:surfaceMember> <gml:surfaceMember xlink:href="#PolyID7350_878_759628_120742"> </gml:surfaceMember>
<!--Outer Wall 1 (West) --> <!--Outer Wall 1 (West) -->
<!--Outer Wall 2 (South) --> <!--Outer Wall 2 (South) -->
<gml:surfaceMember xlink:href="#PolyID7351_1722_416019_316876" /> <gml:surfaceMember xlink:href="#PolyID7351_1722_416019_316876" />
<!--Outer Wall 2 (South) --> <!--Outer Wall 2 (South) -->
<!--Outer Wall 3 (East) --> <!--Outer Wall 3 (East) -->
<gml:surfaceMember xlink:href="#PolyID7352_230_209861_355851" /> <gml:surfaceMember xlink:href="#PolyID7352_230_209861_355851" />
<!--Outer Wall 3 (East) --> <!--Outer Wall 3 (East) -->
<!--Roof 1 (North) --> <!--Roof 1 (North) -->
<gml:surfaceMember xlink:href="#PolyID7353_166_774155_320806" /> <gml:surfaceMember xlink:href="#PolyID7353_166_774155_320806" />
<!--Roof 1 (North) --> <!--Roof 1 (North) -->
<!--Outer Wall 4 (North) --> <!--Outer Wall 4 (North) -->
<gml:surfaceMember xlink:href="#PolyID7354_1362_450904_410226" /> <gml:surfaceMember xlink:href="#PolyID7354_1362_450904_410226" />
<!--Outer Wall 2 (North) --> <!--Outer Wall 2 (North) -->
<!--Roof 2 (South) --> <!--Roof 2 (South) -->
<gml:surfaceMember xlink:href="#PolyID7355_537_416207_260034" /> <gml:surfaceMember xlink:href="#PolyID7355_537_416207_260034" />
<!--Roof 2 (South) --> <!--Roof 2 (South) -->
<!--Base Surface --> <!--Base Surface -->
<gml:surfaceMember xlink:href="#PolyID7356_612_880782_415367" /> <gml:surfaceMember xlink:href="#PolyID7356_612_880782_415367" />
<!--Base Surface --> <!--Base Surface -->
</gml:CompositeSurface> </gml:CompositeSurface>
</gml:exterior> </gml:exterior>
</gml:Solid> </gml:Solid>
</bldg:lod2Solid> </bldg:lod2Solid>
<bldg:boundedBy> <bldg:boundedBy>
<bldg:WallSurface gml:id="GML_5856d7ad-5e34-498a-817b-9544bfbb1475"> <bldg:WallSurface gml:id="GML_5856d7ad-5e34-498a-817b-9544bfbb1475">
<gml:name>Outer Wall 1 (West)</gml:name> <gml:name>Outer Wall 1 (West)</gml:name>
<bldg:lod2MultiSurface> <bldg:lod2MultiSurface>
<gml:MultiSurface> <gml:MultiSurface>
<gml:surfaceMember> <gml:surfaceMember>
<gml:Polygon gml:id="PolyID7350_878_759628_120742"> <gml:Polygon gml:id="PolyID7350_878_759628_120742">
<gml:exterior> <gml:exterior>
<gml:LinearRing gml:id="PolyID7350_878_759628_120742_0"> <gml:LinearRing gml:id="PolyID7350_878_759628_120742_0">
<gml:pos>457842 5439088 118.317691453624 </gml:pos> <gml:pos>457842 5439088 118.317691453624 </gml:pos>
<gml:pos>457842 5439093 115.430940107676 </gml:pos> <gml:pos>457842 5439093 115.430940107676 </gml:pos>
<gml:pos>457842 5439093 111.8 </gml:pos> <gml:pos>457842 5439093 111.8 </gml:pos>
<gml:pos>457842 5439083 111.8 </gml:pos> <gml:pos>457842 5439083 111.8 </gml:pos>
<gml:pos>457842 5439083 115.430940107676 </gml:pos> <gml:pos>457842 5439083 115.430940107676 </gml:pos>
<gml:pos>457842 5439088 118.317691453624 </gml:pos> <gml:pos>457842 5439088 118.317691453624 </gml:pos>
</gml:LinearRing> </gml:LinearRing>
</gml:exterior> </gml:exterior>
</gml:Polygon> </gml:Polygon>
</gml:surfaceMember> </gml:surfaceMember>
</gml:MultiSurface> </gml:MultiSurface>
</bldg:lod2MultiSurface> </bldg:lod2MultiSurface>
</bldg:WallSurface> </bldg:WallSurface>
</bldg:boundedBy> </bldg:boundedBy>
<bldg:boundedBy> <bldg:boundedBy>
<bldg:WallSurface gml:id="GML_d38cf762-c29d-4491-88c9-bdc89e141978"> <bldg:WallSurface gml:id="GML_d38cf762-c29d-4491-88c9-bdc89e141978">
<gml:name>Outer Wall 2 (South)</gml:name> <gml:name>Outer Wall 2 (South)</gml:name>
<bldg:lod2MultiSurface> <bldg:lod2MultiSurface>
<gml:MultiSurface> <gml:MultiSurface>
<gml:surfaceMember> <gml:surfaceMember>
<gml:Polygon gml:id="PolyID7351_1722_416019_316876"> <gml:Polygon gml:id="PolyID7351_1722_416019_316876">
<gml:exterior> <gml:exterior>
<gml:LinearRing gml:id="PolyID7351_1722_416019_316876_0"> <gml:LinearRing gml:id="PolyID7351_1722_416019_316876_0">
<gml:pos>457854 5439083 115.430940107676 </gml:pos> <gml:pos>457854 5439083 115.430940107676 </gml:pos>
<gml:pos>457842 5439083 115.430940107676 </gml:pos> <gml:pos>457842 5439083 115.430940107676 </gml:pos>
<gml:pos>457842 5439083 111.8 </gml:pos> <gml:pos>457842 5439083 111.8 </gml:pos>
<gml:pos>457854 5439083 111.8 </gml:pos> <gml:pos>457854 5439083 111.8 </gml:pos>
<gml:pos>457854 5439083 115.430940107676 </gml:pos> <gml:pos>457854 5439083 115.430940107676 </gml:pos>
</gml:LinearRing> </gml:LinearRing>
</gml:exterior> </gml:exterior>
</gml:Polygon> </gml:Polygon>
</gml:surfaceMember> </gml:surfaceMember>
</gml:MultiSurface> </gml:MultiSurface>
</bldg:lod2MultiSurface> </bldg:lod2MultiSurface>
</bldg:WallSurface> </bldg:WallSurface>
</bldg:boundedBy> </bldg:boundedBy>
<bldg:boundedBy> <bldg:boundedBy>
<bldg:WallSurface gml:id="GML_8e5db638-e46a-4739-a98a-2fc2d39c9069"> <bldg:WallSurface gml:id="GML_8e5db638-e46a-4739-a98a-2fc2d39c9069">
<gml:name>Outer Wall 3 (East)</gml:name> <gml:name>Outer Wall 3 (East)</gml:name>
<bldg:lod2MultiSurface> <bldg:lod2MultiSurface>
<gml:MultiSurface> <gml:MultiSurface>
<gml:surfaceMember> <gml:surfaceMember>
<gml:Polygon gml:id="PolyID7352_230_209861_355851"> <gml:Polygon gml:id="PolyID7352_230_209861_355851">
<gml:exterior> <gml:exterior>
<gml:LinearRing gml:id="PolyID7352_230_209861_355851_0"> <gml:LinearRing gml:id="PolyID7352_230_209861_355851_0">
<gml:pos>457854 5439088 118.317691453624 </gml:pos> <gml:pos>457854 5439088 118.317691453624 </gml:pos>
<gml:pos>457854 5439083 115.430940107676 </gml:pos> <gml:pos>457854 5439083 115.430940107676 </gml:pos>
<gml:pos>457854 5439083 111.8 </gml:pos> <gml:pos>457854 5439083 111.8 </gml:pos>
<gml:pos>457854 5439093 111.8 </gml:pos> <gml:pos>457854 5439093 111.8 </gml:pos>
<gml:pos>457854 5439093 115.430940107676 </gml:pos> <gml:pos>457854 5439093 115.430940107676 </gml:pos>
<gml:pos>457854 5439088 118.317691453624 </gml:pos> <gml:pos>457854 5439088 118.317691453624 </gml:pos>
</gml:LinearRing> </gml:LinearRing>
</gml:exterior> </gml:exterior>
</gml:Polygon> </gml:Polygon>
</gml:surfaceMember> </gml:surfaceMember>
</gml:MultiSurface> </gml:MultiSurface>
</bldg:lod2MultiSurface> </bldg:lod2MultiSurface>
</bldg:WallSurface> </bldg:WallSurface>
</bldg:boundedBy> </bldg:boundedBy>
<bldg:boundedBy> <bldg:boundedBy>
<bldg:RoofSurface gml:id="GML_875d470b-32b4-4985-a4c8-0f02caa342a2"> <bldg:RoofSurface gml:id="GML_875d470b-32b4-4985-a4c8-0f02caa342a2">
<gml:name>Roof 1 (North)</gml:name> <gml:name>Roof 1 (North)</gml:name>
<bldg:lod2MultiSurface> <bldg:lod2MultiSurface>
<gml:MultiSurface> <gml:MultiSurface>
<gml:surfaceMember> <gml:surfaceMember>
<gml:Polygon gml:id="PolyID7353_166_774155_320806"> <gml:Polygon gml:id="PolyID7353_166_774155_320806">
<gml:exterior> <gml:exterior>
<gml:LinearRing gml:id="PolyID7353_166_774155_320806_0"> <gml:LinearRing gml:id="PolyID7353_166_774155_320806_0">
<gml:pos>457842 5439088 118.317691453624 </gml:pos> <gml:pos>457842 5439088 118.317691453624 </gml:pos>
<gml:pos>457854 5439088 118.317691453624 </gml:pos> <gml:pos>457854 5439088 118.317691453624 </gml:pos>
<gml:pos>457854 5439093 115.430940107676 </gml:pos> <gml:pos>457854 5439093 115.430940107676 </gml:pos>
<gml:pos>457842 5439093 115.430940107676 </gml:pos> <gml:pos>457842 5439093 115.430940107676 </gml:pos>
<gml:pos>457842 5439088 118.317691453624 </gml:pos> <gml:pos>457842 5439088 118.317691453624 </gml:pos>
</gml:LinearRing> </gml:LinearRing>
</gml:exterior> </gml:exterior>
</gml:Polygon> </gml:Polygon>
</gml:surfaceMember> </gml:surfaceMember>
</gml:MultiSurface> </gml:MultiSurface>
</bldg:lod2MultiSurface> </bldg:lod2MultiSurface>
</bldg:RoofSurface> </bldg:RoofSurface>
</bldg:boundedBy> </bldg:boundedBy>
<bldg:boundedBy> <bldg:boundedBy>
<bldg:WallSurface gml:id="GML_0f30f604-e70d-4dfe-ba35-853bc69609cc"> <bldg:WallSurface gml:id="GML_0f30f604-e70d-4dfe-ba35-853bc69609cc">
<gml:name>Outer Wall 4 (North)</gml:name> <gml:name>Outer Wall 4 (North)</gml:name>
<bldg:lod2MultiSurface> <bldg:lod2MultiSurface>
<gml:MultiSurface> <gml:MultiSurface>
<gml:surfaceMember> <gml:surfaceMember>
<gml:Polygon gml:id="PolyID7354_1362_450904_410226"> <gml:Polygon gml:id="PolyID7354_1362_450904_410226">
<gml:exterior> <gml:exterior>
<gml:LinearRing gml:id="PolyID7354_1362_450904_410226_0"> <gml:LinearRing gml:id="PolyID7354_1362_450904_410226_0">
<gml:pos>457842 5439093 115.430940107676 </gml:pos> <gml:pos>457842 5439093 115.430940107676 </gml:pos>
<gml:pos>457854 5439093 115.430940107676 </gml:pos> <gml:pos>457854 5439093 115.430940107676 </gml:pos>
<gml:pos>457854 5439093 111.8 </gml:pos> <gml:pos>457854 5439093 111.8 </gml:pos>
<gml:pos>457842 5439093 111.8 </gml:pos> <gml:pos>457842 5439093 111.8 </gml:pos>
<gml:pos>457842 5439093 115.430940107676 </gml:pos> <gml:pos>457842 5439093 115.430940107676 </gml:pos>
</gml:LinearRing> </gml:LinearRing>
</gml:exterior> </gml:exterior>
</gml:Polygon> </gml:Polygon>
</gml:surfaceMember> </gml:surfaceMember>
</gml:MultiSurface> </gml:MultiSurface>
</bldg:lod2MultiSurface> </bldg:lod2MultiSurface>
</bldg:WallSurface> </bldg:WallSurface>
</bldg:boundedBy> </bldg:boundedBy>
<bldg:boundedBy> <bldg:boundedBy>
<bldg:RoofSurface gml:id="GML_eeb6796a-e261-4d3b-a6f2-475940cca80a"> <bldg:RoofSurface gml:id="GML_eeb6796a-e261-4d3b-a6f2-475940cca80a">
<gml:name>Roof 2 (South)</gml:name> <gml:name>Roof 2 (South)</gml:name>
<bldg:lod2MultiSurface> <bldg:lod2MultiSurface>
<gml:MultiSurface> <gml:MultiSurface>
<gml:surfaceMember> <gml:surfaceMember>
<gml:Polygon gml:id="PolyID7355_537_416207_260034"> <gml:Polygon gml:id="PolyID7355_537_416207_260034">
<gml:exterior> <gml:exterior>
<gml:LinearRing gml:id="PolyID7355_537_416207_260034_0"> <gml:LinearRing gml:id="PolyID7355_537_416207_260034_0">
<gml:pos>457854 5439083 115.430940107676 </gml:pos> <gml:pos>457854 5439083 115.430940107676 </gml:pos>
<gml:pos>457854 5439088 118.317691453624 </gml:pos> <gml:pos>457854 5439088 118.317691453624 </gml:pos>
<gml:pos>457842 5439088 118.317691453624 </gml:pos> <gml:pos>457842 5439088 118.317691453624 </gml:pos>
<gml:pos>457842 5439083 115.430940107676 </gml:pos> <gml:pos>457842 5439083 115.430940107676 </gml:pos>
<gml:pos>457854 5439083 115.430940107676 </gml:pos> <gml:pos>457854 5439083 115.430940107676 </gml:pos>
</gml:LinearRing> </gml:LinearRing>
</gml:exterior> </gml:exterior>
</gml:Polygon> </gml:Polygon>
</gml:surfaceMember> </gml:surfaceMember>
</gml:MultiSurface> </gml:MultiSurface>
</bldg:lod2MultiSurface> </bldg:lod2MultiSurface>
</bldg:RoofSurface> </bldg:RoofSurface>
</bldg:boundedBy> </bldg:boundedBy>
<bldg:boundedBy> <bldg:boundedBy>
<bldg:GroundSurface gml:id="GML_257a8dde-8194-4ca3-b581-abd591dcd6a3"> <bldg:GroundSurface gml:id="GML_257a8dde-8194-4ca3-b581-abd591dcd6a3">
<gml:description>Bodenplatte</gml:description> <gml:description>Bodenplatte</gml:description>
<gml:name>Base Surface</gml:name> <gml:name>Base Surface</gml:name>
<bldg:lod2MultiSurface> <bldg:lod2MultiSurface>
<gml:MultiSurface> <gml:MultiSurface>
<gml:surfaceMember> <gml:surfaceMember>
<gml:Polygon gml:id="PolyID7356_612_880782_415367"> <gml:Polygon gml:id="PolyID7356_612_880782_415367">
<gml:exterior> <gml:exterior>
<gml:LinearRing gml:id="PolyID7356_612_880782_415367_0"> <gml:LinearRing gml:id="PolyID7356_612_880782_415367_0">
<gml:pos>457854 5439083 111.8 </gml:pos> <gml:pos>457854 5439083 111.8 </gml:pos>
<gml:pos>457842 5439083 111.8 </gml:pos> <gml:pos>457842 5439083 111.8 </gml:pos>
<gml:pos>457842 5439093 111.8 </gml:pos> <gml:pos>457842 5439093 111.8 </gml:pos>
<gml:pos>457854 5439093 111.8 </gml:pos> <gml:pos>457854 5439093 111.8 </gml:pos>
<gml:pos>457854 5439083 111.8 </gml:pos> <gml:pos>457854 5439083 111.8 </gml:pos>
</gml:LinearRing> </gml:LinearRing>
</gml:exterior> </gml:exterior>
</gml:Polygon> </gml:Polygon>
</gml:surfaceMember> </gml:surfaceMember>
</gml:MultiSurface> </gml:MultiSurface>
</bldg:lod2MultiSurface> </bldg:lod2MultiSurface>
</bldg:GroundSurface> </bldg:GroundSurface>
</bldg:boundedBy> </bldg:boundedBy>
<bldg:address> <bldg:address>
<core:Address> <core:Address>
<core:xalAddress> <core:xalAddress>
<xAL:AddressDetails> <xAL:AddressDetails>
<xAL:Locality Type="Town"> <xAL:Locality Type="Town">
<xAL:LocalityName>Eggenstein-Leopoldshafen</xAL:LocalityName> <xAL:LocalityName>Eggenstein-Leopoldshafen</xAL:LocalityName>
<xAL:Thoroughfare Type="Street"> <xAL:Thoroughfare Type="Street">
<xAL:ThoroughfareNumber>4711</xAL:ThoroughfareNumber> <xAL:ThoroughfareNumber>4711</xAL:ThoroughfareNumber>
<xAL:ThoroughfareName>Spöcker Straße</xAL:ThoroughfareName> <xAL:ThoroughfareName>Spöcker Straße</xAL:ThoroughfareName>
</xAL:Thoroughfare> </xAL:Thoroughfare>
<xAL:PostalCode> <xAL:PostalCode>
<xAL:PostalCodeNumber>76344</xAL:PostalCodeNumber> <xAL:PostalCodeNumber>76344</xAL:PostalCodeNumber>
</xAL:PostalCode> </xAL:PostalCode>
</xAL:Locality> </xAL:Locality>
</xAL:AddressDetails> </xAL:AddressDetails>
</core:xalAddress> </core:xalAddress>
</core:Address> </core:Address>
</bldg:address> </bldg:address>
</bldg:Building> </bldg:Building>
</core:cityObjectMember> </core:cityObjectMember>
</core:CityModel> </core:CityModel>

View File

@ -1,13 +1,15 @@
from hub.imports.geometry_factory import GeometryFactory from pathlib import Path
from hub.exports.exports_factory import ExportsFactory from hub.imports.geometry_factory import GeometryFactory
from hub.exports.exports_factory import ExportsFactory
gml_file = './FZK-Haus-LoD2-KIT-IAI-KHH-B36-V1.gml'
city = GeometryFactory('citygml', gml_file).city gml_file = 'FZK-Haus-LoD2-KIT-IAI-KHH-B36-V1.gml'
city = GeometryFactory('citygml', gml_file).city
for building in city.buildings: path = Path(__file__).parent
print(building.name)
print(building.volume) for building in city.buildings:
print(building.floor_area) print(building.name)
print(building.volume)
ExportsFactory('obj', city, './').export() print(building.floor_area)
ExportsFactory('obj', city, path).export()

View File

@ -1,240 +1,240 @@
<?xml version="1.0" encoding="utf-8"?><!-- IFC to CityGML by IFCExplorer KIT --><!-- CityGML to Sketchup by Sketchup CityGML Plugin FH GelsenKirchen --><!--CityGML Dataset produced with CityGML Export Plugin for Sketchup by GeoRES --><!--http://www.geores.de --><!-- Edited Manually in Oxygen 8.2 --><!-- Modified by GMLOffset.xslt at Mon Dec 6 2010 --><!-- Version 2 Building located in the area of KIT Campus North)--><!-- Modified by GMLOffset.xslt at Wed Dec 8 2010 --><!-- Modified by GMLOffset.xslt at Wed Mar 29 2017 --><core:CityModel xsi:schemaLocation="http://www.opengis.net/citygml/2.0 http://schemas.opengis.net/citygml/2.0/cityGMLBase.xsd http://www.opengis.net/citygml/appearance/2.0 http://schemas.opengis.net/citygml/appearance/2.0/appearance.xsd http://www.opengis.net/citygml/building/2.0 http://schemas.opengis.net/citygml/building/2.0/building.xsd http://www.opengis.net/citygml/generics/2.0 http://schemas.opengis.net/citygml/generics/2.0/generics.xsd" xmlns:core="http://www.opengis.net/citygml/2.0" xmlns="http://www.opengis.net/citygml/profiles/base/2.0" xmlns:bldg="http://www.opengis.net/citygml/building/2.0" xmlns:gen="http://www.opengis.net/citygml/generics/2.0" xmlns:grp="http://www.opengis.net/citygml/cityobjectgroup/2.0" xmlns:app="http://www.opengis.net/citygml/appearance/2.0" xmlns:gml="http://www.opengis.net/gml" xmlns:xAL="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <?xml version="1.0" encoding="utf-8"?><!-- IFC to CityGML by IFCExplorer KIT --><!-- CityGML to Sketchup by Sketchup CityGML Plugin FH GelsenKirchen --><!--CityGML Dataset produced with CityGML Export Plugin for Sketchup by GeoRES --><!--http://www.geores.de --><!-- Edited Manually in Oxygen 8.2 --><!-- Modified by GMLOffset.xslt at Mon Dec 6 2010 --><!-- Version 2 Building located in the area of KIT Campus North)--><!-- Modified by GMLOffset.xslt at Wed Dec 8 2010 --><!-- Modified by GMLOffset.xslt at Wed Mar 29 2017 --><core:CityModel xsi:schemaLocation="http://www.opengis.net/citygml/2.0 http://schemas.opengis.net/citygml/2.0/cityGMLBase.xsd http://www.opengis.net/citygml/appearance/2.0 http://schemas.opengis.net/citygml/appearance/2.0/appearance.xsd http://www.opengis.net/citygml/building/2.0 http://schemas.opengis.net/citygml/building/2.0/building.xsd http://www.opengis.net/citygml/generics/2.0 http://schemas.opengis.net/citygml/generics/2.0/generics.xsd" xmlns:core="http://www.opengis.net/citygml/2.0" xmlns="http://www.opengis.net/citygml/profiles/base/2.0" xmlns:bldg="http://www.opengis.net/citygml/building/2.0" xmlns:gen="http://www.opengis.net/citygml/generics/2.0" xmlns:grp="http://www.opengis.net/citygml/cityobjectgroup/2.0" xmlns:app="http://www.opengis.net/citygml/appearance/2.0" xmlns:gml="http://www.opengis.net/gml" xmlns:xAL="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- Manually edited by KHH 23.01.2017, CityGML 2.0, Address added, Codespaces added --> <!-- Manually edited by KHH 23.01.2017, CityGML 2.0, Address added, Codespaces added -->
<gml:name>AC14-FZK-Haus</gml:name> <gml:name>AC14-FZK-Haus</gml:name>
<gml:boundedBy> <gml:boundedBy>
<gml:Envelope srsDimension="3" srsName="urn:adv:crs:ETRS89_UTM32*DE_DHHN92_NH"> <gml:Envelope srsDimension="3" srsName="urn:adv:crs:ETRS89_UTM32*DE_DHHN92_NH">
<gml:lowerCorner srsDimension="3">457842 5439083 111.8 </gml:lowerCorner> <gml:lowerCorner srsDimension="3">457842 5439083 111.8 </gml:lowerCorner>
<gml:upperCorner srsDimension="3">457854 5439093 118.317669 </gml:upperCorner> <gml:upperCorner srsDimension="3">457854 5439093 118.317669 </gml:upperCorner>
</gml:Envelope> </gml:Envelope>
</gml:boundedBy> </gml:boundedBy>
<core:cityObjectMember> <core:cityObjectMember>
<bldg:Building gml:id="UUID_d281adfc-4901-0f52-540b-4cc1a9325f82"> <bldg:Building gml:id="UUID_d281adfc-4901-0f52-540b-4cc1a9325f82">
<gml:description>FZK-Haus (Forschungszentrum Karlsruhe, now KIT), created by Karl-Heinz <gml:description>FZK-Haus (Forschungszentrum Karlsruhe, now KIT), created by Karl-Heinz
Haefele </gml:description> Haefele </gml:description>
<gml:name>AC14-FZK-Haus</gml:name> <gml:name>AC14-FZK-Haus</gml:name>
<core:creationDate>2017-01-23</core:creationDate> <core:creationDate>2017-01-23</core:creationDate>
<core:relativeToTerrain>entirelyAboveTerrain</core:relativeToTerrain> <core:relativeToTerrain>entirelyAboveTerrain</core:relativeToTerrain>
<gen:measureAttribute name="GrossPlannedArea"> <gen:measureAttribute name="GrossPlannedArea">
<gen:value uom="m2">120.00</gen:value> <gen:value uom="m2">120.00</gen:value>
</gen:measureAttribute> </gen:measureAttribute>
<gen:stringAttribute name="ConstructionMethod"> <gen:stringAttribute name="ConstructionMethod">
<gen:value>New Building</gen:value> <gen:value>New Building</gen:value>
</gen:stringAttribute> </gen:stringAttribute>
<gen:stringAttribute name="IsLandmarked"> <gen:stringAttribute name="IsLandmarked">
<gen:value>NO</gen:value> <gen:value>NO</gen:value>
</gen:stringAttribute> </gen:stringAttribute>
<bldg:class codeSpace="http://www.sig3d.org/codelists/citygml/2.0/building/2.0/_AbstractBuilding_class.xml">1000</bldg:class> <bldg:class codeSpace="http://www.sig3d.org/codelists/citygml/2.0/building/2.0/_AbstractBuilding_class.xml">1000</bldg:class>
<bldg:function codeSpace="http://www.sig3d.org/codelists/citygml/2.0/building/2.0/_AbstractBuilding_function.xml">1000</bldg:function> <bldg:function codeSpace="http://www.sig3d.org/codelists/citygml/2.0/building/2.0/_AbstractBuilding_function.xml">1000</bldg:function>
<bldg:usage codeSpace="http://www.sig3d.org/codelists/citygml/2.0/building/2.0/_AbstractBuilding_usage.xml">1000</bldg:usage> <bldg:usage codeSpace="http://www.sig3d.org/codelists/citygml/2.0/building/2.0/_AbstractBuilding_usage.xml">1000</bldg:usage>
<bldg:yearOfConstruction>2020</bldg:yearOfConstruction> <bldg:yearOfConstruction>2020</bldg:yearOfConstruction>
<bldg:roofType codeSpace="http://www.sig3d.org/codelists/citygml/2.0/building/2.0/_AbstractBuilding_roofType.xml">1030</bldg:roofType> <bldg:roofType codeSpace="http://www.sig3d.org/codelists/citygml/2.0/building/2.0/_AbstractBuilding_roofType.xml">1030</bldg:roofType>
<bldg:measuredHeight uom="m">6.52</bldg:measuredHeight> <bldg:measuredHeight uom="m">6.52</bldg:measuredHeight>
<bldg:storeysAboveGround>2</bldg:storeysAboveGround> <bldg:storeysAboveGround>2</bldg:storeysAboveGround>
<bldg:storeysBelowGround>0</bldg:storeysBelowGround> <bldg:storeysBelowGround>0</bldg:storeysBelowGround>
<bldg:lod2Solid> <bldg:lod2Solid>
<gml:Solid> <gml:Solid>
<gml:exterior> <gml:exterior>
<gml:CompositeSurface> <gml:CompositeSurface>
<!--Outer Wall 1 (West) --> <!--Outer Wall 1 (West) -->
<gml:surfaceMember xlink:href="#PolyID7350_878_759628_120742"> </gml:surfaceMember> <gml:surfaceMember xlink:href="#PolyID7350_878_759628_120742"> </gml:surfaceMember>
<!--Outer Wall 1 (West) --> <!--Outer Wall 1 (West) -->
<!--Outer Wall 2 (South) --> <!--Outer Wall 2 (South) -->
<gml:surfaceMember xlink:href="#PolyID7351_1722_416019_316876" /> <gml:surfaceMember xlink:href="#PolyID7351_1722_416019_316876" />
<!--Outer Wall 2 (South) --> <!--Outer Wall 2 (South) -->
<!--Outer Wall 3 (East) --> <!--Outer Wall 3 (East) -->
<gml:surfaceMember xlink:href="#PolyID7352_230_209861_355851" /> <gml:surfaceMember xlink:href="#PolyID7352_230_209861_355851" />
<!--Outer Wall 3 (East) --> <!--Outer Wall 3 (East) -->
<!--Roof 1 (North) --> <!--Roof 1 (North) -->
<gml:surfaceMember xlink:href="#PolyID7353_166_774155_320806" /> <gml:surfaceMember xlink:href="#PolyID7353_166_774155_320806" />
<!--Roof 1 (North) --> <!--Roof 1 (North) -->
<!--Outer Wall 4 (North) --> <!--Outer Wall 4 (North) -->
<gml:surfaceMember xlink:href="#PolyID7354_1362_450904_410226" /> <gml:surfaceMember xlink:href="#PolyID7354_1362_450904_410226" />
<!--Outer Wall 2 (North) --> <!--Outer Wall 2 (North) -->
<!--Roof 2 (South) --> <!--Roof 2 (South) -->
<gml:surfaceMember xlink:href="#PolyID7355_537_416207_260034" /> <gml:surfaceMember xlink:href="#PolyID7355_537_416207_260034" />
<!--Roof 2 (South) --> <!--Roof 2 (South) -->
<!--Base Surface --> <!--Base Surface -->
<gml:surfaceMember xlink:href="#PolyID7356_612_880782_415367" /> <gml:surfaceMember xlink:href="#PolyID7356_612_880782_415367" />
<!--Base Surface --> <!--Base Surface -->
</gml:CompositeSurface> </gml:CompositeSurface>
</gml:exterior> </gml:exterior>
</gml:Solid> </gml:Solid>
</bldg:lod2Solid> </bldg:lod2Solid>
<bldg:boundedBy> <bldg:boundedBy>
<bldg:WallSurface gml:id="GML_5856d7ad-5e34-498a-817b-9544bfbb1475"> <bldg:WallSurface gml:id="GML_5856d7ad-5e34-498a-817b-9544bfbb1475">
<gml:name>Outer Wall 1 (West)</gml:name> <gml:name>Outer Wall 1 (West)</gml:name>
<bldg:lod2MultiSurface> <bldg:lod2MultiSurface>
<gml:MultiSurface> <gml:MultiSurface>
<gml:surfaceMember> <gml:surfaceMember>
<gml:Polygon gml:id="PolyID7350_878_759628_120742"> <gml:Polygon gml:id="PolyID7350_878_759628_120742">
<gml:exterior> <gml:exterior>
<gml:LinearRing gml:id="PolyID7350_878_759628_120742_0"> <gml:LinearRing gml:id="PolyID7350_878_759628_120742_0">
<gml:pos>457842 5439088 118.317691453624 </gml:pos> <gml:pos>457842 5439088 118.317691453624 </gml:pos>
<gml:pos>457842 5439093 115.430940107676 </gml:pos> <gml:pos>457842 5439093 115.430940107676 </gml:pos>
<gml:pos>457842 5439093 111.8 </gml:pos> <gml:pos>457842 5439093 111.8 </gml:pos>
<gml:pos>457842 5439083 111.8 </gml:pos> <gml:pos>457842 5439083 111.8 </gml:pos>
<gml:pos>457842 5439083 115.430940107676 </gml:pos> <gml:pos>457842 5439083 115.430940107676 </gml:pos>
<gml:pos>457842 5439088 118.317691453624 </gml:pos> <gml:pos>457842 5439088 118.317691453624 </gml:pos>
</gml:LinearRing> </gml:LinearRing>
</gml:exterior> </gml:exterior>
</gml:Polygon> </gml:Polygon>
</gml:surfaceMember> </gml:surfaceMember>
</gml:MultiSurface> </gml:MultiSurface>
</bldg:lod2MultiSurface> </bldg:lod2MultiSurface>
</bldg:WallSurface> </bldg:WallSurface>
</bldg:boundedBy> </bldg:boundedBy>
<bldg:boundedBy> <bldg:boundedBy>
<bldg:WallSurface gml:id="GML_d38cf762-c29d-4491-88c9-bdc89e141978"> <bldg:WallSurface gml:id="GML_d38cf762-c29d-4491-88c9-bdc89e141978">
<gml:name>Outer Wall 2 (South)</gml:name> <gml:name>Outer Wall 2 (South)</gml:name>
<bldg:lod2MultiSurface> <bldg:lod2MultiSurface>
<gml:MultiSurface> <gml:MultiSurface>
<gml:surfaceMember> <gml:surfaceMember>
<gml:Polygon gml:id="PolyID7351_1722_416019_316876"> <gml:Polygon gml:id="PolyID7351_1722_416019_316876">
<gml:exterior> <gml:exterior>
<gml:LinearRing gml:id="PolyID7351_1722_416019_316876_0"> <gml:LinearRing gml:id="PolyID7351_1722_416019_316876_0">
<gml:pos>457854 5439083 115.430940107676 </gml:pos> <gml:pos>457854 5439083 115.430940107676 </gml:pos>
<gml:pos>457842 5439083 115.430940107676 </gml:pos> <gml:pos>457842 5439083 115.430940107676 </gml:pos>
<gml:pos>457842 5439083 111.8 </gml:pos> <gml:pos>457842 5439083 111.8 </gml:pos>
<gml:pos>457854 5439083 111.8 </gml:pos> <gml:pos>457854 5439083 111.8 </gml:pos>
<gml:pos>457854 5439083 115.430940107676 </gml:pos> <gml:pos>457854 5439083 115.430940107676 </gml:pos>
</gml:LinearRing> </gml:LinearRing>
</gml:exterior> </gml:exterior>
</gml:Polygon> </gml:Polygon>
</gml:surfaceMember> </gml:surfaceMember>
</gml:MultiSurface> </gml:MultiSurface>
</bldg:lod2MultiSurface> </bldg:lod2MultiSurface>
</bldg:WallSurface> </bldg:WallSurface>
</bldg:boundedBy> </bldg:boundedBy>
<bldg:boundedBy> <bldg:boundedBy>
<bldg:WallSurface gml:id="GML_8e5db638-e46a-4739-a98a-2fc2d39c9069"> <bldg:WallSurface gml:id="GML_8e5db638-e46a-4739-a98a-2fc2d39c9069">
<gml:name>Outer Wall 3 (East)</gml:name> <gml:name>Outer Wall 3 (East)</gml:name>
<bldg:lod2MultiSurface> <bldg:lod2MultiSurface>
<gml:MultiSurface> <gml:MultiSurface>
<gml:surfaceMember> <gml:surfaceMember>
<gml:Polygon gml:id="PolyID7352_230_209861_355851"> <gml:Polygon gml:id="PolyID7352_230_209861_355851">
<gml:exterior> <gml:exterior>
<gml:LinearRing gml:id="PolyID7352_230_209861_355851_0"> <gml:LinearRing gml:id="PolyID7352_230_209861_355851_0">
<gml:pos>457854 5439088 118.317691453624 </gml:pos> <gml:pos>457854 5439088 118.317691453624 </gml:pos>
<gml:pos>457854 5439083 115.430940107676 </gml:pos> <gml:pos>457854 5439083 115.430940107676 </gml:pos>
<gml:pos>457854 5439083 111.8 </gml:pos> <gml:pos>457854 5439083 111.8 </gml:pos>
<gml:pos>457854 5439093 111.8 </gml:pos> <gml:pos>457854 5439093 111.8 </gml:pos>
<gml:pos>457854 5439093 115.430940107676 </gml:pos> <gml:pos>457854 5439093 115.430940107676 </gml:pos>
<gml:pos>457854 5439088 118.317691453624 </gml:pos> <gml:pos>457854 5439088 118.317691453624 </gml:pos>
</gml:LinearRing> </gml:LinearRing>
</gml:exterior> </gml:exterior>
</gml:Polygon> </gml:Polygon>
</gml:surfaceMember> </gml:surfaceMember>
</gml:MultiSurface> </gml:MultiSurface>
</bldg:lod2MultiSurface> </bldg:lod2MultiSurface>
</bldg:WallSurface> </bldg:WallSurface>
</bldg:boundedBy> </bldg:boundedBy>
<bldg:boundedBy> <bldg:boundedBy>
<bldg:RoofSurface gml:id="GML_875d470b-32b4-4985-a4c8-0f02caa342a2"> <bldg:RoofSurface gml:id="GML_875d470b-32b4-4985-a4c8-0f02caa342a2">
<gml:name>Roof 1 (North)</gml:name> <gml:name>Roof 1 (North)</gml:name>
<bldg:lod2MultiSurface> <bldg:lod2MultiSurface>
<gml:MultiSurface> <gml:MultiSurface>
<gml:surfaceMember> <gml:surfaceMember>
<gml:Polygon gml:id="PolyID7353_166_774155_320806"> <gml:Polygon gml:id="PolyID7353_166_774155_320806">
<gml:exterior> <gml:exterior>
<gml:LinearRing gml:id="PolyID7353_166_774155_320806_0"> <gml:LinearRing gml:id="PolyID7353_166_774155_320806_0">
<gml:pos>457842 5439088 118.317691453624 </gml:pos> <gml:pos>457842 5439088 118.317691453624 </gml:pos>
<gml:pos>457854 5439088 118.317691453624 </gml:pos> <gml:pos>457854 5439088 118.317691453624 </gml:pos>
<gml:pos>457854 5439093 115.430940107676 </gml:pos> <gml:pos>457854 5439093 115.430940107676 </gml:pos>
<gml:pos>457842 5439093 115.430940107676 </gml:pos> <gml:pos>457842 5439093 115.430940107676 </gml:pos>
<gml:pos>457842 5439088 118.317691453624 </gml:pos> <gml:pos>457842 5439088 118.317691453624 </gml:pos>
</gml:LinearRing> </gml:LinearRing>
</gml:exterior> </gml:exterior>
</gml:Polygon> </gml:Polygon>
</gml:surfaceMember> </gml:surfaceMember>
</gml:MultiSurface> </gml:MultiSurface>
</bldg:lod2MultiSurface> </bldg:lod2MultiSurface>
</bldg:RoofSurface> </bldg:RoofSurface>
</bldg:boundedBy> </bldg:boundedBy>
<bldg:boundedBy> <bldg:boundedBy>
<bldg:WallSurface gml:id="GML_0f30f604-e70d-4dfe-ba35-853bc69609cc"> <bldg:WallSurface gml:id="GML_0f30f604-e70d-4dfe-ba35-853bc69609cc">
<gml:name>Outer Wall 4 (North)</gml:name> <gml:name>Outer Wall 4 (North)</gml:name>
<bldg:lod2MultiSurface> <bldg:lod2MultiSurface>
<gml:MultiSurface> <gml:MultiSurface>
<gml:surfaceMember> <gml:surfaceMember>
<gml:Polygon gml:id="PolyID7354_1362_450904_410226"> <gml:Polygon gml:id="PolyID7354_1362_450904_410226">
<gml:exterior> <gml:exterior>
<gml:LinearRing gml:id="PolyID7354_1362_450904_410226_0"> <gml:LinearRing gml:id="PolyID7354_1362_450904_410226_0">
<gml:pos>457842 5439093 115.430940107676 </gml:pos> <gml:pos>457842 5439093 115.430940107676 </gml:pos>
<gml:pos>457854 5439093 115.430940107676 </gml:pos> <gml:pos>457854 5439093 115.430940107676 </gml:pos>
<gml:pos>457854 5439093 111.8 </gml:pos> <gml:pos>457854 5439093 111.8 </gml:pos>
<gml:pos>457842 5439093 111.8 </gml:pos> <gml:pos>457842 5439093 111.8 </gml:pos>
<gml:pos>457842 5439093 115.430940107676 </gml:pos> <gml:pos>457842 5439093 115.430940107676 </gml:pos>
</gml:LinearRing> </gml:LinearRing>
</gml:exterior> </gml:exterior>
</gml:Polygon> </gml:Polygon>
</gml:surfaceMember> </gml:surfaceMember>
</gml:MultiSurface> </gml:MultiSurface>
</bldg:lod2MultiSurface> </bldg:lod2MultiSurface>
</bldg:WallSurface> </bldg:WallSurface>
</bldg:boundedBy> </bldg:boundedBy>
<bldg:boundedBy> <bldg:boundedBy>
<bldg:RoofSurface gml:id="GML_eeb6796a-e261-4d3b-a6f2-475940cca80a"> <bldg:RoofSurface gml:id="GML_eeb6796a-e261-4d3b-a6f2-475940cca80a">
<gml:name>Roof 2 (South)</gml:name> <gml:name>Roof 2 (South)</gml:name>
<bldg:lod2MultiSurface> <bldg:lod2MultiSurface>
<gml:MultiSurface> <gml:MultiSurface>
<gml:surfaceMember> <gml:surfaceMember>
<gml:Polygon gml:id="PolyID7355_537_416207_260034"> <gml:Polygon gml:id="PolyID7355_537_416207_260034">
<gml:exterior> <gml:exterior>
<gml:LinearRing gml:id="PolyID7355_537_416207_260034_0"> <gml:LinearRing gml:id="PolyID7355_537_416207_260034_0">
<gml:pos>457854 5439083 115.430940107676 </gml:pos> <gml:pos>457854 5439083 115.430940107676 </gml:pos>
<gml:pos>457854 5439088 118.317691453624 </gml:pos> <gml:pos>457854 5439088 118.317691453624 </gml:pos>
<gml:pos>457842 5439088 118.317691453624 </gml:pos> <gml:pos>457842 5439088 118.317691453624 </gml:pos>
<gml:pos>457842 5439083 115.430940107676 </gml:pos> <gml:pos>457842 5439083 115.430940107676 </gml:pos>
<gml:pos>457854 5439083 115.430940107676 </gml:pos> <gml:pos>457854 5439083 115.430940107676 </gml:pos>
</gml:LinearRing> </gml:LinearRing>
</gml:exterior> </gml:exterior>
</gml:Polygon> </gml:Polygon>
</gml:surfaceMember> </gml:surfaceMember>
</gml:MultiSurface> </gml:MultiSurface>
</bldg:lod2MultiSurface> </bldg:lod2MultiSurface>
</bldg:RoofSurface> </bldg:RoofSurface>
</bldg:boundedBy> </bldg:boundedBy>
<bldg:boundedBy> <bldg:boundedBy>
<bldg:GroundSurface gml:id="GML_257a8dde-8194-4ca3-b581-abd591dcd6a3"> <bldg:GroundSurface gml:id="GML_257a8dde-8194-4ca3-b581-abd591dcd6a3">
<gml:description>Bodenplatte</gml:description> <gml:description>Bodenplatte</gml:description>
<gml:name>Base Surface</gml:name> <gml:name>Base Surface</gml:name>
<bldg:lod2MultiSurface> <bldg:lod2MultiSurface>
<gml:MultiSurface> <gml:MultiSurface>
<gml:surfaceMember> <gml:surfaceMember>
<gml:Polygon gml:id="PolyID7356_612_880782_415367"> <gml:Polygon gml:id="PolyID7356_612_880782_415367">
<gml:exterior> <gml:exterior>
<gml:LinearRing gml:id="PolyID7356_612_880782_415367_0"> <gml:LinearRing gml:id="PolyID7356_612_880782_415367_0">
<gml:pos>457854 5439083 111.8 </gml:pos> <gml:pos>457854 5439083 111.8 </gml:pos>
<gml:pos>457842 5439083 111.8 </gml:pos> <gml:pos>457842 5439083 111.8 </gml:pos>
<gml:pos>457842 5439093 111.8 </gml:pos> <gml:pos>457842 5439093 111.8 </gml:pos>
<gml:pos>457854 5439093 111.8 </gml:pos> <gml:pos>457854 5439093 111.8 </gml:pos>
<gml:pos>457854 5439083 111.8 </gml:pos> <gml:pos>457854 5439083 111.8 </gml:pos>
</gml:LinearRing> </gml:LinearRing>
</gml:exterior> </gml:exterior>
</gml:Polygon> </gml:Polygon>
</gml:surfaceMember> </gml:surfaceMember>
</gml:MultiSurface> </gml:MultiSurface>
</bldg:lod2MultiSurface> </bldg:lod2MultiSurface>
</bldg:GroundSurface> </bldg:GroundSurface>
</bldg:boundedBy> </bldg:boundedBy>
<bldg:address> <bldg:address>
<core:Address> <core:Address>
<core:xalAddress> <core:xalAddress>
<xAL:AddressDetails> <xAL:AddressDetails>
<xAL:Locality Type="Town"> <xAL:Locality Type="Town">
<xAL:LocalityName>Eggenstein-Leopoldshafen</xAL:LocalityName> <xAL:LocalityName>Eggenstein-Leopoldshafen</xAL:LocalityName>
<xAL:Thoroughfare Type="Street"> <xAL:Thoroughfare Type="Street">
<xAL:ThoroughfareNumber>4711</xAL:ThoroughfareNumber> <xAL:ThoroughfareNumber>4711</xAL:ThoroughfareNumber>
<xAL:ThoroughfareName>Spöcker Straße</xAL:ThoroughfareName> <xAL:ThoroughfareName>Spöcker Straße</xAL:ThoroughfareName>
</xAL:Thoroughfare> </xAL:Thoroughfare>
<xAL:PostalCode> <xAL:PostalCode>
<xAL:PostalCodeNumber>76344</xAL:PostalCodeNumber> <xAL:PostalCodeNumber>76344</xAL:PostalCodeNumber>
</xAL:PostalCode> </xAL:PostalCode>
</xAL:Locality> </xAL:Locality>
</xAL:AddressDetails> </xAL:AddressDetails>
</core:xalAddress> </core:xalAddress>
</core:Address> </core:Address>
</bldg:address> </bldg:address>
</bldg:Building> </bldg:Building>
</core:cityObjectMember> </core:cityObjectMember>
</core:CityModel> </core:CityModel>

View File

@ -1,33 +1,33 @@
from hub.imports.geometry_factory import GeometryFactory from hub.imports.geometry_factory import GeometryFactory
from hub.imports.construction_factory import ConstructionFactory from hub.imports.construction_factory import ConstructionFactory
from hub.helpers.dictionaries import Dictionaries from hub.helpers.dictionaries import Dictionaries
from hub.exports.exports_factory import ExportsFactory from hub.exports.exports_factory import ExportsFactory
# Level0: # tutorial_0:
gml_file = './FZK-Haus-LoD2-KIT-IAI-KHH-B36-V1.gml' 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 city = GeometryFactory('citygml', gml_file, function_to_hub=Dictionaries().montreal_function_to_hub_function).city
for building in city.buildings: for building in city.buildings:
print(building.name) print(building.name)
print(building.volume) print(building.volume)
print(building.floor_area) print(building.floor_area)
# Level1: # Level1:
city1 = city.copy city1 = city.copy
for building in city1.buildings: for building in city1.buildings:
print ("Construction year of building in city1 is: ", building.year_of_construction) print ("Construction year of building in city1 is: ", building.year_of_construction)
print ("Building's function in city1 is: " , building.function) print ("Building's function in city1 is: " , building.function)
ConstructionFactory('nrcan',city1).enrich() ConstructionFactory('nrcan',city1).enrich()
for building in city1.buildings: for building in city1.buildings:
for internal_zone in building.internal_zones: for internal_zone in building.internal_zones:
for thermal_zone in internal_zone.thermal_zones: for thermal_zone in internal_zone.thermal_zones:
for thermal_boundary in thermal_zone.thermal_boundaries: for thermal_boundary in thermal_zone.thermal_boundaries:
for layer in thermal_boundary.layers: for layer in thermal_boundary.layers:
print(thermal_boundary.internal_surface.type) print(thermal_boundary.internal_surface.type)
print(layer.material.name) print(layer.material.name)