测绘通报 ›› 2018, Vol. 0 ›› Issue (3): 139-142.doi: 10.13474/j.cnki.11-2246.2018.0093

• 行业观察 • 上一篇    下一篇

利用GDAL实现导航道路的外扩线生成

巩岩   

  1. 测绘出版社, 北京 100045
  • 收稿日期:2017-12-22 出版日期:2018-03-25 发布日期:2018-04-03
  • 作者简介:巩岩(1985-),女,硕士,编辑,主要研究方向为地理信息数据处理。E-mail:gongy1985@163.com

Realization of Navigation Road Expanding Based on GDAL API

GONG Yan   

  1. Surveying and Mapping Press, Beijing 100045, China
  • Received:2017-12-22 Online:2018-03-25 Published:2018-04-03

摘要:

首先概要介绍了目前较为流行的读取地理信息数据的开源库GDAL的基础知识,分析了使用GDAL进行导航数据处理的优势。然后,通过对目前导航地图数据处理需求的分析,探讨了如何利用开源库GDAL实现对导航数据的处理。特别针对导航道路外扩线生成的需求,本文分析了其数学原理,提出了利用几何法和缓冲区法两种方法实现导航道路外扩线的生成。经过试验发现,几何法在运算速度上和接边效果上要优于缓冲区法,而缓冲区法对一条很长道路的拟合效果要优于几何法。

关键词: 导航地图, GDAL, OGR

Abstract:

This paper firstly introduces the basic knowledge of the popular open source library (GDAL),which reads the geographic information data,and analyzes the advantages of using GDAL to process navigation data.Through the analysis of the navigation data processing needs,this paper explains how to use GDAL in navigation data processing.Finally,this paper uses geometric method and buffering method to generate the outer line of a navigation road.The experiments show that the geometric method is superior to the buffer method in terms of computation speed and edge effect,while the buffer method has a better fitting effect on a long road than the geometric method.

Key words: navigation map, GDAL, OGR

中图分类号: