Current Issue Cover
空间结构化查询语言-G/SQL

方裕1, 楚放1, 陈斌1(北京大学计算机系,北京 100871)

摘 要
传统的地理信息系统对空间数据的处理是过程化的,并且不能将空间数据作为一个整体来对待。这种处理方法限制了空间数据应用的发展。空间结构化查询语言扩展了关系数据库的SQL语言,朝着结构化的空间数据统一处理迈出了重要的一步。该文讨论了空间结构化查询语言的理论,在OGIS的概念和数据模型之上,提出了一套创新的地理数据模型,采用统一的方法存储和管理空间数据库中的属性数据和几何数据。根据这个模型,实现了一种空间结构化查询语言—G/SQL。G/SQL通过研究地物关系的9-交叉模型确定面向空间数据的扩充的空间算子,为应用程序提供空间拓扑关系谓词和空间函数。应用G/SQL成功地开发了一个基于Web的地理信息应用系统WebGIS。实践表明,G/SQL提供的空间关系谓词和空间函数完备而且易于使用。还给出了G/SQL语法的BNF表示。
关键词
Spatial Structural Query Language-G/SQL

()

Abstract
Traditionally,Geographical Information Systems can only process spatial data in a procedure-oriented way,and the data can' t be treated integrally.This approach greatly limits the development of applications utilizing spatial date.A new and promising method to solve this problem is the spatial structural query language,which extends SQL and provides integrated accessing to spatial data.In this paper,the theory of spatial structural query language is discussed,and a new geographical data model based on the concepts and data model in OGIS is introduced.According to this model,a spatial structural query language—G/SQL is implemented.Through the studies of 9-Intersection Model,G/SQL provided a set of topological relational predicates and spatial functions for GIS application development.The authors have successfully developed a Web-based GIS system—WebGIS—using G/SQL.Experiences show that the spatial operators G/SQL offered are complete and easy-to-use.The BNF representation of G/SQL syntax is included in this paper.
Keywords

订阅号|日报