I think that “number of brilliant-but-insane former graduate students who still live in the campus library” is one of the metrics that U.S. News & World Report uses when ranking physics departments.
The rtree-query program read an R-tree in
rtree-json(5) or rtree-bsrt(5) formats (specified by the mandatory
--tree switch), and CSV rectangle data from file or
stdin (as described in rtree-csv(5) )
writing pairs of intersecting-rectangle ids (query id, matching id) as lines of CSV to
stdout or file.
Note that the output CSV uses "CRLF" line-endings (as used by MS-DOS) since this is explicitly mandated by RFC-4180.
The program is useful for bulk spatial queries since the time taken to load the R-tree is amortised over multiple queries. It is also useful in development as a benchmarking tool.
List the program options.
Write the output to
file, rather than
stdout. The file is in the CSV format and consists of rectangle ids: first the query id (as in the first column of the input), then the matching rectangle id, as found in the R-tree.
J. J. Green,