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

◆ line_split_each_n_gboxes()

GBOX * line_split_each_n_gboxes ( const GSERIALIZED gs,
int  elems_per_box,
int *  count 
)

Return an array of spatial boxes obtained by merging consecutive segments of a line.

Parameters
[in]gsLine
[in]elems_per_boxNumber of input segments merged into an output box
[out]countNumber of elements in the output array
Returns
If the number of segments <= elems_per_box, the result contains a single box. Otherwise, consecutive input segments are combined into a single output box.