首页 >> 科学研究 >> 科研成果 >> 正文

A MongoDB-Based Management of Planar Spatial Data with a Flattened R-Tree

2016-11-30
  • 阅读:

作者: Xiang, LG (Xiang, Longgang); Huang, JT (Huang, Juntao); Shao, XT (Shao, Xiaotian); Wang, DH (Wang, Dehao)

来源出版物: ISPRS INTERNATIONAL JOURNAL OF GEO-INFORMATION 卷: 5 期: 7 文献号: 119 DOI: 10.3390/ijgi5070119 出版年: JUL 2016

摘要: This paper addresses how to manage planar spatial data using MongoDB, a popular NoSQL database characterized as a document-oriented, rich query language and high availability. The core idea is to flatten a hierarchical R-tree structure into a tabular MongoDB collection, during which R-tree nodes are represented as collection documents and R-tree pointers are expressed as document identifiers. By following this strategy, a storage schema to support R-tree-based create, read, update, and delete (CRUD) operations is designed and a module to manage planar spatial data by consuming and maintaining flattened R-tree structure is developed. The R-tree module is then seamlessly integrated into MongoDB, so that users could manipulate planar spatial data with existing command interfaces oriented to geodetic spatial data. The experimental evaluation, using real-world datasets with diverse coverage, types, and sizes, shows that planar spatial data can be effectively managed by MongoDB with our flattened R-tree and, therefore, the application extent of MongoDB will be greatly enlarged. Our work resulted in a MongoDB branch with R-tree support, which has been released on GitHub for open access.