Spatio-Temporal Databases

Slides:



Advertisements
Similar presentations
Spatial Database Systems. Spatial Database Applications GIS applications (maps): Urban planning, route optimization, fire or pollution monitoring, utility.
Advertisements

1 Spatial Join. 2 Papers to Present “Efficient Processing of Spatial Joins using R-trees”, T. Brinkhoff, H-P Kriegel and B. Seeger, Proc. SIGMOD, 1993.
Spatial Indexing SAMs. Spatial Indexing Point Access Methods can index only points. What about regions? Z-ordering and quadtrees Use the transformation.
Indexing and Range Queries in Spatio-Temporal Databases
Access Methods for Advanced Database Applications.
Continuous Intersection Joins Over Moving Objects Rui Zhang University of Melbourne Dan Lin Purdue University Kotagiri Ramamohanarao University of Melbourne.
Spatial Mining.
Query Processing in Databases Dr. M. Gavrilova.  Introduction  I/O algorithms for large databases  Complex geometric operations in graphical querying.
Nearest Neighbor Search in Spatial and Spatiotemporal Databases
Indexing the Positions of Continuously Moving Objects Saltenis, Jensen, Leutenegger and Lopez.
2-dimensional indexing structure
--Presented By Sudheer Chelluboina. Professor: Dr.Maggie Dunham.
Spatial Indexing SAMs. Spatial Indexing Point Access Methods can index only points. What about regions? Z-ordering and quadtrees Use the transformation.
Indexing the Present and Future Positions of Moving Objects Simonas Šaltenis Aalborg University Nykredit Center for Database Research Department of Computer.
Spatial Indexing for NN retrieval
Spatial Indexing SAMs. Spatial Access Methods PAMs Grid File kd-tree based (LSD-, hB- trees) Z-ordering + B+-tree R-tree Variations: R*-tree, Hilbert.
Accessing Spatial Data
Spatio-Temporal Databases
Fall 2000CS 599 – Spatial and Temporal Databases Research Issues in Spatio- temporal Database Systems Timos Sellis Presented by Handy Patriawan.
Spatio-Temporal Databases. Outline Spatial Databases Temporal Databases Spatio-temporal Databases Multimedia Databases …..
Spatio-Temporal Databases. Introduction Spatiotemporal Databases: manage spatial data whose geometry changes over time Geometry: position and/or extent.
Spatial Indexing SAMs.
Spatial Queries Nearest Neighbor and Join Queries.
I/O-Algorithms Lars Arge University of Aarhus March 1, 2005.
Spatial Information Systems (SIS) COMP Spatial access methods: Indexing.
Spatial Indexing I Point Access Methods. Spatial Indexing Point Access Methods (PAMs) vs Spatial Access Methods (SAMs) PAM: index only point data Hierarchical.
Spatial Queries Nearest Neighbor Queries.
R-tree Analysis. R-trees - performance analysis How many disk (=node) accesses we’ll need for range nn spatial joins why does it matter?
1 Indexing the Positions of Continuously Moving Objects Speaker: Chia-Hsiang Hsu Date: 2006/10/16.
Spatio-Temporal Databases. Introduction Spatiotemporal Databases: manage spatial data whose geometry changes over time Geometry: position and/or extent.
Handling Location Imprecision in Moving Object Database Xinfa Hu March 2007.
R-Trees 2-dimensional indexing structure. R-trees 2-dimensional version of the B-tree: B-tree of maximum degree 8; degree between 3 and 8 Internal nodes.
Spatial Indexing SAMs. Spatial Access Methods PAMs Grid File kd-tree based (LSD-, hB- trees) Z-ordering + B+-tree R-tree Variations: R*-tree, Hilbert.
Spatial Indexing I Point Access Methods. Spatial Indexing Point Access Methods (PAMs) vs Spatial Access Methods (SAMs) PAM: index only point data Hierarchical.
Spatio-Temporal Databases. Outline Spatial Databases Temporal Databases Spatio-temporal Databases Multimedia Databases …..
Spatial Database Systems. Spatial Database Applications GIS applications (maps): Urban planning, route optimization, fire or pollution monitoring, utility.
Spatial Indexing I Point Access Methods. Spatial Indexing Point Access Methods (PAMs) vs Spatial Access Methods (SAMs) PAM: index only point data Hierarchical.
Spatial Indexing. Spatial Queries Given a collection of geometric objects (points, lines, polygons,...) organize them on disk, to answer point queries.
Fast Subsequence Matching in Time-Series Databases Christos Faloutsos M. Ranganathan Yannis Manolopoulos Department of Computer Science and ISR University.
R-Trees Extension of B+-trees.  Collection of d-dimensional rectangles.  A point in d-dimensions is a trivial rectangle.
AAU A Trajectory Splitting Model for Efficient Spatio-Temporal Indexing Presented by YuQing Zhang  Slobodan Rasetic Jorg Sander James Elding Mario A.
The X-Tree An Index Structure for High Dimensional Data Stefan Berchtold, Daniel A Keim, Hans Peter Kriegel Institute of Computer Science Munich, Germany.
A Quantitative Analysis and Performance Study For Similar- Search Methods In High- Dimensional Space Presented By Umang Shah Koushik.
1 Spatial-temporal Database and moving objects management.
CSIS7101 – Advanced Database Technologies Spatio-Temporal Data (Part 1) On Indexing Mobile Objects Kwong Chi Ho Leo Wong Chi Kwong Simon Lui, Tak Sing.
R-Tree. 2 Spatial Database (Ia) Consider: Given a city map, ‘index’ all university buildings in an efficient structure for quick topological search.
Spatio-temporal Pattern Queries M. Hadjieleftheriou G. Kollios P. Bakalov V. J. Tsotras.
Spatial Query Processing Spatial DBs do not have a set of operators that are considered to be basic elements in a query evaluation. Spatial DBs handle.
Bin Yao (Slides made available by Feifei Li) R-tree: Indexing Structure for Data in Multi- dimensional Space.
August 30, 2004STDBM 2004 at Toronto Extracting Mobility Statistics from Indexed Spatio-Temporal Datasets Yoshiharu Ishikawa Yuichi Tsukamoto Hiroyuki.
Trajectory Data Mining Dr. Yu Zheng Lead Researcher, Microsoft Research Chair Professor at Shanghai Jiao Tong University Editor-in-Chief of ACM Trans.
Spatial Indexing Techniques Introduction to Spatial Computing CSE 5ISC Some slides adapted from Spatial Databases: A Tour by Shashi Shekhar Prentice Hall.
R-Trees: A Dynamic Index Structure For Spatial Searching Antonin Guttman.
R-trees: An Average Case Analysis. R-trees - performance analysis How many disk (=node) accesses we ’ ll need for range nn spatial joins why does it matter?
Efficient OLAP Operations in Spatial Data Warehouses Dimitris Papadias, Panos Kalnis, Jun Zhang and Yufei Tao Department of Computer Science Hong Kong.
1 Complex Spatio-Temporal Pattern Queries Cahide Sen University of Minnesota.
File Processing : Multi-dimensional Index 2015, Spring Pusan National University Ki-Joune Li.
Spatio-Temporal Databases. Term Project Groups of 2 students You can take a look on some project ideas from here:
Multidimensional Access Methods Ho Hoang Nguyen Nguyen Thanh Trong Dao Vu Quoc Trung Ngo Phuoc Huong Thien DATABASE.
Jeremy Iverson & Zhang Yun 1.  Chapter 6 Key Concepts ◦ Structures and access methods ◦ R-Tree  R*-Tree  Mobile Object Indexing  Questions 2.
CSIS7101 – Advanced Database Technologies Spatio-Temporal Data (Part 3) The MV3-Tree: A Spatio-Temporal Access Method for Timestamp and Interval Queries.
Indexing the Past, Present, and Anticipated Future Positions of Moving Objects Mindaugas Pelanis, Simonas Saltenis, and Christian S. Jensen
Spatio-Temporal Databases
Spatial Indexing I Point Access Methods.
The Quad tree The index is represented as a quaternary tree
Spatio-Temporal Databases
Distributed Probabilistic Range-Aggregate Query on Uncertain Data
Spatial Indexing I R-trees
File Processing : Multi-dimensional Index
Donghui Zhang, Tian Xia Northeastern University
Presentation transcript:

Spatio-Temporal Databases Moving Objects

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

Spatio-temporal Queries Historical Queries: Store the past the history of a spatio-temporal evolution. R-tree, MV3R-tree (PPR-tree) “Future” Queries: Find the future positions of moving objects. Indexing?

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

Moving Objects: Queries Range Queries NN queries Aggregation queries Q

Moving Objects:Representation 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

Space-time Trajectories are plotted as lines in the time-location space (y, t); p(t) = vt+a trajectories o 1 o 2 o 3 o 4 (t) time

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

Dual space-time Idea: map a line to a point trajectories o o o o o o o (y) location intercept trajectories o o 1 1 o 2 o 3 o 4 o 2 o 3 (t) time slope intercept

Dual space-time indexing Query must be transformed. [(y1q, y2q), (t1q, t2q)] a + t2qv >= y1q and a+ t1q v <= y2q , for v>0 a + t1qv >= y1q and a+ t2q v <= y2q , for v<0

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

Hough-Y space

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

Improving the query In the Hough-Y, the slope of the queries is: y1q – yr (or y2q – yr) location y3 y2 query y1 time

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

Indexing in 2-dimensions The dual transformation can be extended to 2 dimensional points 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

Dual for 2-D Moving Objects Using Hough-X: Map a moving point p with location (px, py) and velocity (vx, vy) to the 4D point (vx, ax, vy, ay) Query is also transformed to a linear constraint query: Q=[(x1q, x2q), (y1q, y2q), (t1q, t2q)] ax + t2qvx >= x1q and ax+ t1q vx <= x2q ay + t2qvy >= y1q and ay+ t1q vy <= y2q x1qvy - y2qvx <= axvy – ayvx<= x2qvy - y1q vx

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”

Motion function For each object, the database stores Its minimum bounding rectangle (MBR) at the reference time 0 Its current velocity bounding rectangle (VBR) Examples: MBR(a)={2,4,3,4}, VBR(a)={1,1,1,1}; MBR(c)={8,9,8,9} An update is necessary only when an object’s VBR changes.

TPR – MBRs (a) The boundaries at current time 0 (b) The boundaries at future time 1

Insertion and Deletion Insertion and Deletion similar to R*-tree The only difference is that you have to compute the values: margin, overlap, volume over time Trick: try to optimize the structure for the next H time instants. Another optimization: when you update an object, re-compute the MBR at the current time

An example of update and re-computation of MBR (1D) y o1 o2 o3 o4 t update time An example of update and re-computation of MBR (1D) Reference: Simonas Saltenis, Christian S. Jensen, Scott T. Leutenegger, Mario A. Lopez: Indexing the Positions of Continuously Moving Objects. SIGMOD Conference 2000: 331-342