to (Malinowski and Zimanyi , 2004) who propose
the inclusion of the spatial data in the different
levels of a hierarchy and also in measures. (Rives et
al., 2001), study the spatial data in the dimensions
and in the fact table. (Kouba et al. 2002) treat the
navigation consistency among the levels of the
hierarchies for spatial data and OLAP systems. (Han
et al., 1997), establish Spatial On-Line Analytical
Processing (SOLAP) prototypes that gather the
concepts of OLAP and apply them to spatial data.
The proposal of (Pourabbas et al.) and (Ferri et al.,
2000) integrates GIS systems and DW/OLAP
environments. None of these approaches define the
spatio-temporal multi-granularity concept.
According to (Camossi, et al.,2003) the spatio-
temporal multi-granularity concept is very important
in representing the semantic of domain.
3 MULTIDIMENSIONAL
CONCEPTS
A Data Warehouse (DW) is defined as a collection
of subject-oriented, integrated, non-volatile data that
vary in time, which support decision making
processes (Sefanovic et al., 2000). DW are usually
represented at a logical level by multidimensional
models and these use Star, Snowflake or the
Constellation scheme. A logical multidimensional
model consists of different elements: dimensions,
hierarchies and fact tables. A fact table contains the
focus of analysis and subject-orientation, e.g.
analysis of daily sales of stores in a city. Also a fact
table contains measures, based on the dimensions,
that reflect a characteristic whose evolution we wish
obtain. In the previous example, the sales are
measures and the stores, the city, and the days are
dimensions. The Dimensions provide a view of the
data from different perspectives and the hierarchies
provide a more generalized view of them. The
dimensions can form hierarchies like Day-Month-
Year and moreover, they can contain attributes that
complete information, such as holidays in a month.
The Star scheme consists of dimensions, without
hierarchies, and a fact table with measures. The
Snowflake scheme permits that the attributes of
dimensions are structured into different groups.
These groups form levels and these levels form a
hierarchy. The Constellation scheme can contain
several fact tables in the scheme, each one with its
corresponding measures and these fact tables can
share it’s hierarchies. Within a hierarchy, the lower
level is called leaf level. The OLAP Systems allow
dynamic manipulation of the DW for the process of
decision making. The SDWs combine DW and
Spatial System Databases and allow storage of huge
volumes of spatial data, spatial statistical analysis
and spatial data mining. We use an extension of the
Snowflake scheme to include spatial data and make
our proposal.
4 INCLUDING
MULTI-GRANULARITY IN A
SNOWFLAKE SCHEMA
We propose a extension of the Snowflake scheme
due to its intuitive manner of representing the
evolution of an object through time. The aim is to
add semantic information to the scheme. We
propose to treat the spatial and temporal granularity
as dimensions in the Snowflake schema.
Table 1: Temporal conversion functions.
It returns, for each granule in the coarser granularity, the value which
always appears in the included granules at the finer granularity if this
value exists, the null value otherwise
All
It returns, for each granule in the coarser granularity, the value which
appears most frequently in the included granules at the finer granularity
Main
First and last index in the Proj (index) function
First,, Last
It returns, for each granule in the coarser granularity, the value corresponding
to the granule of position index at the finer granularity
Proj (index)
It returns, for each granule in the coarser granularity, the value which
always appears in the included granules at the finer granularity if this
value exists, the null value otherwise
All
It returns, for each granule in the coarser granularity, the value which
appears most frequently in the included granules at the finer granularity
Main
First and last index in the Proj (index) function
First,, Last
It returns, for each granule in the coarser granularity, the value corresponding
to the granule of position index at the finer granularity
Proj (index)
In order to operate and compare objects with
different granularity, we must use conversion
functions. Some conversion functions are shown in
Table 1 and Table 2. The application of these
functions guarantees the topology consistency
(Camossi et al., 2003).
Table 2: Patial conversion functions.
It contracts an open line, endpoints included, to a pointl_contr
It contracts a simple connect region and its bounding to a pointr_contr
It eliminates (abstracts) an isolated point inside a regionP_abs
Absorption operations
It eliminates a line inside a regionl_abs
It merges two regions sharing a boundary line into a single regionr_merge
It merges two lines sharing an endpoint into to single linel_merge
Merge functions
It reduces a region and its bounding lines to a liner_thinning
Contract functions
It contracts an open line, endpoints included, to a pointl_contr
It contracts a simple connect region and its bounding to a pointr_contr
It eliminates (abstracts) an isolated point inside a regionP_abs
Absorption operations
It eliminates a line inside a regionl_abs
It merges two regions sharing a boundary line into a single regionr_merge
It merges two lines sharing an endpoint into to single linel_merge
Merge functions
It reduces a region and its bounding lines to a liner_thinning
Contract functions
Table 2.1: Some conversion functions for
multidimensional model.
M_Last
Mr_thinning
Mr_contr
Ml_contr
It chooses the last element within a rank
It reduces a region and its bounding lines to a line
It contracts a simple connect region and its bounding to a point
It contracts an open line, endpoints included, to a point
M_Last
Mr_thinning
Mr_contr
Ml_contr
It chooses the last element within a rank
It reduces a region and its bounding lines to a line
It contracts a simple connect region and its bounding to a point
It contracts an open line, endpoints included, to a point
We propose a notation based on multidimensional
concepts (see Figure1).
ICEIS 2006 - DATABASES AND INFORMATION SYSTEMS INTEGRATION
176