Skip to main content
U.S. flag

An official website of the United States government

Implementation of the LandTrendr algorithm on Google Earth Engine


Robert E. Kennedy
Zhiqiang Yang
Noel Gorelick
Justin Braaten
Lucas Cavalcante



Publication type:

Scientific Journal (JRNL)

Primary Station(s):

Pacific Northwest Research Station


Remote Sensing. 10: 691.


The LandTrendr (LT) algorithm has been used widely for analysis of change in Landsat spectral time series data, but requires significant pre-processing, data management, and computational resources, and is only accessible to the community in a proprietary programming language (IDL). Here, we introduce LT for the Google Earth Engine (GEE) platform. The GEE platform simplifies pre-processing steps, allowing focus on the translation of the core temporal segmentation algorithm. Temporal segmentation involved a series of repeated random access calls to each pixel’s time series, resulting in a set of breakpoints (“vertices”) that bound straight-line segments. The translation of the algorithm into GEE included both transliteration and code analysis, resulting in improvement and logic error fixes. At six study areas representing diverse land cover types across the U.S., we conducted a direct comparison of the new LT-GEE code against the heritage code (LT-IDL). The algorithms agreed in most cases, and where disagreements occurred, they were largely attributable to logic error fixes in the code translation process. The practical impact of these changes is minimal, as shown by an example of forest disturbance mapping. We conclude that the LT-GEE algorithm represents a faithful translation of the LT code into a platform easily accessible by the broader user community.


Goeking, Sara A.; Menlove, Jim. 2017. New Mexico's forest resources, 2008-2014. Resour. Bull. RMRS-RB-24. Fort Collins, CO: U.S. Department of Agriculture, Forest Service, Rocky Mountain Research Station. 68 p.


Publication Notes

  • We recommend that you also print this page and attach it to the printout of the article, to retain the full citation information.
  • This article was written and prepared by U.S. Government employees on official time, and is therefore in the public domain.