Top Banner
1 Automatic generation of CityGML LoD3 building models from IFC models M.Sc. Geomatics P5 presentation by Sjors Donkers Supervisors: Hugo Ledoux / Junqiao (John) Zhao Graduation professor: Jantien Stoter
49

Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

May 24, 2015

Download

Education

SDonkers

CityGML is a standardized data format used to store the semantic information and geometries of buildings and other object classes of 3D city models. The Level of Detail of current state of the art city models (LoD2) is not sufficient for accurate environmental simulations like noise, the solar potential of windows and other types of analyses. An LoD3 building model represents the full architectural exterior of a building with balconies, windows and so forth. The generation of these models needs to be automated as it is otherwise infeasible due to the required high amount of manual labour. In the architectural world, detailed building models are created in IFC format. This thesis shows that it is possible to automatically generate valid and semantically rich CityGML LoD3 building models directly from IFC models. Also an initial investigation is done on the possibilities for the conversion of IFC models to CityGML LoD4.

For the conversion the semantic and geometric validity requirements are determined for CityGML. A methodology for the conversion is developed and a prototype implementation is made to prove the effectiveness of the conversion. The conversion consists of three parts: 1) The extraction and mapping of IFC semantics to CityGML semantics; 2) A geometric generalization which extracts the exterior shell using a transformation based on Boolean and morphological operations; 3) Semantic and geometric refinements which optimize the model for analyses. The developed prototype is able to successfully convert IFC models to CityGML LoD3. All the resulting models were geometrically validated according to the ISO19107 standard, and semantics were checked manually. Few improper semantics occur in the output due to missing semantics in IFC. For example, there are no semantics for balconies or dormers in IFC. Recommendations are given to improve the alignment between the two formats. For IFC additional semantics are recommended whereas it is important for CityGML to specify how certain aspects are to be modelled.

The research presented in this thesis can be used as the foundation for future work on the interoperability between Architecture and Geomatics. The software package is open source and freely available at https://github.com/tudelft-gist/ifc2citygml.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

1

Automatic generation of CityGML LoD3 building models from IFC modelsM.Sc. Geomatics P5 presentation by Sjors Donkers

Supervisors: Hugo Ledoux / Junqiao (John) ZhaoGraduation professor: Jantien Stoter

Page 2: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

2

Geomatics

Page 3: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

3

Architecture

Page 4: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

4

Where the fields overlap

Architecture

Geomatics Large scale(mm)

Small scale(km)

WorldCountryCityRegionBuildin

g

ComponentRoomSectio

nFloorBuilding

CityGML IFC

Page 5: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

5

What is high detail for CityGML?

LoD4LoD3LoD2LoD0LoD1

• LoD ≤ 2 can be automatically generated• LoD ≥ 3 requires manual labour

Page 6: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

6

Research question

Is it possible to generate valid and

semantically rich CityGML building models at

LoD3 from IFC models,

and can this method be extended to LoD4?

Page 7: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

7

Structure

• What is IFC / CityGML and when is it valid?

• Methodology for the conversion

• Experimental results

• Possibilities for LoD4

• Conclusions, recommendations & future work

Page 8: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

8

Conversion from IFC to CityGML

IFCCityGML

Page 9: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

9

IFC example

•Many objects

•Complex semantic network

•For content creators

Page 10: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

10

CityGML LoD3 example

•Few objects

•Simple hierarchical semantics

•For users / analyses

Page 11: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

11

Differences

IFC CityGML

Page 12: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

12

Validity criteria for CityGML LoD3

•Semantics:• Normal vector constraints on surface types

•Geometry:CityGML:• A building has only an exterior shellISO19107:• The shell must be 2-manifold

Vertices should not be close to other geometries

You should be able to walk on a FloorSurface,but not on a CeilingSurface

A

B

Page 13: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

13

Degenerate geometry

Floating-point arithmetic: 0.1 + 0.2 ≠ 0.3

Degenerate when:Float-orientation ≠ Exact-orientationDistance d = 0 (float or exact)

Exact arithmetic:

0.1 + 0.2 = 0.3= 0.30000000000004

Page 14: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

14

Existing converters

Page 15: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

15

Structure

• What is IFC / CityGML and when is it valid?

• Methodology for the conversion

• Experimental results

• Possibilities for LoD4

• Conclusions, recommendations & future work

Page 16: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

16

1 Semantics mapping2 Geometric transformation

Methodology for the Conversion

3 Refinements

Page 17: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

17

CityGML has semantics for and between:

• Solids / Objects• Trivial attributes

• Faces• Boundary surfaces

• Curves• Requires the terrain which is out of scope

1 Semantic mapping

(But not limited to only boundary surfaces!)

Page 18: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

18

Project

Site

Building

Building

Building

Storey Storey Space

1 Semantic mapping

Geometry

IFC example structure

Page 19: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

19

1 Semantic mapping

CityGML• Ceiling• Door• Floor• Roof• Wall• Window• Ground• Closure

IFC• Beam• Member• Stairs• Door• Roof• Wall• Slab• Window• …

??

Page 20: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

20

1. Type

2. Predefined type

3. Decomposed by

4. Surface normal

• FLOOR• ROOF• LANDING• BASESLAB• USERDEFINED• NOTDEFINED

1 Semantic mapping

Building

Roof

Slab

Slab

Constraints:

The object has to be contained in a building

Must be a Space or a subtype of BuildingElement

ROOF

A combination of:

• IfcSlab• IfcMember• IfcRoof

Page 21: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

21

2 Geometric transformation

Methodology for the Conversion

Page 22: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

22

1. All IFC geometries are connected using the Boolean union operation

2. Interior geometries are removed

2 Geometric transformation

Page 23: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

23

Real buildings are not watertight !

?

2 Geometric transformation

Page 24: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

24

Concepts for extracting the exterior shell• Generated• Implemented• Evaluated

Morphological closingUsing an oriented cubical structuring element

2 Geometric transformation

Page 25: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

25

Morphological closing = dilation followed by erosion

Dilation:

Erosion:

2 Morphological closing

Page 26: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

26

1. Geometries are dilated thereby closing the gaps

2. Interior geometries are removed

3. The exterior shell is eroded back to it original size

2 Morphological closing

Page 27: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

27

2 BuildingInstallations

• BuildingInstallations are separate objects

• Objects must not overlap each other

1. BuildingInstallations are unioned

2. The building solid is subtracted

Page 28: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

28

Methodology for the Conversion

3 Refinements

Page 29: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

29

3 Refinements - geometric

• Coordinates are rounded in preparation of writing

• The geometry is regularized

• Solid geometry is made 2-manifold

• Degeneracies are removed

Page 30: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

30

• Faces without semantics are created during closing

• Semantics are asigned based on the normal and the neighbours

Conversion complete!

3 Refinements - semantic

Page 31: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

31

• Nef polyhedra are used for Boolean operations

• Nef polyhedra in CGAL do not support semantic faces

• Semantics are reattached after the geometric transformation

Implementation

Page 32: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

32

Structure

• What is IFC / CityGML and when is it valid?

• Methodology for the conversion

• Experimental results

• Possibilities for LoD4

• Conclusions, recommendations & future work

Page 33: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

33

Experimental resultsExperimental results – no roof

IFC CityGML

Page 34: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

34

Experimental results

IFC CityGML

Page 35: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

35

Validity and quality

• Geometric validity checked using 3D Validator: All models are valid!

• Some near degeneracies remain

• Artefacts occur when closing is applied

Page 36: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

36

Validity and quality

Page 37: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

37

Validity and quality

• Geometric validity checked using 3D Validator: All models are valid!

• Some near degeneracies remain

• Artefacts occur when closing is applied

• Mismatched semantic

• Lacking semantics in IFC

Page 38: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

38

Conversion evaluation

• Computation time ~5-15 minutes• With outliers from 6 seconds to 95 minutes• Creation of Nef polyhedra and Boolean operations are slow

• Morphological closing roughly double the computation time

• Generated CityGML files are smaller than input IFC files• Detriangulation leads to a file size reduction of ~66%• ~50% of the file space is dedicated to BuildingInstallations

Page 39: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

39

Structure

• What is IFC / CityGML and when is it valid?

• Methodology for the conversion

• Experimental results

• Possibilities for LoD4

• Conclusions, recommendations & future work

Page 40: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

40

Generation of LoD4 rooms

• Rooms cannot be detected from the geometry

• IfcSpaces are (almost) equivalent to Rooms in CityGML

• In the implementation:Geometry from IfcSpacesSemantics base on surface normal

Page 41: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

41

LoD4 experimental results

Page 42: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

42

Possibilities for LoD4 conversion

• In IFC objects can be linked to spaces

• The same semantic mapping can be used• But needs to be extended with:

Furniture and other LoD4 specific objects

Connectivity relations between openings

Page 43: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

43

Structure

• What is IFC / CityGML and when is it valid?

• Methodology for the conversion

• Experimental results

• Possibilities for LoD4

• Conclusions, recommendations & future work

Page 44: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

44

Conclusions

• A new source for CityGML LoD3 building models• Small additions to the IFC will align the two standards even more

• Generating LoD4 building models is only a small step away

• The methodology enables the creation of• up-to-date• high detail models that • adhere to the standards of CityGML and ISO19107, thereby • increasing the availability of high detail models• and the interoperability between Geomatics and Architecture and • reducing the costs for the creation of high detail city models

Page 45: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

45

Conclusions

Other uses of this research:

• Semantic mapping for use in a reverse conversion or UBM

• Geometric transformations for the simplification of any CAD model

• Refinement methods to optimize the geometry for analyses

Page 46: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

46

Recommendations

Recommendations for IFC:

• IfcSpace for the exterior of the building• Add semantics for balconies, dormers, external IfcSpaces

Recommendations for CityGML:

• Refine the definitions of how to model CityGML• For the geometry of BuildingParts & -Installations • For the semantics of doors and windows

Page 47: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

47

Future work

• Mapping of new IFC4 classes and trivial attributes like the address

• Extraction of the terrain intersection curve

• A higher level of interoperability between IFC and CityGML• Alignment of the standards• Generation of LoD2 and LoD4 building models• Generation of other city objects (tunnels, bridges)

Page 48: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

48

Something extra

Page 49: Sjors Donkers - Automatic generation of CityGML LoD3 building models from IFC models

49

Automatic generation of CityGML LoD3 building models from IFC modelsM.Sc. Geomatics P5 presentation by Sjors Donkers

Supervisors: Hugo Ledoux / Junqiao (John) ZhaoGraduation professor: Jantien Stoter