Design and Implementation of 3D Model Database For General Purpose 3D GIS
Design and Implementation of 3D Model Database For General Purpose 3D GIS
To cite this article: Weiping Xu , Qing Zhu , Zhiqiang Du & Yeting Zhang (2010) Design and
implementation of 3D model database for general-purpose 3D GIS, Geo-spatial Information
Science, 13:3, 210-215, DOI: 10.1007/s11806-010-0309-7
Abstract To improve the reusability of three-dimensional (3D) models and simplify the complexity of natural scene reconstruc-
tion, this paper presents a 3D model database for universal 3D GIS. After the introduction of its extensible function architecture,
accompanied by the conclusion of implicit spatial-temporal hierarchy of models in any reconstructed scene of 3D GIS for general
purpose, several key issues are discussed in detail, such as the storage and management of 3D models and related retrieval and load
method, as well as the interfaces for further on-demand development. Finally, the validity and feasibility of this model database are
proved through its application in the development of 3D visualization system of railway operation.
Keywords 3D model database; 3D GIS; 3D modeling; CAD models
CLC number P208
In practice, simple block models, derived from 2D model in pursuit of high level of details is often fairly
map data in regular modeling, such as building extru- large, while GIS needs to deal with a lot of such enti-
sion without roof, are available from graphic design- ties at the same time. Then, it is considered desirable
ing and planning softwares like AutoCAD. Another to simplify the original model or reorganize its stor-
type of model, mesh model, used widely in 3D scene age structure of 3D graphic information for the bal-
visualization and spatial analysis, generally contains ance among rendering efficiency, data scheduling,
detailed geometrical and simple topological informa- and graphic quality in 3D GIS.[2,8] (3) Most CAD
tion.[6,7] Fig.1 shows a 3D mesh model in a 3DS for- models are independent in 3D GIS and cannot be
mat of a Chinese building. used to present an object’s temporal behavior on
which 4D GIS is given more and more attention to.
Aiming at the design of 3D model database for
general-purpose 3D GIS and the solution of critical
issues mentioned above, this paper presents its ability
to import/export existing CAD models in popular
formats, store similar models in form of specific
Fig.1 3D solid and wireframe modes of a building
groups, and thereby reuse them in different applica-
One proposal of integration of CAD to 3D GIS is tion that reduces a great deal of time investment in
to establish 3D model database based on library ap- modeling. Section 1 gives the function architecture of
proach to meet the changing needs of model reuse for this database and is followed by details of the storage
general-purpose 3D GIS.[2] Moreover, it is wise to and management of database in Section 2. The
enrich and enlarge the database in batches of model- method of model retrieval and load is discussed in
ing, recommended as the strategy of model collection. Section 3. At last, its implementation and application
In this approach, the idea of reusability suggests the in railway visualization is illustrated.
possibility for 3D models, especially complex and
detailed models, to be completely extracted from re- 1 Function architecture of 3D model
constructed scenes and stored in an open data base,
database
which other modelers can be allowed quick and easy
access to for their own modeling need. This is greatly
1.1 Data hierarchy of models
desirable and feasible, the moment Internet has per-
meated many fields of social development, where a 3D models can be graphic or image models for the
number of various models are available now for free description of shapes, positions, orientations, and
or for a fee.[9] sizes of geographical entities, as well as the expres-
In this integration, there are several critical issues sion of aspects of their spatial-temporal distribution
that needs to be considered: (1) Modelers have to link and dynamic changes.[4] It can be concluded in the
imported models with given attributes in GIS, for any following respects that most of them included in a
dataset of GIS is composed of spatial data associated complicated scene often form an implicit spatial and
with nonspatial properties that original CAD models temporal hierarchy based on fundamental models.
are lacking in. (2) The data amount of single CAD z The distribution of independent models in accor-
212 Geo-spatial Information Science 13(3):210-215
dance with fixed rules in one piece of scene. Most of objects’ behavior fall into two categories: definite
these rules can be parameterized. For example, a po- behavior with known states in discrete time like
lygonal vegetation area may be covered by several turnout’s switch and uncertain behavior in response to
types of trees and bushes of different sizes, distributed real time events, such as collisions.[10] CAD models
in regular rows and columns, or random positions with are generally stationary and thus applied more in
defined density to lighten inaccurate modeling work- former presentation. In a broad sense, the transition of
load (Fig.2). levels of detail (LOD) can also be regarded as a type
of behavior just influenced by human’s sight but not
real world.
classification. On the contrary, users can also export a tribute table by MID and its linked SGID, which can
specific class of models ranging from formats or fea- be used to acquire other state models in state table.
tures to share with others.
Table 2 Detailed structure of attribute table
z Perspective view. It is for browsing of model’s
Field name Field type Field description
contents stored in converted files in solid or wire-
MID INTEGER Model’s ID
frame mode.
CID INTEGER ID of class the model belongs to
z Thumbnail preview. A model’s thumbnail in fa-
MNAME STRING Model’s name
vor of later scanning is created at the time of its initial FORMAT INTEGER Format of model file
visualization, with its image data stored in model ATTRIS STRING Linked attribute
format or standard image format like jpg/jpeg. Be- ID of state group the model is
SGID INTEGER
sides, users can choose a proper vision angle in per- Packed in
spective view for thumbnail re-creation.
Table 3 Detailed structure of class table
z Animation /exhibition. Smooth transitions of
Field name Field type Field description
selected models for exhibition can be connected by
CID INTEGER Class ID
simple rotation or other special animation effects
CNAME INTEGER Class name
like bounce. This is the same as a series of 2D pic-
SUBNUM INTEGER Number of included subclasses
tures made into sliders smoothed by shutter or mosaic
SUBIDS BLOB Included subclasses’ ID datasets
effect.
Table 4 Detailed structure of state table
2 Database design Field name Field type Field Description
SGID INTEGER ID of state group
Considering the function architecture of this model SGNAME STRING Name of state group
database presented in Section 1, its storage structure SDESC STRING State description
MIDS BLOB packed models’ ID dataset
can be divided into two parts: model files and infor-
mation tables (Fig.6). The former may be a group of
one whole directory and its subdirectories of im- 3 Model retrieval and load method
ported models in original or converted files. The
models’ given properties from manual attribute re- Currently, most of 3D model databases provide the
cording are stored in the attribute table, while their function of text-based model search for key words in
class and state information can be obtained from the filenames, formats, attributes and so on, which cannot
class table and state table, recorded when each model’s work in some cases, such as when objects are not an-
category and state models’ package is customized. notated or annotated with unspecified or derivative
These tables can be efficiently established and que- keywords.[11] Therefore, the content-based multime-
ried in commercial database like SQL Server. dia retrieval method is emerging for models’ shapes
analysis as well as automatic classification and iden-
tification.[12] The 3D model search engines adopting
this technique allow the input of 2D sketches or pho-
tos instead of text (Fig.7), which accord with user’s
direct impression of objects.[13,14] One of its important
procedures is to establish 2D and 3D geometrical
Fig.6 Storage structure of database
shape feature index from feature extraction and match
The detailed information of three tables is listed as them according to similarity measurement. However,
follows (Tables 2, 3, and 4). They are linked by re- it is not appropriate in practice for the efficiency of its
lated fields. For example, if one model’s MID is search for a batch of models instead of a single model
known and other models in the same state package cannot meet the needs of retrieval and load in large-
are wanted, users can fast retrieve the model from at- scale scene reconstruction.
214 Geo-spatial Information Science 13(3):210-215
Fig.10 Main UI
quires a section surface to scan along a path to con- the railway station can be regarded as a composition
struct a model. Here, sections of railway bed (includ- of two poles and many units distributed along the line
ing rail), bridge body, and tunnel are quickly retrieved between the poles (Fig.11(c)). In a similar way, a
from the database through query interface (Fig.11(a)). bridge is held up by a number of piers at fixed inter-
Independent models. Turnout, intersecting cross- vals parallel with the bridge body.
over, and signal lamp fall into this category (Fig.11(b)).
Their positions are all obtained from the configura- 5 Conclusion
tion file, while the orientations need to be computed.
For example, the signal lamp’s orientation is equated The main research contributions are (1) extensible
to the closest railway for their parallelism. Besides, function architecture in support of spatial-temporal hi-
their behavior needs to be considered. Compared with erarchy of models and (2) fast and automatic load
two kinds of a turnout’s state, an intersecting cross- method from the database to the scene with the help
over contains eight as each of its four nodes may be of further-development interfaces. Such kind of 3D
open or closed. model database would become more and more im-
Parameterized models. The catenary system near portant in the modeling of 3D GIS.