Incremental distance join algorithms for spatial databases

Gı́sli R. Hjaltason, Hanan Samet

ACM SIGMOD Record · 1998 · 65 citations · 19 references

DOIFull text

Open access

Concepts

TL;DR

The paper introduces distance join and distance semi‑join operations that output tuples ordered by spatial distance. Incremental algorithms are proposed that compute these joins in a pipelined manner, compatible with hierarchical spatial structures, arbitrary data types, dimensions, and distance metrics. Experiments with R‑trees show incremental algorithms are an order of magnitude faster than non‑incremental ones for partial results, with only a modest penalty when the full result is needed.

Abstract

Two new spatial join operations, distance join and distance semi-join, are introduced where the join output is ordered by the distance between the spatial attribute values of the joined tuples. Incremental algorithms are presented for computing these operations, which can be used in a pipelined fashion, thereby obviating the need to wait for their completion when only a few tuples are needed. The algorithms can be used with a large class of hierarchical spatial data structures and arbitrary spatial data types in any dimensions. In addition, any distance metric may be employed. A performance study using R-trees shows that the incremental algorithms outperform non-incremental approaches by an order of magnitude if only a small part of the result is needed, while the penalty, if any, for the incremental processing is modest if the entire join result is required.

References

19