摘要
提出一种电子地图在客户端按空间范围定制显示的方法。该方法首先对矢量数据按最小空间单元分割并赋予空间单元的代码值,客户端在进行地图渲染时,在渲染样式中添加数据过滤器,过滤器按显示范围设置空间单元编码,即可实现一套电子地图支持按多种空间范围显示的效果。以安康市矢量瓦片综合电子地图为实验数据,对该方法进行了验证,能够正确实现一套电子地图按多级、多种空间范围(如市、县/区、乡/镇)定制显示,该方法流程简单,不增加额外服务端实时运算时间。
We proposed a customized display method of electronic map in the client according to spatial range.Firstly,we divided the vector data by the minimum space unit and gave the code value of space unit.When the client performs map rendering,we added the data filter in the render-ing style,and thefilter set the space unit code according to the display range,so that a set of electronic maps can be displayed according to a vari-ety of space ranges.We verified this method by studyingexperimental data fromcomprehensive electronic map service of vector tiles in Ankang City.The results show that the method can correctly realize the customized display of a set of electronic maps according to the multi-level and varied spatial range(such as city,county/district,township/town),which is simply accessible and does not increase the real-time operation time of the additional server.
作者
王文杰
申传庆
张哲
王丽惠
WANG Wenjie;SHEN Chuanqing;ZHANG Zhe;WANG Lihui(Shaanxi Geomatics Center,Ministry of Natural Resources,Xi’an 710054,China;The First Topographic Surveying Brigade,Ministry of Natural Resources,Xi’an 710054,China)
出处
《地理空间信息》
2023年第12期125-127,共3页
Geospatial Information
基金
国家自然科学基金资助项目(41971352)。
关键词
地图服务
范围控制
定制显示
矢量瓦片
map service
range control
customized display
vector tile