|
◆ 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] | temp | Temporal geo |
[in] | xsize,ysize,zsize | Size of the corresponding dimension |
[in] | duration | Size of the time dimension as an interval, may be NULL |
[in] | sorigin | Origin for the space dimension |
[in] | torigin | Origin for the time dimension |
[in] | bitmatrix | True when using a bitmatrix to speed up the computation |
[in] | border_inc | True when the box contains the upper border, otherwise the upper border is assumed as outside of the box. |
[out] | space_bins | Array of space bins |
[out] | time_bins | Array of time bins |
[out] | count | Number 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
|