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

◆ geopointlinearr_make_trajectory()

GSERIALIZED * geopointlinearr_make_trajectory ( GSERIALIZED **  points,
int  npoints,
GSERIALIZED **  lines,
int  nlines 
)

Return a trajectory from a set of points and lines.

The result is either a geometry collection, a (multi)point or a- (multi)linestring

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