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

◆ rtree_insert_temporal()

void rtree_insert_temporal ( RTree rtree,
const Temporal temp,
int  id 
)

Insert a temporal value into the RTree index.

The bounding box is automatically extracted from the temporal value. The temporal type must be compatible with the RTree's bounding box type: temporal alphas (tbool, ttext) require a span-based RTree, temporal numbers (tint, tfloat) require a TBox-based RTree, and spatiotemporal types (tgeompoint, tgeogpoint) require an STBox-based RTree.

Parameters
[in]rtreeThe RTree previously initialized
[in]tempThe temporal value to be inserted
[in]idThe id of the temporal value being inserted