rtree-build — create a serialised R-tree from CSV rectangle data


rtree-build [-d dimension] [-f format] [-h ] [-l ] [-o file] [-q ] [-v ] [-V ] [file]


The rtree-build program reads CSV files specifying a collection of rectangles, cuboids or higher-dimensional hyperectangles and writes a serialised R-tree to output. Such R-trees can be loaded quickly into programs using librtree.


-d, --dimension dimension

Specify the dimension of the R-tree to build.

-f, --format format

Specify the format of the output, one of json or bsrt. See rtree-json(5) and rtree-bsrt(5) for descriptions of these formats.

If this option is not given, then json will be taken as the default.

-h, --help

List the program options.

-l, --split-linear

Use the linear splitting strategy, which builds the R-tree more quickly, but results in a lower-quality tree with slower queries.

See also the --split-quadratic option.

-o, --output file

Write the output to file, rather than stdout.

-q, --split-quadratic

Use the quadratic splitting strategy, which builds the R-tree more slowly, but results in a higher quality tree with faster queries.

See also the --split-linear option.

-v, --verbose

Verbose operation.

-V, --version

Version information.


J. J. Green, .