摘要
空间信息的存储和处理问题是地理信息系统(GIS)的核心问题。对空间数据和属性数据的统一存储管理已成为必然趋势。本文通过对GIS中海量数据的存储方式进行研究,指出对象-关系型的数据库存储方式是空间数据库的发展方向。在此基础上讨论了Hibernate技术与GIS数据库的结合,使用Hibernate技术将关系数据库中空间数据和属性数据进行封装,屏蔽了数据库底层操作,使得程序员可以用面向对象的思想随意操纵数据库,在利用了关系数据库的快速检索、查询能力的同时也增强了数据的一致性和可移植性。
The storage and spatial analysis of spatial data is a key issue of geographic information system (GIS). It is concluded that the unified storage and management is a necessary trend for spatial data and attribute data in GIS. This paper researches the storage methods for huge volume of data in GIS firstly, and points out that the storage of object - relational database will be used in spatial database. Secondly, the combination of Hibernate technique and GIS database is discussed. Based on the discussion, the method which can encapsulate the spatial data and attribute data in the relational database using Hibernate technique is pro- posed. The encapsulation shields the low level operation of database and provides the programmer with the ability to manipulate the database by means of object-oriented method. The quick searching and inquire ability in relational database can be used here, and at the same time, the consistency and portability of the data can be improved respectively.
出处
《计算机与现代化》
2007年第12期77-79,共3页
Computer and Modernization
基金
广西科技攻关项目(桂科攻0428006-9)