Space-Time Cube

Statistics
Introduced by
Torsten Hägerstrand (time geography); cube popularized by Menno-Jan Kraak
Year
1970
Type
Spatiotemporal data structure and visualization framework
Family
Time geography / spatiotemporal binning

What does it do?

The space-time cube is a framework from time geography for representing and analyzing phenomena that move and change over both space and time.

Two horizontal axes carry geographic location and a vertical axis carries time, so each observation becomes a point in a three-dimensional x–y–t volume, and a moving object traces a continuous space-time path through the cube. Torsten Hägerstrand set out the underlying time-geographic ideas in 1970, and Menno-Jan Kraak popularized the cube as a tool for geovisualization and spatiotemporal analysis.

The intuition behind the method

Stack a deck of maps, one per time slice, into a transparent block: the bottom map is the earliest moment, the top the latest. A person's day appears as a line threading up through the block — sloping where they travel, vertical where they stay put — so the geometry of the path itself encodes movement, stops, and timing. Aggregating events into a grid of space-time bins turns the cube into a 3-D histogram you can slice, query, and test for emerging clusters, revealing patterns invisible on any single flat map.

History

Torsten Hägerstrand developed time geography, which places individual human activity and its constraints in space and time. His 1970 paper 'What about people in regional science?' is cited as a key statement of these ideas, including the space-time path. Menno-Jan Kraak later popularized the cube for geovisualization. Subsequently, GIS and statistical software implemented it as a data structure for trajectory and spatiotemporal analysis.

When to use it

Choose the space-time cube when your data carry both location and time and the question concerns how patterns change: movement trajectories, the spread of events, or shifting clusters of activity. It is a natural structure for trajectory and mobility analysis, for emerging hot-spot detection, and for showing change to an audience. It is not suited to data where time is irrelevant or only a single snapshot exists, nor where the temporal resolution is too coarse to define meaningful slices. A flat animated map may communicate a pattern more clearly than an occluded three-dimensional volume. Because binning introduces the modifiable areal unit problem and its temporal analogue, the choice of bin sizes should be justified and tested. For example, the same events aggregated into fine and coarse grid cells, or into short and long time intervals, can produce different hot-spot maps, so the bin sizes should be varied and the pattern checked for persistence before it is reported.

Limitations and considerations

  • Three-dimensional displays suffer from occlusion and perspective distortion, so dense cubes become visually cluttered.
  • Results depend heavily on the chosen spatial and temporal bin sizes — the modifiable areal and temporal unit problems.
  • Static images of the cube are hard to read; the tool's value largely depends on interactivity.
  • Large trajectory datasets produce many overlapping paths that overwhelm both the display and the analysis.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Keeps space and time in one structure, so spatiotemporal patterns can be seen that a single flat map or a separate time-series plot would not show.
  • Space-time paths give a geometric record of individual movement, dwelling, and timing.
  • Binned cubes can serve as input to spatiotemporal statistics such as emerging hot-spot analysis.
  • Interactive slicing and rotation let the analyst examine dynamic patterns from several viewpoints.

Applications

  • Analyzing individual mobility and activity patterns from GPS trajectories in transport and behavioural geography.
  • Detecting emerging, intensifying, and diminishing hot spots of crime, disease, or accidents over time.
  • Visualizing the spatiotemporal diffusion of phenomena such as epidemics, wildfires, or social movements.
  • Studying animal movement and migration tracks in movement ecology.
  • Exploring spatiotemporal accessibility and the time-budget constraints of daily life in time geography.

How it works

How it works

1

Each observation is represented as a point p with planar coordinates x and y and a time stamp t. This lifts two-dimensional spatial data into a three-dimensional space in which the third axis is time, so that location and timing can be analysed together rather than separately.

Formula
p = (x,\,y,\,t) \in \mathbb{R}^2 \times T
2

A persisting object is represented by its space-time path, the connected sequence of its (x, y, t) positions over an interval. Where the path is nearly horizontal, the object covers ground quickly; where it is nearly vertical, the object is effectively stationary; and bends mark changes of direction. Gaps in the path correspond to periods without a recorded position, so the path's geometry is a record of the movement as it was observed.

Formula
\text{path}_i = \{(x_i(t), y_i(t), t): t \in [t_0, t_1]\}
3

For aggregate analysis, the cube is partitioned into a regular lattice of space-time bins, a spatial grid crossed with time intervals. Each bin holds the count of observations that fall inside it, as given by the formula. The counts depend on the spatial cell size and the length of the temporal intervals, which are the two parameters that define the bins. This converts irregular point events into a structured array that spatiotemporal statistics can operate on. Bins with very few or no events give unstable values, so the resolution should be chosen with the event density and the sampling regime in mind, and irregular sampling intervals should be handled explicitly rather than ignored.

Formula
C(b_{xy}, b_t) = \#\{p_i : (x_i,y_i)\in b_{xy},\; t_i \in b_t\}
4

Reading the cube cell by cell, each spatial grid cell yields a time series of its bin values across the temporal slices. Here f is the summary applied to each bin count, for example the raw count or a count normalised by a reference quantity such as population or area; the choice of f determines what the series measures. Trends and clustering can then be examined per location and against neighbouring cells. In emerging hot-spot analysis, a clustering statistic such as Getis-Ord Gi* is evaluated across space for each time slice, and a trend test is applied to each location's resulting series to classify places as, for example, new, intensifying, diminishing, or sporadic hot spots. The full category set, its definitions and the statistical inputs depend on the tool in use and should be checked against its documentation before results are reported.

Formula
z_{b_{xy}}(b_t) = f\bigl(C(b_{xy}, b_t)\bigr),\quad b_t = 1,\dots,T

Common pitfalls

  • Choosing bin sizes arbitrarily and not testing sensitivity, so the apparent pattern is an artifact of the binning.
  • Mixing inconsistent time zones or irregular sampling intervals, which distorts path slopes and bin counts.
  • Over-interpreting the visual cube without the supporting statistics — perceived clusters may not be significant.
  • Presenting a static screenshot of an inherently interactive structure, leaving viewers unable to resolve occluded detail.

Frequently asked questions

What is the difference between a space-time path and a space-time cube?

The space-time path is the trajectory of a single moving object, a line through the cube. The space-time cube is the whole three-dimensional x–y–t container in which one or many such paths, or aggregated event bins, are represented. The cube is the framework; the path is one kind of object living inside it.

How does the space-time cube support emerging hot-spot analysis?

By binning events into a grid of space-time cells, the cube produces, for every location, a time series of counts. A clustering statistic such as Getis-Ord Gi* can be evaluated across space for each time slice, and a trend test can then be applied to each location's resulting series. This allows places to be classified by how their clustering is changing, for example as new, intensifying, diminishing, or sporadic hot spots. The category set and the statistical inputs depend on the software used, so its documentation should be consulted.

Is the space-time cube a visualization or an analysis method?

Both. As a visualization it renders spatiotemporal data in a three-dimensional display. As a data structure it is the binned x–y–t array on which downstream spatiotemporal statistics operate. Hägerstrand's 1970 paper is cited for the time-geographic ideas on which the space-time path rests, and Kraak later popularized the cube as a geovisualization device.

Related methods

Sources

  1. Hägerstrand, T. (1970). What about people in regional science? Papers of the Regional Science Association, 24(1), 6–21.

    Open DOI reference
  2. Kraak, M.-J., & Ormeling, F. J. (2010). Cartography: Visualization of Geospatial Data (3rd ed.). Prentice Hall.

    ISBN: 9780273722793