一种基于OGC规范的SQL解析算法设计  被引量:1

An Algorithm Design of SQL Analytical Based on OGC Specifications

在线阅读下载全文

作  者:王晓辉[1] 解建仓[1] 李建勋[2] 孔珂[1] 王少波[1] 

机构地区:[1]西安理工大学水电学院,西安710048 [2]西安交通大学软件学院,西安710048

出  处:《计算机工程与应用》2005年第26期193-196,共4页Computer Engineering and Applications

基  金:国家863高技术研究开发计划项目(编号:2002AA113150)

摘  要:为了能够在网络环境下使用WFS的属性查找地理实体功能,该文在介绍OGC相关规范的基础上,提出了一种SQL解析算法,该算法依据SQL逻辑规则,利用权值作为SQL子句的优先级,经过容错分析、语法分析、词法分析、SQL解析和生成XML5个步骤,实现了将SQL查询转换为符合Filter规范的xml的功能,从而简化了WFS的实体查询操作。该算法经过验证可知能够很好地实现SQL解析功能,这为采用WFS服务器的WebGIS开发提供了便利。A sort of SQL analytical algorithm is offered in the article based on specification about OGC,which can search geographic entity function under web environment using WFS attribute.According to the rule of logic of SQL,the algorithm realizes the function of converting SQL to XML that fit in with filter specification.Using weight as priority of SQL clause,anglicizing fault toleration,grammar,accidence,SQL analyzing and creating 5 steps,then simplifies entity searching manipulation of WFS.The algorithm is confirmed to realize the analytical function of SQL well,and also pro vides much convenience for WebGIS development that uses WFS server.

关 键 词:开放GIS联盟 网络实体服务 FILTER 结构化查询语言 算法 

分 类 号:TP301.6[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象