,
Jean-Pierre von der Heydt
,
Tobias Kempf
,
Dennis Kobert
,
Nikolai Maas
Creative Commons Attribution 4.0 International license
Spherical range queries are a fundamental primitive for working with spatial data. Many spatial data structures have been developed to answer these queries, but choosing the optimal one for a specific application is a difficult task. This is because theoretical worst-case bounds are often overly pessimistic, and existing average-case analyses are rather restricted and hard to compare. We address this problem with two main contributions. First, we present a comprehensive evaluation of state-of-the-art spatial indices across a diverse set of benchmarks. This includes a new benchmark based on graph embeddings alongside multiple real-world datasets from the literature. Our benchmark covers instances scaling up to 10M points and ranging between 2 and 960 dimensions. Second, we introduce the Sorted-Projection Radius KD-tree (SPRK-tree), a high-performance KD-tree variant. The SPRK-tree combines aggressive subtree pruning via radius reduction, sorted projection-based leaf nodes, and careful implementation optimizations. It consistently achieves the fastest query times in almost all benchmarks, and ranks second in the few remaining cases.
@InProceedings{blasius_et_al:LIPIcs.ESA.2026.22,
author = {Bl\"{a}sius, Thomas and von der Heydt, Jean-Pierre and Kempf, Tobias and Kobert, Dennis and Maas, Nikolai},
title = {{Benchmarking and Engineering Data Structures for Spherical Range Queries}},
booktitle = {34th Annual European Symposium on Algorithms (ESA 2026)},
pages = {22:1--22:17},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-445-1},
ISSN = {1868-8969},
year = {2026},
volume = {388},
editor = {Bille, Philip and Pettie, Seth and Storandt, Sabine},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ESA.2026.22},
URN = {urn:nbn:de:0030-drops-271585},
doi = {10.4230/LIPIcs.ESA.2026.22},
annote = {Keywords: Spherical Range Queries, Fixed-Radius Nearest Neighbor Search, Spatial Indexing, KD-tree, Benchmarking, Graph Embedding, SPRK-Tree}
}
archived version
archived version
archived version
archived version