摘要
Mapsource作为测绘和物探工作者常用的一种软件,为野外施工、数据采集等工作提供了良好的坐标定位支持。本文通过分析Mapsource软件支持的GPX格式数据结构特点,提出了使用Python语言进行GPX文件的处理,实现批量添加航点和航线的功能,并给出了关键部分代码。弥补了原Mapsource软件的功能不足,减少手工输入带来的重复性劳动并避免人工输入各节点带来的误差,对于野外施工等活动,起到了良好的辅助作用。
Mapsource is commonly used by mapping and geophysical workers in field work and data collection.It provides a good support of coordinate location.By analyzing the data structure of GPX format,which is supported by the Mapsource software,we try to use the Python language to process the GPX file and add bunch of destinations or routes information.The key part of the source code is provided in the paper.Using this method,we could make up the insufficiency of the original Mapsource software and avoid the repetitive work and errors caused by manual input.It will played a good supporting role in field work and other field activities.
出处
《安阳工学院学报》
2010年第6期48-50,共3页
Journal of Anyang Institute of Technology