期刊论文详细信息
International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences
K-NEAREST NEIGHBOUR QUERY PERFORMANCE ANALYSES ON A LARGE SCALE TAXI DATASET: POSTGRESQL VS. MONGODB
Coşkun, İ. B.^11  Sertok, S.^22 
[1] Dept. of Geomatics Engineering, Hacettepe University, Turkey^1;Dept. of Statistics, Hacettepe University, Turkey^2
关键词: spatial query;    kNN;    database;    GIS;    open-source;   
DOI  :  10.5194/isprs-archives-XLII-2-W13-1531-2019
学科分类:地球科学(综合)
来源: Copernicus Publications
PDF
【 摘 要 】

The increasing volume of transport network data necessitates the use of a DataBase Management System (DBMS) to store, query and analyse data. There are two main types of DBMS: relational and non-relational. Many different DBMS are available on the market but only some of them could handle spatial data. Therefore, determining which DBMS to use for operational purposes is of interest to researchers and analysts working in spatial information science. One of the commonly used spatial queries in GIS is the k-Nearest Neighbour (kNN) of a given point. This paper analyses the performance of the kNN query in PostgreSQL and MongoDB, both being a representative of relational and NoSQL DBMS respectively. Two different metrics have been investigated to determine the performance: i) spatial accuracy and ii) run time. Haversine and Vincenty formulas are used to calculate the distance between the point and the determined neighbours, which are then used to determine the spatial accuracy of the DBMS. Sensitivity analysis have been carried out by varying the k value and the execution times are recorded. The experiments are carried out on New York City’s openly available taxi dataset consisting of millions of taxi pickup and dropoff points. The results indicate that MongoDB outperforms Postgres both in terms of execution time and spatial accuracy regardless the value of k. In order to facilitate reproducibility of the results, the developed software is shared on GitHub.

【 授权许可】

CC BY   

【 预 览 】
附件列表
Files Size Format View
RO201911041625811ZK.pdf 1747KB PDF download
  文献评价指标  
  下载次数:38次 浏览次数:30次