MobilityDB 1.1

◆ stbox_tile_state_make()

STboxGridState * stbox_tile_state_make ( const Temporal temp,
const STBox box,
double  size,
int64  tunits,
POINT3DZ  sorigin,
TimestampTz  torigin 
)

Create the initial state that persists across multiple calls of the function.

Parameters
[in]tempOptional temporal point to split
[in]boxBounds for generating the multidimensional grid
[in]sizeTile size for the spatial dimensions in the units of the SRID
[in]tunitsTile size for the temporal dimension in PostgreSQL time units
[in]soriginSpatial origin of the tiles
[in]toriginTime origin of the tiles
Precondition
The size argument must be greater to 0.
Note
The tunits argument may be equal to 0. In that case only the spatial dimension is tiled.