MobilityDB 1.3
Loading...
Searching...
No Matches

◆ temporal_simplify_min_tdelta()

Temporal * temporal_simplify_min_tdelta ( const Temporal temp,
const Interval mint 
)

Return a temporal float/point sequence simplified ensuring that consecutive values are at least a certain time interval apart.

This function is inspired from the Moving Pandas function MinTimeDeltaGeneralizer https://github.com/movingpandas/movingpandas/blob/main/movingpandas/trajectory_generalizer.py

Parameters
[in]tempTemporal value
[in]mintMinimum time interval
Note
The funcion applies only for temporal sequences or sequence sets with linear interpolation. In all other cases, it returns a copy of the temporal value. @csqlfn Temporal_simplify_min_tdelta()