In: Stilla U, Rottensteiner F, Paparoditis N (Eds) CMRT09. IAPRS, Vol. XXXVIII, Part 3/W4 — Paris, France, 3-4 September, 2009
119
them rectangular, if they are nearly squared. Both components
use appropriate approximation algorithms and both use the geo-
metric/topologic model part, but change only the geometry. This
correction transfers the model of figure 4 to the one in figure 3.
Geometry/topology supplement. Models extracted from 2d
images are usually incomplete, since hidden information is miss
ing. For urban data (sometimes) plausible assumptions may be
made about the 3d-structure of the objects (e.g. they may be as
sumed to be cuboids).
-1 № (*o
B . |ffl (#2)
S CityGML WallSurface [2]
S S| Wall surface 2 (#7)
S CityGML Window [2]
9 Window 2 (#10)
Iffll Window 1 (#8)
S Bj Wall surface 1 (#3)
" S CityGML Door [1]
J] Door (#4)
-1 m <*»)
•3 / |&j (#2)
■S CityGML WallSurface [2]
' S |ül Wall surface 2 (#7)
B CityGML Window [2]
¡3) Window 2 (#10)
HI Window 1 (#8)
B m surface 1 (#3)
-3 CityGML Door [1]
II Door (#4)
Figure 5: Geometry/topology supplement: Incomplete Example
model (left), supplemented example model (right).
and vice versa. The component adds openings or building to a
city model, if their related boundary surfaces belong to this city
model. Figure 6 shows a an example of a semantically poor
model which is be transformed into the full model of figure 3
by this component. The component uses the semantics and the
geometric/topological model part, but changes only semantics.
4.4 Model transformation
A general class of processing activities is the modification of an
integrated model by some kind of model transformation. There
are geometry/topology transformations and semantic transforma
tions. An example for geometry/topology transformation could
be triangulation. An example for latter might be changing the
CityGML like semantics part into one according to a proprietary
ontology.
4.5 Model export
In general the integrated model or at least parts of it have to be
stored persistently after processing. During model export an in
tegrated model is written to a file.
The component TgModelWriter writes a full integrated model
to a .tg-file. If the exported .tg-model is imported again, no infor
mation will be lost.
During geometry/topology supplement different kinds of geomet
ric and topological information are added to an integrated model.
The CuboidCompleter tests if there are incomplete cuboids in
the integrated model and completes them by adding mirrored in
verted copies of existing 3d faces (figure 5). The component uses
the geometric/topologic model part, and enhances geometry as
well as topology.
<P
e95 CivMode»Ccrt**vCiyOBtic« e* ClyMc>îcfCori«n:C«vOO«cl
v2 BUttng
dazi-né
' rrtttrxL'M* * nul
Semantic model improvement. Given a corrected and supple
mented model, also semantic information might be inferable and
should be added to the model.
H ■<*»>
® (#2)
S CityGML Window [5]
/ IpJ Window 5 (#32)
/ |B| Window 4 (#30)
/ HI Window 3 (#28)
H Window 2 (#26)
HI Window 1 (#24)
- CityGML Door [1]
Mi Door (#22)
B CityGML GroundSurface [1]
Ground surface (#12)
S CityGML WallSurface [4]
ifll Wall surface 4 (#10)
li§l Wall surface 3 (#8)
[ill Wall surface 2 (#6)
E3| Wall surface 1 (#4)
0 CityGML Roof Surf ace [4]
M| Roof surface 4 (#20)
| - / S Roof surface 3 (#18)
a Roof surface 2 (#16)
/ Roof surface 1 (#14)
Figure 6: SemanticsSupplement: Model without relations be
tween building and boundary surfaces as well as boundary sur
faces and openings.
During semantic model improvement different kinds of semantic
information are added to an integrated model. The component
SemanticsSupplementor complements an integrated model by
adding implicit semantic dependencies as explicit relations. It
acts on the assumption, that if an object belongs to an aggre
gation, its parts also have to belong to this aggregation as well
-00
rtarirCivOb»«« roofType - mil
stweysAiipveGrounrt • 00
Mc*eYSbetowOfoun« ■ IMI
storeysHwgrtAboviiOfoux» - OX)
st&revsi twgtOebwOround • OO
MnanaborOrte » mJ
g y«#»OfConstrvjcti<y' « ri#
YearOiOwrtodion * rrJS
e79 BuMngComansSurfttce
•103 CIvModelContarwCtYObKc!
cre«tUnMe * m*
gmWpscnption - nul
tmHnNonMte ■ mj
v28 RoorStrl«*
gmUeìcrfitón • nui
Figure 7: Extraction of the example graph, exported to .dot for
mat and rendered via dotty, a Graphviz tool.
The component DotModelWriter writes an integrated model to
a .dot-file, the standard file-format of the Graphviz 12 graph visu
alization software (figure 7). The result can be processed further
using Graphviz.
The CityGMLModelWriter writes the integrated
model via a special graph traversal algorithm as a
CityGML[Appearance,Building,CityObjectGroup,Generics]
model into an .xml-file. The user can influence the result by
choosing the LOD and the kinds of textures to be written. The
result can be processed further by other tools. For example,
it may be rendered via any appropriate CityGML Viewer (see
section 1.1). If the exported .xml-model is imported again,
information might be lost, since the integrated model contains
more information than those covered by CityGML. 12
12 http://www.graphviz.org