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

◆ temporal_simplify_max_dist()

Temporal * temporal_simplify_max_dist ( const Temporal temp,
double  dist,
bool  syncdist 
)

Return a temporal float/point simplified using a single-pass Douglas-Peucker line simplification algorithm.

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.
[in]syncdistTrue when the Synchronized Distance is used, false when the spatial-only distance is used. Only used 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_max_dist()