ST Data-warehouse for trajectories
Some preliminary ideas
- S. Orlando, R. Orsini, A. Raffaetà, A. Roncato
ST Data-warehouse for trajectories Some preliminary ideas S. - - PowerPoint PPT Presentation
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
(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
Aggregates computed on partitions, obtained by grouping on attributes Simple or sliding window aggregates No moving objects
Main focus is on index data structures Typical aggregates are distributive
Faggr(S1 ∪ S2) = Faggr(S1) op Faggr(S2) S1 ∩ S2 = ∅
Partially consider moving objects
The pollution density data: X t 5 4 3 X 5 4 3 5 3 4 4 4 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;
X t 5 4 t 4 4 4 4 4?5 4?5 5 5 X
X t 5 4 t 5 4 X
R1
R2
X t 5 4 t 5 4 X 2 3 2 3
The number of objects: X t X t Dx Dt 2 2 1 1 + a steady object (constant x); + a forward moving object (increasing x); + a backward moving object (decreasing x);
X t t X A fast object is in 4 “places” at the same moment 1 1 1 1
X t t X We don’t know what happens between the 2 points 1 1 ? ? Should we interpolate and how?
X t t X A fast object is in 4 “places” at the same moment 1 1 1 1
With ID: enter, leave, cross, stay within, bypass X t Enter: before out; now in Leave: before in; now out Stay within: before and now in Cross: before out; now out; region touched Bypass: not touched
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
X t left-in = enter from left + cross from left left-in+right-in ≠ enter
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’ S S’
Without ID we cannot compute: cross X t X t From aggregate data it is impossible to distinguish the two above cases (???)
Cross cannot be computed from cube-cross X t X t 1 1 1 1 S cube-cross = 2 on shaded area, while cross = 0
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;