Using time-series similarity measures to compare animal movement trajectories in ecology

Ian R. Cleasby, Ewan D. Wakefield, Barbara Morrissey, Thomas W. Bodey, Steven C. Votier, Stuart Bearhop, Kieth C. Hamer

Research output: Contribution to journalArticlepeer-review

46 Citations (Scopus)
114 Downloads (Pure)


Identifying and understanding patterns in movement data are amongst the principal aims of movement ecology. By quantifying the similarity of movement trajectories, inferences can be made about diverse processes, ranging from individual specialisation to the ontogeny of foraging strategies. Movement analysis is not unique to ecology however, and methods for estimating the similarity of movement trajectories have been developed in other fields but are currently under-utilised by ecologists. Here, we introduce five commonly used measures of trajectory similarity: dynamic time warping (DTW), longest common subsequence (LCSS), edit distance for real sequences (EDR), Fréchet distance and nearest neighbour distance (NND), of which only NND is routinely used by ecologists. We investigate the performance of each of these measures by simulating movement trajectories using an Ornstein-Uhlenbeck (OU) model in which we varied the following parameters: (1) the point of attraction, (2) the strength of attraction to this point and (3) the noise or volatility added to the movement process in order to determine which measures were most responsive to such changes. In addition, we demonstrate how these measures can be applied using movement trajectories of breeding northern gannets (Morus bassanus) by performing trajectory clustering on a large ecological dataset. Simulations showed that DTW and Fréchet distance were most responsive to changes in movement parameters and were able to distinguish between all the different parameter combinations we trialled. In contrast, NND was the least sensitive measure trialled. When applied to our gannet dataset, the five similarity measures were highly correlated despite differences in their underlying calculation. Clustering of trajectories within and across individuals allowed us to easily visualise and compare patterns of space use over time across a large dataset. Trajectory clusters reflected the bearing on which birds departed the colony and highlighted the use of well-known bathymetric features. As both the volume of movement data and the need to quantify similarity amongst animal trajectories grow, the measures described here and the bridge they provide to other fields of research will become increasingly useful in ecology.
Original languageEnglish
Article number151
JournalBehavioral Ecology and Sociobiology
Issue number11
Publication statusPublished - 21 Nov 2019


  • Information science
  • Movement ecology
  • Route fidelity
  • Site fidelity
  • Tracking data
  • Trajectory clustering


Dive into the research topics of 'Using time-series similarity measures to compare animal movement trajectories in ecology'. Together they form a unique fingerprint.

Cite this