Following the same fundamentals of
GeoFrame modeling, GeoFrame-T uses stereotypes
to facilitate the modeling of objects and geographi-
cal phenomena. In the GeoFrame-T model, the Tem-
poralObject class is considered as a time structure
possible of being represented by the modeled
classes. GeoFrame-T enables us to model conceptu-
ally the relationships between geographical phenom-
ena and their temporal characteristics. These rela-
tionships are represented by the Relationship class.
All the static and non-spatial relationships existent
among the modeled classes are considered instances
of the Relationship class.
4 MODELING THE VALID TIME
The descriptive, temporal and spatial dimensions are
orthogonal. Temporal properties can be defined by
the three categories of geo-spatial data: conventional
objects, geographical phenomena perceived in field
view and geographical phenomena perceived in ob-
ject view. A model that considers the three types of
time (valid, transaction and existence) for both
classes and attributes and relationships provides the
designer with great power of expression. However,
the great number of possible combinations also
makes the model difficult to learn and understand,
eventually compromising the implementation of
applications needed for handling spatio-temporal
data.
Experience has showed that in most GIS applica-
tions only the valid time of the geographical phe-
nomena has been considered, since this is the most
significant piece of information in most queries in-
volving temporal data. This article shows, in this
way, how design aspects spatio-temporal based on
the valid time, using UML-GeoFrame model, in
which only the valid time is considered.
Valid time is the time instant or time interval
when an object of the real-world is considered valid.
For example, the strike against the World Trade
Center took place on September 11, 2001, in turn,
the Gulf War occurred in the period between August
1990 and February 1991. Hence, another important
factor is the granularity of temporal information.
The UML-GeoFrame model considers three types of
time granularity: Date, Time and Timestamp. Speci-
fying the granularity of a temporal attribute is the
same as defining the domain of a descriptive attrib-
ute value (e.g. Char or Boolean). Finally, two types
of temporal classes are discriminated: Instant Class
and Interval Class.
If a class is modeled as being of Instant type
(stereotype <
>), it means that its objects are only
valid at a particular point in time. In this case, the
object does not evolve, since its validity is con-
densed into an instant. It is the case of a road acci-
dent representation, in which is essential to associate
an instant of time with the object.
If the class is of the Interval type (stereotype
<>), it means that its objects are valid in a period
of time, i.e., between an initial and a final temporal
value. These valid intervals do not necessarily have
the same size. In addition, the object evolution is
maintained, because its attributes can vary in the
period corresponding to its valid interval.
If a class is temporal of Interval type, it indicates
that every change in any object attribute will gener-
ate a new version of the object, and the old one will
not be lost.
Each temporal class must have its granularity
specified. The option Date is the default option and
indicates that a value of the date type has to be
stored. The option Time indicates the need for stor-
age of an complete hour value. The option Time-
stamp indicates that a pair (date, hour) must be
stored into the database. Each object (or object ver-
sion) is associated with a piece of temporal informa-
tion, characterized by a stereotype, along with the
chosen granularity.
Besides allowing the modeling of temporal
classes, the UML-GeoFrame model enables the rep-
resentation of temporal associations, which is identi-
fied by the stereotype <<time>>. The validity of an
association can be defined as the intersection of ob-
ject’s valid periods of classes involved in this asso-
ciation. This is because it is impossible for a rela-
tionship to exist in an instant of time in which a re-
lated object is not valid. Thus, considering t as this
period of intersection, it follows that:
Temporal Association - its validity must be con-
tained into the interval t, i.e., the association must be
valid at the most for the period of time in which both
objects coexist in time;
Non-temporal Association - its validity is same
as interval t. In this case, the interpretation is the
same given to conventional relationships, where the
association is valid while the objects coexist in time.
Some association examples involving classes of spa-
tio-temporal phenomena can be presented, when two
classes of geographical phenomena are perceived in
object view, where both were modeled as temporal
classes of the Interval type.
For example, an association between the classes
Country and Epidemic, where the class Country
could have information of name, population and
DESIGN AND IMPLEMENTATION OF THE VALID TIME FOR SPATIO-TEMPORAL DATABASES
571