首页 | 本学科首页   官方微博 | 高级检索  
     

基于Google地图API的空间信息发布
引用本文:周宇林,付忠良. 基于Google地图API的空间信息发布[J]. 计算机应用, 2011, 31(5): 1450-1452. DOI: 10.3724/SP.J.1087.2011.01450
作者姓名:周宇林  付忠良
作者单位:中国科学院 成都计算机应用研究所,成都 610041
基金项目:四川省科技支撑计划项目
摘    要:传统的在线地图服务具有一定的局限性--仅支持客户浏览和查询,为了实现客户端自主录入数据,服务器端接收空间信息并发布到在线地图的目标,提出了一种构建空间信息发布系统的新技术。该技术基于B/S模式架构,通过改进Google Maps API的事件侦听器,自动获取标注处地理坐标,服务器端使用一种自定义的XML文件读取录入数据,然后利用地址解析函数解析该XML文件,将含有位置信息的数据标注到Google地图上,从而实现了本地属性数据在Web地图上的发布。基于该方法成功开发了武汉大学校园导航系统,验证了该方法的可行性。

关 键 词:Web GIS  事件侦听  XML文件解析  地址解析  Google Maps API  
收稿时间:2010-12-01
修稿时间:2011-01-18

Release of spatial information based on Google Maps API
ZHOU Yu-lin,FU Zhong-liang. Release of spatial information based on Google Maps API[J]. Journal of Computer Applications, 2011, 31(5): 1450-1452. DOI: 10.3724/SP.J.1087.2011.01450
Authors:ZHOU Yu-lin  FU Zhong-liang
Affiliation:Chengdu Institute of Computer Application, Chinese Academy of Sciences, Chengdu Sichuan 610041, China
Abstract:Traditional online mapping service has certain deficiency, which only supports customers to browse and query. In order to achieve the target that client could independently input data, and the server automatically receives spatial information and releases online map, a new method for the construction of spatial information distribution system was proposed is this paper. Based on B/S architecture, this method could get the geographical coordinates automatically by improving the Google Maps API event listener; meanwhile, a self-defined XML file was used to read this kind of record on the server. Then the address resolution functions were used to analyze this kind of XML file and draw the markers on the Google map according to the locations. Through this process the goal of publishing the local data to the Web map was achieved. Based on this method Wuhan University campus navigation system has been developed successfully, which demonstrates the feasibility of this solution.
Keywords:Web GIS   event listener   XML document analysis   address resolution   Google Maps API
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号