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

◆ lwpointarr_make_trajectory()

LWGEOM * lwpointarr_make_trajectory ( LWGEOM **  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 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