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

◆ geopointarr_make_trajectory()

GSERIALIZED * geopointarr_make_trajectory ( GSERIALIZED **  points,
int  count,
interpType  interp 
)

Return a trajectory from a set of points.

The result is either a linestring or a multipoint depending on whether the interpolation is either step/discrete or linear.

Parameters
[in]pointsArray of points
[in]countNumber of elements in the input array
[in]interpInterpolation
Note
The function does not remove duplicate points, that is, repeated points in a multipoint or consecutive equal points in a line string