![]() |
MobilityDB 1.3
|
A simple program to use an RTree index for searching MEOS bounding boxes, i.e., floatspan
, tstzspan
, tbox
, and stbox
More...
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <meos.h>
#include <meos_geo.h>
#include <meos_internal.h>
#include <meos_internal_geo.h>
Macros | |
#define | BBOX_TYPE STBOX |
#define | FLOATSPAN 1 |
#define | MAX_LEN_BBOX 100 |
#define | NO_BBOX 10000 |
#define | TBOX 3 |
#define | TSTZSPAN 2 |
Functions | |
int | get_random_number (int min, int max) |
int | main () |
void | print_bbox (const void *box, char *prefix) |
Variables | |
bool | actual_result [NO_BBOX] |
STBox * | boxes |
bool | index_result [NO_BBOX] |
A simple program to use an RTree index for searching MEOS bounding boxes, i.e., floatspan
, tstzspan
, tbox
, and stbox
The program can be build as follows