Multidimensional Databases: Problems and Solutions

In this section, we describe some basic notions of multidimensional data and geographic data needed to define the cooperation approach. They are based on the common concepts discussed extensively in several proposals.

Geographic Data

The geographical data model under consideration is based on the existence of sets and definitions discussed by Pourabbas & Rafanelli (2000) as follow:

A geographical class is a set of elements called geographical objects go1, go2,…, gon, which have the same properties A1, A2,…, An, defined over the set of not necessarily distinct domains D1, D2,…, Dn, and a set of methods which describe the behavior of the objects.

Definition 3: a geographic class (gc) is a quadruple:

Example 1: The geographic class "province" is defined as: <province, administrative subdivision, {{(name, string), (surface, integer), (population, integer),…..}, region }, {Get_name, …}>

Definition 4: A geographic object go instance of a geographic class gc represents a geographic entity of the real world. It consists of a quadruple:

Example 2: Let us consider an instance of the geographic class "province": <001, province, {(name, Roma), (surface, 1507.60 km2), (population, 2915000),….}….{(x1,y1),…, (xn,yn)}>

Definition 5: The root class (rt) is the superclass of all the geographic classes. It is a quadruple <n,sc,P,M>, where sc = Φ (void class) because its parent does not exist.

If the geometric attribute value is null, the geographic class is the null geographic class and the quadruple is defined as <n, rt, P, Φ>, where n = "void class," P = < Φ, null>, where Φ represents the set of alphanumeric attributes which defines the non-geometric characteristics of the gc instances, and null represents the type of geometric structure of the instances.

Definition 6: A method is a triple

<nm, f : U → R, s >, where:

Definition 7: A schema of a geographic database consists of a set of geographic classes; a geographic database consists of a set of objects, each of which is an instance of a schema class.

As we mentioned earlier, the Contains relationship between a pair of geographic classes, named gc1 and gc2, indicates that the instances of the class gc1 are included in the instances of gc2. This implies that the geo-feature of gc1 is internal to or on the boundary of the geo-feature of gc2; for instance, at the intentional level "REGION Contains MUNICIPALITY," and at the extensional level "Tuscany Contains Florence" and "Latium Contains Rome."

A variant of Contains is the Full-Contains relationship (see Ferri et al., 2000). The Full-Contains relationship between a pair of geographic classes gc1 and gc2 exists so that gc2 Contains gc1 if the union of class gc2 instances constitutes a complete coverage of the union of class gc1 instances; in each class, the instances are disjoined. The following definition illustrates the condition for the existence of the containment relationship: Full-Contains.

In the rest of the chapter, we will refer to only three spatial relationships named Geo-Disjunction, Geo-Union, and Geo-Touching which are, respectively, equivalent to disjoint, union, and meet operators defined by Egenhofer & Franzosa (1991).

Definition 8: Let gcα and gcβ be two geographic classes. gcα Full-Contains gcβ if:

The above definition shows that Full-Contains induces a partially ordered relationship among geographic classes and objects. It satisfies the conditions of the summarizability (disjointness and completeness) of statistical databases discussed by Lenz & Shoshani (1997) from a topological point of view for the GDB environment. The description of these conditions will be given in the next sub-section.

Example 3: Let the geographic classes MUNICIPALITY, PROVINCE, and REGION in the GDB be subclasses of the geographic class Geo Entity defined by the following schema:

CLASS = Geo Entity attributes name: string geom: geo-region surface: real

In Figure 1, the class-subclass hierarchy defined by the ISA relationship is shown, as well as the Full-Contains relationships between the geographic classes representing the administrative subdivision of the Italian territory.

Figure 1: A GDB Schema with Full-Contains Relationships

Категории