K Nearest Neighbor Join Algorithms for Spatial Data Using Compact and Plain Data Structures in Main Memory
| UDC.coleccion | Investigación | |
| UDC.departamento | Ciencias da Computación e Tecnoloxías da Información | |
| UDC.grupoInv | Laboratorio de Bases de Datos (LBD) | |
| UDC.institutoCentro | CITIC - Centro de Investigación de Tecnoloxías da Información e da Comunicación | |
| UDC.issue | 33 | |
| UDC.journalTitle | GeoInformatica | |
| UDC.volume | 30 | |
| dc.contributor.author | Bernardo, Guillermo de | |
| dc.contributor.author | Rodríguez Penabad, Miguel | |
| dc.contributor.author | Corral, Antonio | |
| dc.contributor.author | Vassilakopoulos, Michael | |
| dc.contributor.author | Brisaboa, Nieves R. | |
| dc.date.accessioned | 2026-10-14T08:48:54Z | |
| dc.date.available | 2026-10-14T08:48:54Z | |
| dc.date.issued | 2026 | |
| dc.description | Financiado para publicación en acceso aberto: CRUE-CSIC/Springer Nature Data sets used in the experimental evaluation of this work are available at https://doi.org/10.5281/zenodo.17544411 | |
| dc.description.abstract | [Abstract] The K Nearest Neighbors Query (KNNQ) is a fundamental distance-based query with applications in Geographic Information Systems (GIS) and many other domains. The K Nearest Neighbors Join Query (KNNJQ) combines KNNQ with the join operation to find the K nearest neighbors from a dataset P to every object in another dataset Q. Due to the large number of distance computations involved, KNNJQ is an expensive operation that poses a challenge for in-memory systems. In this paper, we propose and evaluate novel in-memory algorithms for KNNQ and KNNJQ using the compact data structure k2-tree. The proposed algorithms exploit hierarchical spatial decomposition together with grouping, pre-processing and progressive pruning techniques. In addition, we develop two new plane-sweep algorithms for KNNQ and KNNJQ, that improve the brute-force algorithms by reducing redundant computations. We conduct an extensive experimental evaluation using real-world spatial datasets to evaluate the performance of our KNNQ and KNNJQ algorithms, comparing them with KD-tree and R*-tree based algorithms. Our results highlight the efficiency of pruning techniques in k2-trees, which reduce distance computations and response time by up to an order of magnitude in KNNJQ, in comparison with the equivalent KD-tree, R*-tree and plane-sweep algorithms. | |
| dc.description.sponsorship | Open Access funding provided thanks to the CRUE-CSIC agreement with Springer Nature. Guillermo de Bernardo, Miguel R. Penabad and Nieves R. Brisaboa are partially funded by GAIN/Xunta de Galicia [ED431C 2025/34]; by MCIN/AEI/10.13039/501100011033 and EU/ERDF A way of making Europe [PID2021-122554OB-C33 (OASSIS)]; by MCIN/AEI/10.13039/501100011033 and “NextGenerationEU”/PRTR [PID2024-155657OB-C22 (AGRARD)]; by GAIN and MRR funds. PRTR, (C17.I1). Complementary Plans Biotechnology applied to Health; by European Union through the Interreg Spain-Portugal / POCTEP [0079_ATEMPO_6_E, 0064_GRESINT_1_E]; and by Spain’s INE (National Statistics Intitute). CITIC, as a center accredited for excellence within the Galician University System and a member of the CIGUS Network, receives subsidies from the Department of Education, Science, Universities, and Vocational Training of the Xunta de Galicia. Additionally, it is co-financed by the EU through the FEDER Galicia 2021-27 operational program (Ref. ED431G 2023/01). The work by Antonio Corral and Michael Vassilakopoulos was funded by MCIN/AEI/10.13039/501100011033 and “ERDF A way of making Europe” grant PID2021-124124OB-I00. | |
| dc.description.sponsorship | Xunta de Galicia; ED431C 2025/34 | |
| dc.description.sponsorship | Xunta de Galicia; ED431G 2023/01 | |
| dc.description.sponsorship | Interreg España-Portugal; 0079_ATEMPO_6_E | |
| dc.description.sponsorship | Interreg España-Portugal; 0064_GRESINT_1_E | |
| dc.description.uri | https://doi.org/10.5281/zenodo.17544411 | |
| dc.identifier.citation | Bernardo, G. de, Penabad, M.R., Corral, A. et al. K Nearest neighbor join algorithms for spatial data using compact and plain data structures in main memory. Geoinformatica 30, 33 (2026). https://doi.org/10.1007/s10707-026-00591-1 | |
| dc.identifier.doi | 10.1007/s10707-026-00591-1 | |
| dc.identifier.issn | 1573-7624 | |
| dc.identifier.uri | https://hdl.handle.net/2183/49709 | |
| dc.language.iso | eng | |
| dc.publisher | Springer Nature | |
| dc.relation.isbasedon | Data sets | |
| dc.relation.projectID | info:eu-repo/grantAgreement/AEI/Plan Estatal de Investigación Científica y Técnica y de Innovación 2021-2023/PID2021-122554OB-C33/ES/OASSIS-UDC: HACIA ORGANIZACIONES SOFTWARE MAS SOSTENIBLES: UN ENFOQUE HOLISTICO PARA PROMOVER LA SOSTENIBILIDAD ECONOMICA, HUMANA Y MEDIOAMBIENTAL | |
| dc.relation.projectID | info:eu-repo/grantAgreement/AEI/Plan Estatal de Investigación Científica y Técnica y de Innovación 2024-2027/PID2024-155657OB-C22/ES/DESARROLLO DE ALMACENAMIENTO COMPACTO PARA PLATAFORMAS DE DATOS GEOESPACIALES LISTOS PARA EL ANALISIS | |
| dc.relation.projectID | info:eu-repo/grantAgreement/AEI/Plan Estatal de Investigación Científica y Técnica y de Innovación 2021-2023/PID2021-124124OB-I00/ES/UN MARCO FORMAL BASADO EN LA WEB DE LAS COSAS Y COMPUTACION EDGE PARA LA DEFINICION, EL DESCUBRIMIENTO Y EL PROCESAMIENTO DE DATOS DE COMPONENTES CIBERFISICOS | |
| dc.relation.uri | https://doi.org/10.1007/s10707-026-00591-1 | |
| dc.rights | Attribution 4.0 International | en |
| dc.rights.accessRights | open access | |
| dc.rights.uri | http://creativecommons.org/licenses/by/4.0/ | |
| dc.subject | K nearest neighbors join query | |
| dc.subject | k2-tree | |
| dc.subject | Plane-sweep | |
| dc.subject | Spatial query evaluation | |
| dc.title | K Nearest Neighbor Join Algorithms for Spatial Data Using Compact and Plain Data Structures in Main Memory | |
| dc.type | journal article | |
| dc.type.hasVersion | VoR | |
| dspace.entity.type | Publication | |
| relation.isAuthorOfPublication | 23354397-ec74-4cbb-93ac-f85352e9fbd8 | |
| relation.isAuthorOfPublication | a30cb84d-2ead-45c1-822a-e1b0741abd78 | |
| relation.isAuthorOfPublication | 42f2c226-9868-4516-8efd-2cd3c6692034 | |
| relation.isAuthorOfPublication.latestForDiscovery | 23354397-ec74-4cbb-93ac-f85352e9fbd8 |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- Bernardo_Guillermode_2026_K_Nearest_Neighbor_Join_Algorithms.pdf
- Size:
- 4.45 MB
- Format:
- Adobe Portable Document Format

