Next Article in Journal
Exploring the Relationship between Remotely-Sensed Spectral Variables and Attributes of Tropical Forest Vegetation under the Influence of Local Forest Institutions
Previous Article in Journal
Proximity-Based Asynchronous Messaging Platform for Location-Based Internet of Things Service
Article Menu

Export Article

Open AccessArticle
ISPRS Int. J. Geo-Inf. 2016, 5(7), 119;

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

State Key Laboratory of LIESMARS, Wuhan University, Wuhan 430079, China
Collaborative Innovation Center of Geospatial Technology, Wuhan University, Wuhan 430079, China
Author to whom correspondence should be addressed.
Academic Editor: Wolfgang Kainz
Received: 12 May 2016 / Revised: 5 July 2016 / Accepted: 11 July 2016 / Published: 14 July 2016
View Full-Text   |   Download PDF [4660 KB, uploaded 14 July 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. View Full-Text
Keywords: NoSQL; MongoDB; 2dsphere; planar spatial data; flattened R-tree NoSQL; MongoDB; 2dsphere; planar spatial data; flattened R-tree

Figure 1

This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. (CC BY 4.0).

Share & Cite This Article

MDPI and ACS Style

Xiang, L.; Huang, J.; Shao, X.; Wang, D. A MongoDB-Based Management of Planar Spatial Data with a Flattened R-Tree. ISPRS Int. J. Geo-Inf. 2016, 5, 119.

Show more citation formats Show less citations formats

Note that from the first issue of 2016, MDPI journals use article numbers instead of page numbers. See further details here.

Related Articles

Article Metrics

Article Access Statistics



[Return to top]
ISPRS Int. J. Geo-Inf. EISSN 2220-9964 Published by MDPI AG, Basel, Switzerland RSS E-Mail Table of Contents Alert
Back to Top