Spatio-Temporal Databases - PowerPoint PPT Presentation

1 / 17
About This Presentation
Title:

Spatio-Temporal Databases

Description:

Another transformation (Hough-Y) is: ... Hough-Y space. Querying the dual space ... In the Hough-Y, the slope of the queries is y1q yr (or y2q yr) time ... – PowerPoint PPT presentation

Number of Views:17
Avg rating:3.0/5.0
Slides: 18
Provided by: ValuedSony2
Learn more at: https://www.cs.bu.edu
Category:

less

Transcript and Presenter's Notes

Title: Spatio-Temporal Databases


1
Spatio-Temporal Databases
2
Introduction
  • Spatiotemporal Databases manage spatial data
    whose geometry changes over time
  • Geometry position and/or extent
  • Global change data climate or land cover changes
  • Transportation cars, airplanes
  • Animated movies/video DBs

3
Spatio-temporal Queries
  • Historical Queries Store the past the history of
    a spatio-temporal evolution.
  • R-tree, PPR-tree
  • Future Queries Find the future positions of
    moving objects.
  • Indexing?

4
Indexing moving objects
  • Database stores the current location of each
    object and the velocity vector.
  • Example cars moving in a highway system. GPS
    can provide position/velocity

5
Moving Objects Queries
  • Range Queries
  • NN queries
  • Aggregation queries no good solutions so far

Q
6
Moving ObjectsRepresentation
  • Consider the 1-d case (objects moving on a line)
  • Storing the locations of moving objects is a
    challenge
  • Update the database with the new locations
  • Use a function of time f(t) to store a location
  • Update overhead is reduced update the database
    only when velocity changes

7
Space-time
  • Trajectories are plotted as lines in the
    time-location space (y, t) p(t) vta

trajectories
o
1
o
2
o
3
o
4
(t) time
8
Indexing
  • Use R-tree to index the lines? Large MBRs,
    extensive overlap
  • Use a Quadtree approach (or a grid)
  • Partition the space into cells, store for each
    cell the lines that intersect it
  • Disk space is increased

9
Dual space-time
  • Idea map a line to a point

(y) location
intercept
trajectories
o
o
1
1
o
2
o
3
o
4
o
2
o
3
(t) time
slope
intercept
10
Dual space-time indexing
  • Query must be transformed. (y1q, y2q), (t1q,
    t2q)
  • a t2qv gt y1q and a t1q v lt y2q , for vgt0
  • a t1qv gt y1q and a t2q v lt y2q , for vlt0

11
Dual space-time indexing
  • Another transformation (Hough-Y) is
  • The difference is that we compute the intercept
    over a horizontal line
  • Queries in the dual space are similar with the
    previous transformation

12
Hough-Y space
13
Querying the dual space
  • Use a PAM to index the dual points, change the
    search function to find the points inside the
    query
  • Problem Partitioning is not aligned with the
    queries ? many I/Os
  • An idea is to try to store multiple structures,
    one for each set of queries with similar slope

14
Improving the query
  • In the Hough-Y, the slope of the queries is y1q
    yr (or y2q yr)

location
y3
y2
query
y1
time
15
Improving the query
  • Compute the dual using multiple y-lines
  • Store an R-tree for each line
  • Given a query, find the line that is closer to
    the query and then use the corresponding index
  • Thus, the query will appear as vertical as
    possible ? better performance

16
Indexing in 2-dimensions
  • The dual transformation is not natural
  • Map the trajectories in a point in 4-d using the
    transformations on x-t and y-t planes
  • Use the 1-d structures to answer a query
  • Another approach parametrized R-tree

17
TP R-tree
  • Time-Parametrized R-tree
  • Store the MBRs as functions of time
  • The MBRs grow with time, at any time instant in
    the future we can compute the MBR
Write a Comment
User Comments (0)
About PowerShow.com