Institut für Kartographie und Geoinformation, Uni BonnLehrstuhl für Geoinformation
CityGML – A GML3 Application Profile forvirtual 3D City Models
Dr. Thomas H. KolbeDr. Gerhard Gröger
January 2005
Institute for Cartography and Geoinformation, Univ. of BonnProf. Dr. Lutz Plümer, Chair of Geoinformation
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 2
3D City Models• Many cities recently built up 3D city models
• Application areas:– Urban planning – Telecommunication industry– Disaster management – 3D cadastre– Tourism – Vehicle and pedestrian navigation– Facility management – Environmental simulations
• Problem: no appropriate standard for data exchange– DXF (from CAD domain): only geometry; no complex relations
– IFC standard from the domain of Computer Aided Architectural Design: focus on construction; no terrain, limited georeferencing, no vegetation etc.
– LandXML: no 3D buildings and other city objects
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 3
GDI NRW and the SIG 3D
Geodata Infrastructure North Rhine-Westphalia• founded in 1999 by the state government• more than 100 institutions organized in
6 Special Interest Groups• very active in the OGC (WPOS, WCTS, GML3)
Special Interest Group 3D (SIG 3D)• open group with >70 active members; 3 working groups
– from industry, government, municipalities and academia– participants from all over Germany, Austria, and Switzerland
• aim: development of solutions for interoperableprocessing, visualization and exchange of 3D geodata– currently working on a unified 3D city model
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 4
SIG 3D members (excerpt)
Municipalities• Berlin• Hamburg• Cologne• Düsseldorf• Bremen• Essen• Leverkusen• Wuppertal• BochumAdministration• State survey-
ing agencies
Companies• T-Mobile• Bayer Industry
Services• Graphisoft• Rheinmetall• CPA Geoinformation• Con Terra• GraphiX• Inpho• Real.IT• CyberCity (CH)• Nolimits (AT)
Science• Univ. of Bonn• Univ. of Hamburg• Univ. of Potsdam• Univ. of Hannover• Univ. of Dortmund• Univ. of Münster• Fraunhofer Institute
for Computer Graphics, Darmstadt
• Research center Karlsruhe
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 5
3D City Models – Multifunctional Use (I)Urban Planning
Visualization ofthe remodellingof the Graf-Wilhelm-Plazain Solingen
Cooperation• City of Solingen• Quick Architects• GRI Berlin• IKG, Univ. Bonn• IPB, Univ. Bonn• GeoCart
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 6
3D City Models – Multifunctional Use (II)
Pictures: Frank Bildstein, Rheinmetall Defence Electronic
• Training simulators (e.g. police, armed forces)
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 7
3D City Models – Multifunctional Use (III)
• Disaster management (e.g. flooding scenario)
Picture: Christoph Uhlenküken, Conterra
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 8
3D City Models – Multifunctional Use (IV)
Picture: Bernhard Ruff, T-Mobile Germany
• Telecommunications: Transmitter Positioning
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 9
3D City Models – Multifunctional Use (V)
Picture: Sony Corporation
• Car / Pedestrian Navigation Systems
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 10
Unified 3D city model: “City 3D“
• Aim: Standard for 3D city models• ongoing development in SIG 3D since May 2002
• Content / Entities:• Digital Terrain Model / Relief• Sites
- Buildings- Bridges- Tunnels- Walls- Landfills- Excavations
• Transportation objects- Streets- Railways
• Water bodies• Vegetation objects• City furniture
- e.g. street lights, traffic lights, benches
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 11
Highlights
• Geometric-topological model
• Recursive aggregation of objects and geometries
• Textured surfaces
• Object parts are modeled as features! can be assigned thematic attributes
• Subsurface objects– tunnels, pedestrian underpasses
• Generic concept for external references– every object can have a link to external resources
• Multi-scale model: five levels of detail (LoD 0-4)
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 12
Multi-scale modelling: 5 level of details
• LOD 0 – Regional model– 2.5D Digital Terrain Model
• LOD 1 – City / Site model– “block model“ w/o roof structures
• LOD 2 – City / Site model– textured, differenciated roof structures
• LOD 3 – City / Site model– detailed architecture model
• LOD 4 – Interior model– “walkable“ architecture models
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 13
Mixing Levels-of-Detail in one Scene
LoD3
LoD2
LoD1
Picture: Dr. Steidler, CyberCity Modeler
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 14
“3D City” Data Model
• Specified as UML class diagrams
• Geometry / topology according to ISO 19107– ‘Simple Topology Profile’ (extended to 3D)
• Topmost base class: _CityObject– references to corresponding objects in arbitrary external
data bases (e.g., cadastral information system)– timestamps for history management
• Code lists for enumerative attributes– e.g., building function, roof type– reference to existing models (ALKIS) or customized
• Status quo: building model and DTM complete
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 15
Key issue concerning CAD <-> GIS
CAD: generativeConstructive Solid Geometry
CAD: generativeConstructive Solid Geometry
GIS: accumulative Boundary Representation
GIS: accumulative Boundary Representation
• Aggregation of all surfaces enclosing the object‘s volume
• Aggregation of all surfaces enclosing the object‘s volume
• Volumetric primitives• Set theoretical operators for
combination:∪∪∪∪ , ∩∩∩∩, \
• Volumetric primitives• Set theoretical operators for
combination:∪∪∪∪ , ∩∩∩∩, \
Clash of modeling principles / strategies
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 16
Geometric-topological Modeling
SolidGeometry
SurfaceGeometry
SurfaceAggregate
LineAggregate
PointGeometry
Geometry
Material properties(texture, color)
Solid Nodexyz
EdgeFace
Primitives
Aggregations
Ring
PointAggregate
SolidAggregate
LineGeometry
i.e. CompositeSolidin GML3
‚Simple Topology‘ from ISO 19107
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 17
Geometric-topological Composition
• recursive aggregation!arbitrary depth
Solid 1 Solid 2
Solid aggregate
?
SolidGeometry
Solid
SolidAggregate
• Wall face will be partitioned into 2 faces
S.1
S.2
!explicit topol. connection- but: goes beyond B-Rep
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 18
Thematic Schema: UML DiagramExternalReference
- informationSystem: anyURI- externalReference:
ExternalObjectReferenceType
<<FeatureCollection>>CityModel
<<Feature>>_CityObject
_Site
ComplexRelief
_Water Bodies
_Vegetation_City Furniture
loD1GeometryProperty
loD3GeometryProperty
loD2GeometryPropertyGeometry
_Transpor-tation
Objects
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 19
Digital Terrain Model: UML Diagram
MassPointRelief- Interpolation: String[0..1]
Grid BreaklinesRelief- Interpolation: String[0..1]
LoD0
LoD4
CityModel
Triangle
Relief+ name: String[0..1]
Edge PointGeometry
LineGeometry
SurfaceGeometry
MassPoint
TIN
Breakline
ComplexRelief
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 20
Site Model
_AbstractBuilding
_Site
Bridge
TunnelExcavation
_CityObject
WallBuildingComplex
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 21
Building Model in LoD1: UML Diagram
loD1GeometryProperty
SolidGeometry
BuildingComplex+ function:
BuildingFunction[0..*]mainBuilding
1..*
Address+ zipCode: int+ city: String+ street: String+ houseNumber: String
0..*
1BuildingPart
_AbstractBuilding+ function: BuildingFunction[0..*]+ yearOfConstruction:integer[0..1]+ roofType: RoofType[0..1]+ measuredHeigth: LengthType[0..1]
Building0..*
0..1
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 22
Building Model in LoD2loD1SolidProperty
loD2SurfaceProperty
loD2LineProperty
SurfaceGeometry
LineGeometry
loD2SurfaceProperty
LoD1 LoD2
_CityObject
_BoundarySurface
Roof Wall Ground ClosureSurface
loD2SolidPropertySolid
Geometry_AbstractBuilding
+ function: BuildingFunction[0..*]+ yearOfConstruction:integer[0..1]+ roofType: RoofType[0..1]+ measuredHeigth: LengthType[0..1]
loD2TerrainIntersectionCurve
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 23
Terrain Intersection Curve
• „Interface between 3D objects and the terrain“– ensure matching of object textures with the DTM– DTM may be locally warped to fit the TIC
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 24
Closure Surfaces
• „Seal open 3D objects“– in order to be able to compute their volumes
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 25
Building Model in LoD3 & LoD4
loD4Geo-metryProperty
loD4GeometryProperty
loD4GeometryProperty
interiorBuildingFurniture
GroupOfRooms
interiorinterior
Room
LoD4
Ceiling RoomWall
Floor Roof Wall Ground ClosureSurface
loD3Geo-metryProp.
LoD3
Window Door
Opening
exteriorBuildingCharacteristic
loD3GeometryProp.
SolidGeometry
_AbstractBuilding
LoD1 LoD2
_BoundarySurfaceSurface
Geometry
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 26
Building in LoD4 Roof
Wall
Opening (Door)Ground
Opening(Window)
Exterior Shell
Floor
Room
Roomwall
Ceiling
Roomwall
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 27
Building in LoD4 – Interior Model
Entrance door
„Hallway“
„Back room“
„Living room“
Doorway(with door)
Passage(w/o door)
Topology implies an Accessibility GraphRoom
GroupOfRooms
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 28
Mapping to GML3: CityGML
• According to ‚Rules for application schemas‘
• First phase: subset of the “3D City” data model:– Digital Terrain Models in LoD1 and LoD2– Buildings in LoD1 and LoD2
• No explicit representation of topology– Simple profile (easier for readers), like in the
German cadastre standard ALKIS / NAS– Topological profile in the future
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 29
Building representation using GML3
loD2GeometryProperty_Solid
_Building
+ function: BuildungFunction[0..*]+ yearOfConstruction:integer[0..1]+ roofType: RoofType[0..1]+ measuredHeigth: LengthType[0..1]
Site
CompositeSurface
OrientableSurface
Polygon
LinearRing+position[4..n]
exterior
surfaceMember
baseSurface
exterior
<Codelist>RoofType
1000: saddle roof.....
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 30
Example: CityGML Schema for Buildings
<xs:complexType name="_BuildingType" abstract="true"><xs:complexContent>
<xs:extension base="_SiteType"><xs:sequence>
<xs:element name="function" type="BuildingFunctionType" minOccurs="0" /><xs:element name="yearOfConstruction" type="xs:gYear" minOccurs="0"/><xs:element name="roofType" type="RoofTypeType" minOccurs="0"/><xs:element name="measuredHeight" type="gml:LengthType".../><xs:element name="lod2SolidProperty" type="gml:SolidPropertyType" ../>
</xs:sequence></xs:extension>
</xs:complexContent></xs:complexType>
<xs:element name="_Building" type="_BuildingType" abstract="true"substitutionGroup="_Site"/>
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 31
Example: Building in CityGML 1/3
<siteMember><Building gml:id=“Building0815">
<externalReference><informationSystem>http://www.adv-online.de</informationSystem><externalObject>
<uri>urn:adv:oid:DEHE123400007001</uri></externalObject>
</externalReference><function>31001_1010</function><yearOfConstruction>1985</yearOfConstruction><roofType>3100</roofType><measuredHeight uom="#m">8.0</measuredHeight><lod2SolidProperty>.......//see next slide</lod2SolidProperty>
</Building></siteMember>
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 32
Example: Building in CityGML 2/3<Building gml:id=“Building0815"> ..................
<lod2SolidProperty><gml:Solid srsName="urn:adv:crs:ETRS89_3GK2-h">
<gml:exterior><gml:CompositeSurface>
<gml:surfaceMember><gml:OrientableSurface orientation="+">
<gml:baseSurface><gml:Polygon>
<gml:exterior><gml:LinearRing>
<gml:pos >1.0 1.0 0.0</gml:pos><gml:pos >3.0 1.0 0.0</gml:pos>..........................
</gml:LinearRing>.....................
</lod2SolidProperty></Building>
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 33
Example: Building in CityGML 3/3<Building gml:id=“Building0815"> ..................
<lod2SolidProperty><gml:Solid srsName="urn:adv:crs:ETRS89_3GK2-h">
<gml:exterior><gml:CompositeSurface>
<gml:surfaceMember>//front surface
</gml:surfaceMember><gml:surfaceMember>
//side surface</gml:surfaceMember>.......//here come side, back, roof, and ground surfaces
</gml:CompositeSurface></gml:exterior>
</gml:Solid></lod2SolidProperty>
</Building>
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 34
Mapping to GML3: Difficulties
• Heterogeneous modeling of Digital Terrain Models– Grids as coverages (i.e. feature)– TINs as Triangulated Surfaces (i.e. geometry
property)
• Inefficient representation of large TINs
• GML3 offers no textured surfaces– Class TexturedSurface as an extension of GML3
class OrientableSurface – Texture parameters from X3D
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 35
Pilot 3D – Phase 2• Testbed for CityGML 07/2004 – 03/2005
• Aim: Interoperable access to / exchange of 3D city models
• Realization of CityGML readers / writers and a visualization tool by different partners– Roundtrip evaluation (crosswise data exchange)
• 6 Project groups (each consisting of municipalities, software manufacturers, and academia):– Cities: Berlin, Hamburg, Cologne, Düsseldorf, Leverkusen,
Recklinghausen, Erkelenz– Universities: Bonn, Dortmund, Braunschweig, Freiberg; Fraunhofer
Institute for Computer Graphics Darmstadt– GIS software companies from Germany
T. H. Kolbe: CityGML, OGC TC Meeting New York City 01/2005 36
Summary• CityGML is an application profile for GML3
– applicable to many different domains– consensus on the data model within GDI NRW
(70 participants from different professional domains)• Multiscale model (5 LoDs)• Volumetric objects
– Closure surfaces to seal open structures• Flexible DTM handling• Interfacing with CAAD domain
– linking on the conceptual level – IFC concept of spaces -> Rooms in CityGML
Upcoming: www.citygml.org