DOI QR코드

DOI QR Code

Spatial MongoDB를 위한 공간 연산자

Spatial Operator for Spatial MongoDB

  • 곽광진 (한국산업기술대학교 스마트팩토리융합학과) ;
  • 윤하영 (한국산업기술대학교 컴퓨터공학과) ;
  • 신동윤 (한국산업기술대학교 컴퓨터공학과) ;
  • 신동진 (한국산업기술대학교 스마트팩토리융합학과) ;
  • 박정민 (한국산업기술대학교 컴퓨터공학과) ;
  • 김정준 (한국산업기술대학교 컴퓨터공학과)
  • 투고 : 2018.09.05
  • 심사 : 2018.12.07
  • 발행 : 2018.12.31

초록

최근 인터넷과 SNS의 발전으로 미디어 데이터가 늘어나고 있으며, 사진이나 동영상은 공간 태그를 가지고 있는 경우가 많으므로 이를 분석하기 위한 많은 기술이 발전하고 있다. SNS와 같은 자유도가 높은 데이터를 처리하기 위해서 NoSQL이 각곽을 받고 있으나 대부분의 NoSQL은 공간 데이터에 대한 연산 및 질의가 미비하다. 따라서 본 논문에서는 대표적인 NoSQL 중 MongoDB를 이용하여 공간 연산자를 추가하기 위한 시스템을 설계 및 구현하였다. 본 연구를 통해 다양한 연산자를 사용할 수 있음을 확인하였으며 연산자를 이용하여 다양한 서비스를 할 수 있을 것으로 기대된다.

Recently, media data is increasing due to the development of Internet and SNS. Since photographs and videos often have geo-tags, many techniques have been developed to analyze them. In order to process various kind of such as SNS, NoSQL has been covered. However, most NoSQL does not have enough computation and query about spatial data. Therefore, in this paper, we designed and implemented a system for adding spatial operators using MongoDB among the representative NoSQL. Through this study, it is confirmed that various operators can be used and it is expected that various services can be performed using operators.

키워드

OTNBBE_2018_v18n6_237_f0001.png 이미지

그림 1. OGC Simple Feautres Specification 공간 데이터 타입 Fig. 1. OGC Simple Feautres Specification Spatial Data Type

OTNBBE_2018_v18n6_237_f0002.png 이미지

그림 2. JTS 라이브러리 관계 연산자 Fig. 2. JTS Library Relation Operator

OTNBBE_2018_v18n6_237_f0003.png 이미지

그림 3. Spatial MongoDB 아키텍처 Fig. 3. Spatial MongoDB 아키텍처

OTNBBE_2018_v18n6_237_f0004.png 이미지

그림 4. 실험데이터의 LineString Fig. 4. Line String of Experimental data

OTNBBE_2018_v18n6_237_f0005.png 이미지

그림 5. 데이터통신 모듈 Fig. 5. Data Communication Module

OTNBBE_2018_v18n6_237_f0006.png 이미지

그림 6. 질의관리 모듈 Fig. 6. Query Managing Module

OTNBBE_2018_v18n6_237_f0007.png 이미지

그림 7. 질의처리 모듈 Fig. 7. Query Processing Module

OTNBBE_2018_v18n6_237_f0008.png 이미지

그림 8. 실험 결과 Fig. 8. Experiment result

표 1. OGC Simple Feautres Specification 공간 연산자 Table 1. OGC Simple Feautres Specification Spatial Operator

OTNBBE_2018_v18n6_237_t0001.png 이미지

참고문헌

  1. Jing Han, Haihong E, Guan Le, and Jian Du, "Survey on NoSQL Database," Conf. of Pervasive computing and applications, 2011 6th international conference on IEEE, pp. 363-366, 2011. DOI: https://dx.doi.org/10.1109/icpca.2011.6106531
  2. Maximilian Walther and Michael Kaisser, "Geo-spatial Event Detection in the Twitter Stream," Conf. of European conference on information retrieval, pp. 356-367, 2013. DOI: https://doi.org/10.1007/978-3-642-36973-5_30
  3. Jae-Young Chang, "An Experimental Evaluation of Box office Revenue Prediction through Social Bigdata Analysis and Machine Learning," Journal of The Institute of Internet, Broadcasting and Communication, Vol. 17, No. 3, pp. 167-173, Jun, 2017. DOI: https://doi.org/10.7236/JIIBC.2017.17.3.167
  4. MongoDB, http://www.mongodb.com
  5. Sarthak Agarwal, K. S. Rajan, "Performance analysis of MongoDB versus PostGIS/PostGreSQL databases for line intersection and point containment spatial queries," IEEE International Conference on Cluster Computing Workshops, pp. 32-40, Sept, 2012 DOI: https://doi.org/10.1007/s41324-016-0059-1
  6. Ashish Thusoo, Joydeep Sen Sarma, Namit Jain, Zheng Shao, Prasad Chakka, Suresh Anthony, Hao Liu, Pete Wyckoff and Raghotham Murthy, "An implementation approach to store GIS spatial data on NoSQL database," Conf. of Geoinformatics International Conference on IEEE, pp. 1-5, 2014. DOI: https://doi.org/10.1109/geoinformatics.2014.6950846
  7. Longgang Xiang, Juntao Huang, Xiaotian Shao and Dehao Wang, "A MongoDB-Based Management of Planar Spatial Data with a Flattened R-Tree," Journal of International Geo-Information, Vol. 5, No . 7, pp. 119, Nov 2016. DOI: 10.3390/ijgi5070119
  8. Open GIS Consortium, "OpenGIS Simple Features Specificaion For SQL Revision 1.1," OpenGIS Project Document, May, 1999.
  9. JTS Library, http://www.vividsolutions.com
  10. National Geographic Information Institute, http://ngii.go.kr