K Nearest Neighbor Join Algorithms for Spatial Data Using Compact and Plain Data Structures in Main Memory

UDC.coleccionInvestigación
UDC.departamentoCiencias da Computación e Tecnoloxías da Información
UDC.grupoInvLaboratorio de Bases de Datos (LBD)
UDC.institutoCentroCITIC - Centro de Investigación de Tecnoloxías da Información e da Comunicación
UDC.issue33
UDC.journalTitleGeoInformatica
UDC.volume30
dc.contributor.authorBernardo, Guillermo de
dc.contributor.authorRodríguez Penabad, Miguel
dc.contributor.authorCorral, Antonio
dc.contributor.authorVassilakopoulos, Michael
dc.contributor.authorBrisaboa, Nieves R.
dc.date.accessioned2026-10-14T08:48:54Z
dc.date.available2026-10-14T08:48:54Z
dc.date.issued2026
dc.descriptionFinanciado 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.sponsorshipOpen 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.sponsorshipXunta de Galicia; ED431C 2025/34
dc.description.sponsorshipXunta de Galicia; ED431G 2023/01
dc.description.sponsorshipInterreg España-Portugal; 0079_ATEMPO_6_E
dc.description.sponsorshipInterreg España-Portugal; 0064_GRESINT_1_E
dc.description.urihttps://doi.org/10.5281/zenodo.17544411
dc.identifier.citationBernardo, 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.doi10.1007/s10707-026-00591-1
dc.identifier.issn1573-7624
dc.identifier.urihttps://hdl.handle.net/2183/49709
dc.language.isoeng
dc.publisherSpringer Nature
dc.relation.isbasedonData sets
dc.relation.projectIDinfo: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.projectIDinfo: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.projectIDinfo: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.urihttps://doi.org/10.1007/s10707-026-00591-1
dc.rightsAttribution 4.0 Internationalen
dc.rights.accessRightsopen access
dc.rights.urihttp://creativecommons.org/licenses/by/4.0/
dc.subjectK nearest neighbors join query
dc.subjectk2-tree
dc.subjectPlane-sweep
dc.subjectSpatial query evaluation
dc.titleK Nearest Neighbor Join Algorithms for Spatial Data Using Compact and Plain Data Structures in Main Memory
dc.typejournal article
dc.type.hasVersionVoR
dspace.entity.typePublication
relation.isAuthorOfPublication23354397-ec74-4cbb-93ac-f85352e9fbd8
relation.isAuthorOfPublicationa30cb84d-2ead-45c1-822a-e1b0741abd78
relation.isAuthorOfPublication42f2c226-9868-4516-8efd-2cd3c6692034
relation.isAuthorOfPublication.latestForDiscovery23354397-ec74-4cbb-93ac-f85352e9fbd8

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Bernardo_Guillermode_2026_K_Nearest_Neighbor_Join_Algorithms.pdf
Size:
4.45 MB
Format:
Adobe Portable Document Format