GP-Tree: An in-memory spatial index combining adaptive grid cells with a prefix tree for efficient spatial querying
Efficient spatial indexing is crucial for processing large-scale spatial data. Traditional spatial indexes, such as STR-Tree and Quad-Tree, organize spatial objects based on coarse approximations, most commonly their minimum bounding rectangles (MBRs). However, this coarse representation is inadequate for complex spatial objects (e.g., district boundaries and trajectories), limiting filtering accuracy and query performance of spatial indexes. To address these limitations, we propose GP-Tree, a fine-grained spatial index that organizes approximated grid cells of spatial objects into a prefix tree structure. GP-Tree enhances filtering ability by replacing coarse MBRs with fine-grained cell-based approximations of spatial objects. The prefix tree structure optimizes data organization and query efficiency by leveraging the shared prefixes in the hierarchical grid cell encodings between parent and child cells. Additionally, we introduce optimization strategies, including tree pruning and node optimization, to reduce search paths and memory consumption, further enhancing GP-Tree’s performance. Finally, we implement a variety of spatial query operations on GP-Tree, including range queries, ε-distance queries, and k-nearest neighbor queries. Extensive experiments on real-world datasets demonstrate that GP-Tree significantly outperforms traditional spatial indexes, achieving up to an order-of-magnitude improvement in query efficiency.
Authors
- Lanxue Dang (ORCID: https://orcid.org/0000-0003-1053-6741)
- Xiangyang Yang (ORCID: https://orcid.org/0009-0006-2264-2428)
- Huayi Wu
- Yi Xie
- Xuefeng Guan
- Jiayao Wang
- Qingyang Xu
Institutions
- Henan University (CN)
- Wuhan University (CN)
Publication Details
- Journal
- Big Earth Data
- Published
- 2026-08-25
- DOI
- https://doi.org/10.1080/20964471.2026.2718640
- Primary Topic
- Data Management and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Natural Science Foundation of Hubei Province