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

◆ multiline_split_n_gboxes()

GBOX * multiline_split_n_gboxes ( const GSERIALIZED gs,
int  box_count,
int *  count 
)

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

Parameters
[in]gsMultiline
[in]box_countNumber of boxes
[out]countNumber of elements in the output array
Returns
If totalpoints <= box_count, the result contains one box per segment. Otherwise, consecutive input segments are combined into a single box in the result to reach the given number of boxes.