MobilityDB 1.1

◆ tpointseq_to_geo_segmentize1()

static int tpointseq_to_geo_segmentize1 ( const TSequence seq,
LWGEOM **  result 
)
static

Converts the temporal sequence point into a PostGIS trajectory geometry/geography where the M coordinates encode the timestamps in Unix epoch.

Version when the resulting value is a MultiLinestring M, where each component is a segment of two points.

Parameters
[in]seqTemporal point
[out]resultArray on which the pointers of the newly constructed sequences are stored