MobilityDB 1.1

◆ ensure_valid_tinstarr1()

void ensure_valid_tinstarr1 ( const TInstant inst1,
const TInstant inst2,
bool  merge,
interpType  interp 
)

Ensure that two temporal instants have increasing timestamp (or may be equal if the merge parameter is true), and if they are temporal points, have the same srid and the same dimensionality.

Parameters
[in]inst1,inst2Temporal instants
[in]mergeTrue if a merge operation, which implies that the two consecutive instants may be equal
[in]interpInterpolation