Schneider Tutorial Sbbd2012 HD
Schneider Tutorial Sbbd2012 HD
St t off th
State the Art
A t and
d Future
F t Research
R h Challenges
Ch ll
Markus Schneider
University off Florida
Department of Computer & Information
Science &Engineering
Abstract
Abstract
Spatial databases are full-fledged databases that, in addition, enable the storage,
retrieval, manipulation, querying, and analysis of geometries like points, lines, and
regions representing, for example, the geometries of cities, roads, and states
respectively. More complex examples are spatial partitions representing spatial
subdivisions like the counties in Florida and the election districts in Gainesville, and
spatial graphs representing spatial networks like transportation networks and
pipeline systems. Moving objects databases also deal with geometries but focus on
the change of their location and/or shape and/or extent over time. Examples
are moving points representing cell phone users, moving lines representing traffic
congestions, and moving regions representing hurricanes. The objective of this
tutorial is to highlight the state of the art of spatial and moving objects databases,
and indicate their future research challenges. The focus is on data models, querying,
data structures,
structures algorithms,
algorithms and system architectures.
architectures The tutorial will show that
spatial data types and spatiotemporal data types provide a fundamental abstraction
for modeling the geometric structure of objects in space, the temporally evolving
structure of objects in space and time, their relationships, properties, and operations.
Th
These data
d t ttypes d develop
l ththeir
i ffullll expressive
i power if th
they are iintegrated
t t d as
abstract data types into databases and their query languages.
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 2
Outline
Outline
1. Introduction
2 Spatial
2. S ti l D
Datat M
Modeling
d li
3. Spatiotemporal Data Modeling
4. Open Research Topics
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 3
Outline
Outline
1. Introduction
2 Spatial
2. S ti l D
Datat M
Modeling
d li
3. Spatiotemporal Data Modeling
4. Open Research Topics
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 4
Outline
Outline - Introduction
Spatial and spatiotemporal data are ubiquitous
Application
A li ti examples l
Spatial and moving objects databases as interdisciplinary research fields
Colloquial example queries
Definition of spatial and spatiotemporal database systems
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 5
Introduction
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 6
Introduction
Conclusions
Efficient and user friendly handling of large spatial data volumes is an
important
p task of database technologygy
Understanding of spatial and spatiotemporal data is needed
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 7
Introduction
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 8
Introduction
The brain's complex network of The Bubble complex (the A street map
70 billion neurons and thousands Hodge object), a star cluster,
of kilometers of circuits in NGC 6946
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 9
Introduction
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 10
Introduction
Movement of planets
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 11
Introduction
Computational
C t ti l
Geographical Geometry
Information Spatial and
Systems (GIS) Moving Objects
Database Systems Artificial
Intelligence
Geosciences
Mathematics
Cognitive
Linguistics
S i
Science
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 12
Introduction
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 13
Introduction
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 14
Introduction
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 15
Introduction
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 16
Introduction
From: R.H. Güting. An Introduction to Spatial Databases. VLDB Journal (Special Issue on Spatial Databases), 3(4):357-399,
1994.
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 17
Introduction
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 18
Introduction
Modeling and conceptual aspects are the focus of this tutorial but not
implementation aspects
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 19
Outline
Outline
1. Introduction
2 Spatial
2. S ti l D
Datat M
Modeling
d li
3. Spatiotemporal Data Modeling
4. Open Research Topics
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 20
Outline
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 21
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 23
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 25
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 27
Spatial Data Modeling
We consider
modeling single
single, self-contained
self contained spatial objects
modeling spatially related collections of spatial objects
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 28
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 29
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 30
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 31
Spatial Data Modeling
General
Formal
Data model definition
definition
independence
Topological
Efficiency correctness
Design of
S ti l
Spatial
Data Types
Numerical
Extensibility
robustness
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 32
Spatial Data Modeling
Closure Properties
General definition/structure of spatial objects
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 33
Spatial Data Modeling
Geometric Consistency
Support of geometric consistency constraints for spatially related objects
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 34
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 35
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 36
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 37
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 38
Spatial Data Modeling
o Y
Y
Y
Y = Y o Y Y o Y = Y Y = Y o Y =
IR2 = Y o Y Y
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 41
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 42
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 45
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 46
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 47
Spatial Data Modeling
The closest operation yields a point object whose point components are
nearest to a given single reference point
closest : point point point
closest point
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 48
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 49
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 50
Spatial Data Modeling
Important
I t t example l off a spatial
ti l
connectivity structure
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 51
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 52
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 53
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 54
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 55
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 56
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 58
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 59
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 60
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 63
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 64
Spatial Data Modeling
Proposed
P d models:
d l
9-Intersection Matrix model (9IM)
based on point set theory and point set topology
takes into account the topological invariants of the intersections of
the boundary, interior, and exterior of one spatial object with the
corresponding components of another spatial object
Region Connection Calculus (RCC)
based on spatial logic, “pointless” approach
axiomatic approach to formulating topological relationships and
reasoning about spatial data
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 65
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 66
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 67
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 68
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 69
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 70
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 71
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 72
Spatial Data Modeling
Two
T phases
h
Tiling Phase
Interpretation Phase
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 73
Spatial Data Modeling
A
OIG(A,B) =
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 74
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 75
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 76
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 77
Spatial Data Modeling
A 1 1 0
1 0 2
0 2 2
B
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 78
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 79
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 80
Spatial Data Modeling
A 1 1 0
((1, 1), (2, 3)) = NW
1 0 2 ((1, 2), (3, 2)) = N
0 2 2
B …
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 81
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 83
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 84
Spatial Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 86
Spatial Data Modeling
Q6: List the names of all countries that are north of “Mexico”.
SELECT C.name
FROM Country C, Country C1
WHERE C.shape north_of C1.shape AND C1.name = ‘Mexico’
Effect of strictly_north_of,
strictly north of northern_of,
northern of strictly_northern_of?
strictly northern of?
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 87
Spatial Data Modeling
Outline
1. Introduction
2 Spatial
2. S ti l D
Datat M
Modeling
d li
3. Spatiotemporal Data Modeling
4. Open Research Topics
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 89
Outline
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 90
Spatiotemporal Data Modeling
simple moving point simple moving region complex moving point complex moving region
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 92
Spatiotemporal Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 93
Spatiotemporal Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 94
Spatiotemporal Data Modeling
Observation:
Ob ti di (historical
dim(hi t i l moving
i object)
bj t)
≤ dim(predictive moving object)
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 95
Spatiotemporal Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 96
Spatiotemporal Data Modeling
The operation inst yields the time component of a (time, value) pair.
i t : intime
inst ( ) time
i ti () ti
The operation val yields the value component of a (time, value) pair.
vall : intime
i ti ( )
() [intime
i ti = time
ti × ]]
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 99
Spatiotemporal Data Modeling
The operations atmin and atmax restrict a moving object to the times
when it is minimal or maximal with respect to the total order on this
space.
atmin, atmax : () () [1D]
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 101
Spatiotemporal Data Modeling
Examples
dist: point region real
Dist: (point) (region) (real)
Dist: hmpoint hmregion hmreal
intersection: line region line
Intersection: (line) (region) (line)
Intersection: hmline hmregion hmline
area: region real
Area: (region) (real)
Area: hmregion hmreal
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 102
Spatiotemporal Data Modeling
Examples
Dist = dist
Intersection = intersection
Area = area
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 103
Spatiotemporal Data Modeling
Example:
Spatial predicate: inside : region region bool
Temporally lifted spatial predicate:
inside : (region) (region) (bool)
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 104
Spatiotemporal Data Modeling
A spatiotemporal
p p p
predicate describes the continuous development
p of the
topological relationships of two moving objects over time.
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 105
Spatiotemporal Data Modeling
time
t4 disjoint at t4
Disjoint during ]t3, t4[
t3 meet at t3
t2 meet at t2
y
Di j i t during
Disjoint d i ]t1, t2[
t1 disjoint at t1
x
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 106
Spatiotemporal Data Modeling
Bypass
yp := Snap
p >> Release
OutOf := rev(Into)
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 109
Spatiotemporal Data Modeling
Leave
L := rev(Enter
E t )
Separate := rev(Melt)
Graze := Disjoint >> meet >> Overlap >> (CoveredBy >> Overlap)* >>
meet >> Disjoint
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 110
Spatiotemporal Data Modeling
Q1: What are the departure and arrival times of flight LH 257, and how
long is the part of the route of this flight that lies within France?
CREATE TABLE France AS
(SELECT * FROM States WHERE sname = ‘France’);
SELECT min(deftime(route)) AS departureTime,
max(deftime(route)) AS arrivalTime,
length(trajectory(Intersection(route, ^territory))) AS lenInFr
FROM Flight, France
WHERE id = ‘LH 257’;
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 111
Spatiotemporal Data Modeling
Q5: Where was United Airlines flight 207 between 7:00 am and 9:00 am?
SELECT trajectory(atperiods(route, 7:00..9:00)) AS loc
FROM Flight
WHERE id = ‘UA 207’;
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 113
Spatiotemporal Data Modeling
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 114
Spatiotemporal Data Modeling
(
CREATE TABLE Bird(swarm varchar(40),
( ) movement hmpoint);
p )
Q9: Which swarms fly together, then take different routes for some time,
y meet again?
and finally g
DEFINE Remeets AS _ >> Meet >> Disjoint >> Meet >> _;
SELECT A.swarm, B.swarm
FROM Bi d AS A
Bird A, Bi
Bird
d AS B
WHERE A.movement Remeets B.movement;
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 115
Outline
Outline
1. Introduction
2 Spatial
2. S ti l D
Datat M
Modeling
d li
3. Spatiotemporal Data Modeling
4. Open Research Topics
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 116
Outline
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 117
Open Research Topics
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 118
Open Research Topics
Some models for fuzzy spatial objects available (especially from GIS field)
Problem: Implementation of fuzzy spatial objects
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 120
Open Research Topics
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 123
Thank You
for Your Attention
and Interest!
Spatial and Moving Objects Databases: State of the Art and Future Research Challenges 124