Spatio Temporal Queries for Moving Objects Data Warehousing
July 17, 2026 · 329 KB
A 2013 IJDMS paper from Cairo University proposing a spatio-temporal data warehouse for moving objects, with new direction-based measures such as "direction majority".
Overview
Location-aware phones and vehicles generate huge histories of movement, and organisations want to analyse those histories to make decisions. In this paper from the International Journal of Database Management Systems, published in June 2013, Leila Esheiba, Hoda M. O. Mokhtar and Mohamed El-Sharkawi of Cairo University's Faculty of Computers and Information propose a data warehouse design for that purpose.
Background
The paper explains that traditional databases assume data stay constant unless modified, which does not suit objects that move continuously. Data warehouses, by contrast, store historical data in a multidimensional form for analysis, supporting operations such as rolling up, drilling down, slicing and pivoting. The authors trace how warehouses were extended to spatial data and then to spatio-temporal "trajectory data warehouses", and review earlier work that defined measures such as how many distinct objects are present in a cell, or how many cross into or out of it.
New Direction-Based Measures
The paper's main contribution is a set of measures based on direction of movement:
- Direction majority, the dominant direction of motion among all trajectory segments in a spatial cell during a time interval, weighted by how much of each segment falls inside the cell
- Counts of objects moving in each of eight compass directions
A worked example shows how the direction majority is calculated. The authors suggest uses such as traffic analysis and deciding runway orientation at airfields from historical wind directions, treating wind as a moving object.
Queries
The paper presents SQL queries for computing presence, direction counts and direction majority from the warehouse's fact table.
Why It Matters
The authors plan to look for further measures, apply them to real-world applications and study the effect of uncertainty in trajectory data. The paper offers a design and example queries rather than tests on real data.

Source
Leila Esheiba, Hoda M.O.Mokhtar and Mohamed El-Sharkawi (2013). Spatio-Temporal Queries for Moving Objects Data Warehousing. International Journal of Database Management Systems, 5(3), 1–13.