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.
LU Yagang, QIU Zhi, YOU Xianxiang, ZHANG Hongmei, CHEN Li
. Design and Implementation of Rich WebGIS Application Framework Based on SilverLight and REST Services[J]. Journal of Geo-information Science, 2012
, 14(2)
: 192
-198
.
DOI: 10.3724/SP.J.1047.2012.00192
[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.