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

◆ temporal_simplify_min_dist()

Temporal * temporal_simplify_min_dist ( const Temporal temp,
double  dist 
)

Return a temporal float/point sequence simplified ensuring that consecutive values are at least a given distance apart.

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

Parameters
[in]tempTemporal value
[in]distDistance in the units of the values for temporal floats or the units of the coordinate system for temporal points.
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_dist()