地理信息系统平台开发

基于SilverLight和REST的富网络地理信息系统框架设计

展开
  • 1. 北京林业大学林学院, 北京 100083;
    2. 国家林业局调查规划设计院, 北京 100714;
    3. 杭州市园林文物局钱江管理处, 杭州 310008
陆亚刚(1986-),男,硕士研究生,研究方向:富网络地理信息系统的开发与应用。E-mail:lightgis@gmail.com

收稿日期: 2012-04-24

  修回日期: 2012-04-24

  网络出版日期: 2012-04-24

基金资助

北京林业大学自主项目"数字鹫峰教学实验林场信息管理系统的研制"。

Design and Implementation of Rich WebGIS Application Framework Based on SilverLight and REST Services

Expand
  • 1. Forestry College, Beijing Forestry University, Beijing 100083, China;
    2. Academy of Forest Inventory and Planning, SFA, Beijing 100714, China;
    3. Management Department of Qianjiang, The Landscape Area of the West Lake of Hangzhou, Hangzhou 310008, China

Received date: 2012-04-24

  Revised date: 2012-04-24

  Online published: 2012-04-24

摘要

在WebGIS的快速发展过程中,其架构方法和实现技术的研究一直是人们关注的热点。本文针对传统WebGIS开发复杂度高、交互体验性贫乏、运行效率低等不足,在对RIA/SilverLight和REST技术的研究基础上,以整体结构模块化,开发行为统一化,代码可复用及经验可复用的指导思路下,提出由空间数据服务器(数据访问层DAL)、GIS服务和Web服务服务器(业务逻辑层BLL)及部署有SilverLight插件的浏览器(表现层UI)组成的3层架构式富网络地理信息系统,并阐述了数据层中空间属性数据库的设计和建立步骤以及优化经验,分析了业务逻辑层的构成和运行机制,为提高系统开发效率使用MVVM(Model-View-View Model,模型-视图-视图模型)设计模式,将表现层分为前端用户界面和后台逻辑两部分,并描述了用户熟悉的Office Ribbon设计样式的开发方法,说明了后台逻辑架构组件各自功能及通讯路径。最后,为验证此框架能够有效提高系统开发效率、丰富用户体验和改善系统运行性能表现等优势,利用SilverLight(C#)实现了应用实例——LightGIS。系统开发和运行实验表明,该框架能够很好地达成以下目的:(1)实现优美的用户操作界面和丰富的互操作性体验;(2)提供平滑、流畅的地图服务和高响应性空间分析;(3)具备优秀的系统可扩展潜力和可配置性。

本文引用格式

陆亚刚, 邱知, 游先祥, 张红梅, 陈丽 . 基于SilverLight和REST的富网络地理信息系统框架设计[J]. 地球信息科学学报, 2012 , 14(2) : 192 -198 . DOI: 10.3724/SP.J.1047.2012.00192

Abstract

The architecture and implementation technique of WebGIS are always the focus of scholars in its rapid developing process. Aiming at disadvantages of high complexity,poor interactive experience,and low response efficiency in "traditional" WebGIS application,this paper proposes a rich WebGIS application framework based on RIA/SilverLight and REST technologies which was divided into data access layer(DAL),business logic layer(BLL) and user interface layer(UI). Silverlight is an application framework for creating and delivering rich internet applications (RIA) and media experiences on the Web,which combining with the representational state transfer (REST) software architecture style can significantly remedy these shortages of "traditional" WebGIS application mentioned above. Firstly,in this paper the detailed description on designing and building steps of spatial databases were given,and the optimization experiences on spatial database were shared. Then the composition of business logic layer and its operating mechanism had been analyzed. To improve the efficiency of the user interface layer,the Model-View-ViewModel (MVVM) architectural pattern had been adopted. And to follow the user's habit,the office ribbon style had been used visually. The code-behind was programmed with.NET C#,and according to different function types,it was designed into event center component,configuration management component,UI interactive component,map container component,control management component,auxiliary function component,and the event center component is the communication hub. Finally,based on this framework,a rich WebGIS application which named LightGIS had been developed. It showed that the applied framework can effectively improve the efficiency,enrich user’s experience and enhance the system capability.

参考文献

[1] 张健挺. 网络地理信息系统的若干问题探讨[J]. 遥感信息,1997(3): 8-11.
[2] 宋关福,钟耳顺,王尔琪. WebGIS——基于Internet的地理信息系统[J]. 中国图象图形学报,1998(3): 251-254.
[3] 孟令奎. 网络地理信息系统原理与技术[M]. 北京: 科学出版社,2010,25-25.
[4] 刘仁义,刘南. Web GIS原理及其应用——主要Web GIS平台开发实例[M]. 北京: 科学出版,2002,20-25.
[5] 刘荣高,庄大方,刘纪远. Web环境下实现空间数据表达的框架研究[J]. 测绘学报,2001(3): 276-280.
[6] 张宏,丰江帆,闾国年,等. 基于RIA技术的WebGIS研究[J]. 地球信息科学,2007,9(2): 37-42.
[7] 钱继来. 基于REST与RIA的Web应用研究与实现. 武汉:武汉理工大学,2011.
[8] 熊云龙. 基于Silverlight的RIA研究及应用. 重庆大学,2008.
[9] Rich Internet application. http://en.wikipedia.org/wiki/Rich_Internet_application.
[10] 程国雄,胡世清. 基于Silverlight的RIA系统架构与设计模式研究[J]. 计算机工程与设计,2010(8): 1706-1709.
[11] 王天宝,王尔琪,卢浩,等. 基于Silverlight的WebGIS客户端技术与应用试验[J]. 地球信息科学学报,2010,12(1): 69-74.
[12] 吴磊,李玮.SilverLight寻光之旅[M].北京:电子工业出版社,2012,266-273.
[13] 李久刚,唐新明,汪汇兵,等. REST架构的WebGIS技术研究与实现[J]. 测绘科学,2011(3): 85-87.
[14] 基于REST架构的Web Service设计. http://lightgis.com/2011/rest-based-architecture-of-web-service-design.html.
[15] Richardson L. Restful Web Services[M]. Sebastopol,California: O’Reilly Media,2007,1-21.
[16] Liu Y,Liu X F,Mao J H. Research on the integration of silverlight and webGIS based on REST. Ningbo,China: 2010IEEE Nanjing Section GRSS Chapter; Southwest Petroleum University of China; College of Computer and Information of Hohai University.
[17] 马妮,李维功. ArcSDE for Oracle优化实践[J]. 测绘通报,2007(10): 50-53.
[18] Yang Y,Shao L,Zhu Y,et al. A study on Erhai Lake environment information service base on ArcGIS and Flex. 19th International Conference on Geoinformatics,Shanghai,China,2011.
[19] 高晓蓉,徐丹,雷瑛. 基于Flex和REST服务的WebGIS系统开发——以陇西县地理空间信息应用系统为例[J]. 遥感技术与应用,2011(1): 123-128.
文章导航

/