A GML Data Storage Method for Spatial Databases

  • Jeung Ho-young (Department of Geoinformatic Engineering, College of Engineering, Inha University) ;
  • Park Soo-hong (Department of Geoinformatic Engineering, College of Engineering, Inha University)
  • 발행 : 2004.12.01

초록

GML 데이터는 일반적인 문자, 숫자 형태의 데이터와는 다르게 공간데이터의 특징과 (준) 구조적인XML 데이터의 성격을 동시에 지니고 있어 표준 데이터베이스에서 관리되기 힘들다. XML 저장이 가능한 데이터베이스는 GML 데이터를 효율적으로 저장할 수 있지만, 공간데이터 처리 능력이 부족하고, 공간데이터베이스는 XML 데이터를 저장하기 어렵다. 본 논문에서는 GML. 데이터를 공간데이터베이스에 저장하여 기존의 문제점들을 해결하고자 한다. 이를 위하여 GML 응용스키마로부터 OGC에서 제시한 공간데이터베이스의 스키마로 변환할 수 있는 방법을 제안하고 PostgreSQL/SPE 시스템을 기반으로 프로토타입 시스템을 구현하였다. 그 결과 다양한 기하 모델과 XML문서의 구조 정보를 포함하고 있는 GML 데이터들이 제안된 기법을 통하여 공간 데이터베이스에 저장될 수 있었고 저장된 데이터의 크기는 GML 파일로 존재할 때 보다 현격하게 적은 공간을 차지하였다. 또한 저장된 데이터에 대하여 공간, 비 공간 및 혼합 질의를 수행하여 저장된 GML 데이터들이 빠르게 검색되고 복잡한 질의가 손쉽게 수행될 수 있음을 보였다.

Managing GML data in traditional database systems is not efficient since It has not only characteristics of spatial data but also features of (semi) structured n documents. XML enabled database systems can manage U data efficiently, however they cannot handle spatial data. Spatial database systems are good at spatial data handling but those are inefficient for XML data. This paper proposes a storage method of GML data for spatial database systems in order to solve the problems. The proposed method generates spatial database schemas from GML application schemas and store GML data into SDBMS through the generated schemas. A prototype of the storage method has been implemented on the Postgre SQ/SPE system to show the proposed method is appropriate for storing GML data. As a result, the implemented system was able to store various GML data which had diverse XML structures and different size. Stored data size was smaller than GML files. Furthermore, spatial, non-spatial, and mixed content queries could be performed over the stored GML data as quickly.

키워드