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

◆ tgeo_space_time_split()

Temporal ** tgeo_space_time_split ( const Temporal temp,
double  xsize,
double  ysize,
double  zsize,
const Interval duration,
const GSERIALIZED sorigin,
TimestampTz  torigin,
bool  bitmatrix,
bool  border_inc,
GSERIALIZED ***  space_bins,
TimestampTz **  time_bins,
int *  count 
)

Return the fragments a temporal geo split according to a space and possibly a time grid.

Parameters
[in]tempTemporal geo
[in]xsize,ysize,zsizeSize of the corresponding dimension
[in]durationSize of the time dimension as an interval, may be NULL
[in]soriginOrigin for the space dimension
[in]toriginOrigin for the time dimension
[in]bitmatrixTrue when using a bitmatrix to speed up the computation
[in]border_incTrue when the box contains the upper border, otherwise the upper border is assumed as outside of the box.
[out]space_binsArray of space bins
[out]time_binsArray of time bins
[out]countNumber of elements in the output arrays
Note
This function in MEOS corresponds to the MobilityDB function Tgeo_space_time_split_ext. Note that the test for the validity of the arguments is done in tgeo_space_time_tile_init