ST Data-warehouse for trajectories Some preliminary ideas S. Orlando, R. Orsini, A. Raffaetà, A. Roncato.

Slides:



Advertisements
Similar presentations
solved problems on optimization
Advertisements

Days UNIT 1 Motion Graphs x t Lyzinski Physics.
Chapter 2 Motion in One Dimension
C van Ingen, D Agarwal, M Goode, J Gupchup, J Hunt, R Leonardson, M Rodriguez, N Li Berkeley Water Center John Hopkins University Lawrence Berkeley Laboratory.
Stabbing the Sky: Efficient Skyline Computation over Sliding Windows COMP9314 Lecture Notes.
Indexing the Positions of Continuously Moving Objects Saltenis, Jensen, Leutenegger and Lopez.
SPATIO-TEMPORAL DATABASES
Spatio-Temporal Databases
Spatio-Temporal Databases. Outline Spatial Databases Temporal Databases Spatio-temporal Databases Multimedia Databases …..
Linear Motion 1 Aristotle  384 B.C B.C. Galileo 
Dieter Pfoser, LBS Workshop1 Issues in the Management of Moving Point Objects Dieter Pfoser Nykredit Center for Database Research Aalborg University, Denmark.
R F For a central force the position and the force are anti- parallel, so r  F=0. So, angular momentum, L, is constant N is torque Newton II, angular.
Based on Slides by D. Gunopulos (UCR)
A survey on stream data mining
Spatio-Temporal Databases. Introduction Spatiotemporal Databases: manage spatial data whose geometry changes over time Geometry: position and/or extent.
Indexing Spatio-Temporal Data Warehouses Dimitris Papadias, Yufei Tao, Panos Kalnis, Jun Zhang Department of Computer Science Hong Kong University of Science.
Sensor Data Management with Model-based View LSIR, EPFL.
Spatio-Temporal Databases. Outline Spatial Databases Temporal Databases Spatio-temporal Databases Multimedia Databases …..
Efficient Partition Trees Jiri Matousek Presented By Benny Schlesinger Omer Tavori 1.
Scientific Computing Partial Differential Equations Introduction and
1 CUBE: A Relational Aggregate Operator Generalizing Group By By Ata İsmet Özçelik.
Waves Topic 4.5 Wave Properties. Wave Behaviour v Reflection in one dimension.
Solving Simple Problems Involving Rates I can solve problems involving Percent of Change, Distance and Interest.
1 GEM2505M Frederick H. Willeboordse Taming Chaos.
AAU Novel Approaches to the Indexing of Moving Object Trajectories Presented by YuQing Zhang  Dieter Pfoser Christian S. Jensen Yannis Theodoridis.
Tom Wilson, Department of Geology and Geography tom.h.wilson Dept. Geology and Geography West Virginia University.
Modeling Storing and Mining Moving Object Databases Proceedings of the International Database Engineering and Applications Symposium (IDEAS’04) Sotiris.
Chapter 6 The Definite Integral.  Antidifferentiation  Areas and Riemann Sums  Definite Integrals and the Fundamental Theorem  Areas in the xy-Plane.
Topics for our first Seminar The readings are Chapters 1 and 2 of your textbook. Chapter 1 contains a lot of terminology with which you should be familiar.
Spatio-temporal Pattern Queries M. Hadjieleftheriou G. Kollios P. Bakalov V. J. Tsotras.
Motion. Motion- the change in the position of an object with respect to time and its reference point Motion is RELATIVE Reference point/ frame of reference:
1 8. One Function of Two Random Variables Given two random variables X and Y and a function g(x,y), we form a new random variable Z as Given the joint.
Chapter 4 MOTION IN TWO DIMENSIONS. Two dimensions One dimension Position O x M x x y M Path of particle O x y.
Motion, Speed, Velocity and Acceleration. Motion ► Motion – an object’s change in position relative to a reference point.
Space-Efficient Online Computation of Quantile Summaries SIGMOD 01 Michael Greenwald & Sanjeev Khanna Presented by ellery.
UNIT 5.  The related activities of sorting, searching and merging are central to many computer applications.  Sorting and merging provide us with a.
Motion in One Dimension Physics 2053 Lecture Notes 02a dx dt x t Kinematics in One Dimension (Phy 2053) vittitoe.
Assam Don Bosco University Waves in 3D Parag Bhattacharya Department of Basic Sciences School of Engineering and Technology.
ES 07 These slides can be found at optimized for Windows)
Efficient OLAP Operations in Spatial Data Warehouses Dimitris Papadias, Panos Kalnis, Jun Zhang and Yufei Tao Department of Computer Science Hong Kong.
NNPC FSTP ENGINEERS Physics Course Code: Lesson 7.
What is speed? Speed: how fast something is moving or how much distance is covered in a certain amount of time. We will discuss two types of speed: Instantaneous.
One Function of Two Random Variables
Spatiotemporal GIS Standard GIS: Spatial Characteristics only Implicit time is usually “now” Spatiotemporal GIS: Adds concept of time What happened when.
Basic Theory (for curve 01). 1.1 Points and Vectors  Real life methods for constructing curves and surfaces often start with points and vectors, which.
Spatio-Temporal Databases. Term Project Groups of 2 students You can take a look on some project ideas from here:
The Derivative as a Rate of Change. In Alg I and Alg II you used the slope of a line to estimate the rate of change of a function with respect to its.
Traffic Flow Characteristics. Dr. Attaullah Shah
Journal #7 Most missed question on the test: The total mass of four containers is 3.500kg. If A is 256g, B is 5917cg, and C is 382g, what is the mass.
VECTORS and SCALARS part 2 Give me some DIRECTION!!!
Kinematics Graphical Analysis of Motion. Goal 2: Build an understanding of linear motion. Objectives – Be able to: 2.04 Using graphical and mathematical.
Chapter 6 The Definite Integral.  Antidifferentiation  Areas  Definite Integrals and the Fundamental Theorem  Areas in the xy-Plane  Applications.
Advanced Database Aggregation Query Processing
Introductory Statistics and Data Analysis
Spatio-Temporal Databases
Day 2 UNIT 1 Motion Graphs x t Lyzinski Physics.
Area of Irregular Shapes
Spatio-temporal Pattern Queries
Chapter Two Trajectory Indexing and Retrieval
Spatio-Temporal Databases
Access Quiz.
Multidimensional Indexes
Chapter 6 The Definite Integral
Intervals of Increase and Decrease
Area of Irregular Shapes
Continuous Density Queries for Moving Objects
8. One Function of Two Random Variables
Tutorial 6 The Definite Integral
Chapter Two Trajectory Indexing and Retrieval
8. One Function of Two Random Variables
Presentation transcript:

ST Data-warehouse for trajectories Some preliminary ideas S. Orlando, R. Orsini, A. Raffaetà, A. Roncato

Requirements and Starting points  Trajectories arrive in streams, as triples (ID, SpatialPos, TemporalPos) to insert information associated with them in our data warehouse, spatial and temporal dimensions must be discretized to fit our cube model For example, we can think of considering two Spatial and one Temporal dimensions  What are the main approaches present in the literature to deal with ST aggregates?  Which are the aggregates that we would like to compute on trajectories?  Can ST aggregates in literature be applied to our case?

Main approaches in the literature  I.F. Vega Lopez, R.T. Snodgrass, B. Moon. ST Aggregation Computation: A Survey. IEEE TKDE, 17:2, 2005 Aggregates computed on partitions, obtained by grouping on attributes Simple or sliding window aggregates No moving objects  Y. Tao, D. Papadias. Historical ST Aggregation, ACM TOIS, 23:1, 2005 Main focus is on index data structures Typical aggregates are distributive  F aggr (S 1  S 2 ) = F aggr (S 1 ) op F aggr (S 2 )  S 1  S 2 =  Partially consider moving objects  Others?

The cube model: an example The pollution density data: X t X t Dx Dt + in this ST area the pollution is 5; + in this ST area the pollution is 4; + in this ST area the pollution is 3;

Problems of space-driven structures Discretization problems: X t 54 t ?5 5 5 X

Data-driven structures Each region is the “original” rectangle X t 5 4 t 5 4 X R1R1 R2R2

Problems with data-driven structures Intersectiong regions count twice?? X t 54 t 54 X 2323 Partially overlapping query counts as a whole

The cube model for trajectories The number of objects: X t X t Dx Dt a steady object (constant x); + a forward moving object (increasing x); + a backward moving object (decreasing x);

Problems of cube model Discretization problems with trajectories : X tt X A fast object is in 4 “places” at the same moment 1 111

Problems of cube model Discretization problems with trajectories : X tt X We don’t know what happens between the 2 points 1 1 ?? Should we interpolate and how?

Different kinds of queries  Queries computed by using only the given attributes  Queries computed by a pre-calculation which can involve more than one “close” subcubes (ST properties not explicitly given but computed)  Queries computed by considering the whole trajectory hence by using not only close subcubes  Not distributive queries

First kind of queries  ST density of objects Number of objects in a fixed area and in a given time interval Area and temporal intervals depend on the granularity of our cube  To compute such aggregates  We need only info related to the presence/absence of objects in the given ST element  Thus, we forget IDs and other spatio-temporal information (speed, distance etc.)

Problems of cube model Discretization problems with trajectories : X tt X A fast object is in 4 “places” at the same moment 1 111

Second kind of queries  Total distance or average distance  Number of objects moving towards East  Number of objects which change direction

Third kind of queries  Number of objects which have covered a certain distance  Number of objects which are back to the starting point  Difference between the going and back  The aggregation used to solve such a kind of queries should be recomputed changing the parameter

Fourth kind of queries  Shape of the average trajectory  Compute the median

Topological queries With ID: enter, leave, cross, stay within, bypass X t Enter: before out; now inLeave: before in; now outStay within: before and now inCross: before out; now out; region touchedBypass: not touched

Left-in and Right-in Without ID we can compute the following queries: left-in (passing the left borderline inward), right-in (passing the right borderline inward); left-out (passing the left borderline outward), right-out (passing the right borderline outward) X t left-in = enter from left + cross from left left-in+right-in ≠ enter

How to compute left-in, right-in Problems on computing in: 1)The aggregate is on left-in and right-in not directly on in; 2)The associative function to compute left-in (right-in) is a left projection (right projection) function: does the commercial products provide these functions? Let S and S’ be left-in S  S’ = left(left-in S, left-in S’) = left-in S right-in S  S’ = right(right-in S, rigth-in S’) = right-in S’ SS’

Cross (1) Without ID we cannot compute: cross X t X t From aggregate data it is impossible to distinguish the two above cases (???)

Cross (2) Cross cannot be computed from cube-cross X t X t S cube-cross = 2 on shaded area, while cross = 0

Navigational queries Considering derived information: speed (max, avg, min), heading, traveled distance, covered area. Are these computable from aggregates? Speed is of type 2; Heading is of type 3; Traveled distance is of type 2; Covered area is of type 3;