Learn how to synchronize timestamps of two Geo Time Series and copy the locations from one to the other.

Imagine that we have a reference series without geolocation (called "reference") and a second series with geolocalized data (called "dummy").
We would like to copy the location of data points of the second series to the reference series, but there are no timestamps in common.
In fact, I encountered this use case and the JavaScript implementation took dozens of lines of code. Of course, you can do that easily with WarpScript with just (Spoil Alert) a single line of code.
Discover how to detect a sequence of values in WarpScript |
Random data generation
At first, for this blog post, we will generate random data:
All you need to know about getting help from Warp 10 community |
The algorithm
The data process consists on:
- Fill the "dummy" GTS with timestamps coming from the "reference" GTS
- Interpolate values and locations for those new data points
- Copy the geolocation from "dummy" to "reference"
That's all.

To sum up, the full code sample is here: https://snapshot.senx.io/0005a003e8f911c3-0-4-4858676921776908
More info about:
Read more
Matrix Profile of a Time Series to discover Patterns
Santa asset tracking and delivery service
Random Number Generation in WarpScript

Senior Software Engineer