测绘通报 ›› 2018, Vol. 0 ›› Issue (4): 125-130.doi: 10.13474/j.cnki.11-2246.2018.0125

• 技术交流 • 上一篇    下一篇

矢量瓦片支持下的在线交互可视化工具设计与实现

宋磊1, 霍亮1,2, 方敏1, 鲍鹏1, 王锐1, 王金地1   

  1. 1. 北京建筑大学测绘与城市空间信息学院, 北京 102616;
    2. 现代城市测绘国家测绘地理信息局重点实验室, 北京 102616
  • 收稿日期:2017-09-01 修回日期:2018-01-16 出版日期:2018-04-25 发布日期:2018-05-03
  • 作者简介:宋磊(1989-),男,硕士,助理工程师,主要研究方向为自主知识产权地理信息平台的研发。E-mail:songleifendou@163.com
  • 基金资助:

    国家重点研发计划(2016YFC0803108);北京建筑大学"城乡建设与管理"产学研联合研究生培养基地项目(31061017004)

Design and Implementation of Online Interactive Visualization Tool Based on Vector Tiles

SONG Lei1, HUO Liang1,2, FANG Min1, BAO Peng1, WANG Rui1, WANG Jindi1   

  1. 1. School of Geomatics and Urban Spatial Information, Beijing University of Civil Engineering and Architecture, Beijing 102616, China;
    2. Key Laboratory of Modern Urban Surveying and Mapping, National Administration of Surveying, Mapping and Geoinformation, Beijing 102616, China
  • Received:2017-09-01 Revised:2018-01-16 Online:2018-04-25 Published:2018-05-03

摘要:

针对在线地图制图过程中不仅注重成图速度,而且兼顾可视化效果的特点,本文提出了一种面向用户的网络地图在线交互可视化方法。该方法基于矢量瓦片技术,通过WFS发布GeoJSON格式矢量数据,将数据以渐进传输的方式缓存在客户端,用户在浏览器端编辑地图符号,确定地图符号与图层参数,将矢量数据转换成地图表达。基于该方法设计的在线交互可视化工具,充分利用WebGIS系统中客户端的CPU和GPU计算资源,通过脚本语言解析用户设置的样式信息,采用WebGL技术将内存中的矢量数据渲染成图并进行动态展示,降低了数据渲染对服务器的依赖,丰富了地图表达方式。

关键词: 矢量瓦片, 地图符号, 在线地图, GeoJSON, 自适应

Abstract:

The online mapping not only pays attention to the mapping speed,but also takes into account the characteristics of visualization. To address this problem, this paper proposes an user oriented online interactive visualization method for network maps.The method is based on vector tile technology,gradually transmitted GeoJSON format data to the client side by WFS,and cached in the browser.Users can edit map symbols,determine the parameters of map symbols and layers at the browser and render vector data into graphics by this tool.The interactive online visualization tool bases on this method,which makes full use of the client CPU and GPU computing resources in WebGIS system.It resolves the user's setted style information through scripting language,and renders the vector data in memory into graphics and display dynamically by WebGL technology,which reduces the dependence of data rendering on the server side,enriches the way of map expression.

Key words: vector tile, map symbol, online map, GeoJSON, self-adaption

中图分类号: