计算机应用 ›› 2014, Vol. 34 ›› Issue (7): 1852-1856.DOI: 10.11772/j.issn.1001-9081.2014.07.1852

• 先进计算 • 上一篇    下一篇

简单要素模型多边形拓扑检查并行算法

任沂斌1,2,陈振杰1,2,李飞雪1,2,周琛1,2,杨云丽1,2   

  1. 1. 江苏省地理信息技术重点实验室(南京大学),南京 210023
    2. 南京大学 地理与海洋科学学院, 南京 210023;
  • 收稿日期:2013-12-26 修回日期:2014-02-18 出版日期:2014-07-01 发布日期:2014-08-01
  • 通讯作者: 陈振杰
  • 作者简介:任沂斌(1990-),男,山东青岛人,硕士研究生,主要研究方向:地理信息系统、高性能地理计算;陈振杰(1974-),男,陕西宝鸡人,副教授,博士,主要研究方向:GIS算法、高性能地理计算;李飞雪(1983-),女,黑龙江齐齐哈尔人,副教授,博士,主要研究方向:城市增长建模;周琛(1990-),男,江苏宿迁人,硕士研究生,主要研究方向:高性能地理计算;杨云丽(1989-),女,江苏淮安人,硕士研究生,主要研究方向:高性能地理计算。
  • 基金资助:

    国家863计划项目

Parallel algorithm of polygon topology validation for simple feature model

REN Yibin1,2,CHEN Zhenjie1,2,LI Feixue1,2,ZHOU Chen1,2,YANG Liyun1,2   

  1. 1. Jiangsu Provincial Key Laboratory of Geographic Information Sciences and Technology (Nanjing University), Nanjing Jiangsu 210023,China
    2. School of Geographic and Oceanographic Sciences, Nanjing University, Nanjing Jiangsu 210023,China;
  • Received:2013-12-26 Revised:2014-02-18 Online:2014-07-01 Published:2014-08-01
  • Contact: CHEN Zhenjie

摘要:

将并行计算应用到大数据量简单要素模型多边形拓扑检查中,设计实现了简单要素模型多边形拓扑检查并行算法。算法针对拓扑检查的计算特点,改进了主从式并行策略,在主进程中进一步划分线程以实现任务并行,从而隐藏拓扑错误提取和结果写入时间。采用MPI和PThread实现进程与线程的结合。利用苏南五市土地现状调查地类图斑数据对算法进行测试。经测试,该算法能够对大数据量简单要素模型多边形进行准确、快速的拓扑检查。算法提出的进程与线程结合的任务并行策略相对于传统主从式策略加速比提高约20%。

Abstract:

Methods of parallel computation are used in validating topology of polygons stored in simple feature model. This paper designed and implemented a parallel algorithm of validating topology of polygons stored in simple feature model. The algorithm changed the master-slave strategy based on characteristics of topology validation and generated threads in master processor to implement task parallelism. Running time of computing and writing topology errors was hidden in this way. MPI and PThread were used to achieve the combination of processes and threads. The land use data of 5 cities in Jiangsu, China, was used to check the performance of this algorithm. After testing, this parallel algorithm is able to validate topology of massive polygons stored in simple feature model correctly and efficiently. Compared with master-slave strategy, the speedup of this algorithm increases by 20%.

中图分类号: