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

◆ tpointseq_linear_trajectory()

GSERIALIZED * tpointseq_linear_trajectory ( const TSequence seq,
bool  unary_union 
)

Return the trajectory of a temporal point sequence.

Parameters
[in]seqTemporal sequence
[in]unary_unionTrue when the ST_UnaryUnion function is applied to the result to remove redundant geometry components. When computing the length of a trajectory we CANNOT apply the ST_UnaryUnion function.
Note
Since the sequence has been already validated there is no verification of the input in this function, in particular for geographies it is supposed that the composing points are geodetic @csqlfn Tpoint_trajectory()