Acta Geodaetica et Cartographica Sinica ›› 2016, Vol. 45 ›› Issue (1): 119-126.doi: 10.11947/j.AGCS.2016.20140463

Previous Articles    

Parallel Algorithm of Spatial Relationship Query between Polygons Based on Heterogeneous Multi-core Architecture

XIE Chuanjie1, LONG Zhou1,2, MA Yihang1,2, YOU Zhijie1,2   

  1. 1. State Key Laboratory of Resources and Environmental Information System, Institute of Geographic Sciences and Natural Resources Research, CAS, Beijing 100101, China;
    2. University of Chinese Academy of Sciences, Beijing 100049, China
  • Received:2014-09-04 Revised:2015-05-04 Online:2016-01-20 Published:2016-01-28
  • Supported by:
    The National High-tech Research and Development Program of China (863 Program) (Nos.2011AA120302;2011AA120306;2012AA12A401);The Marine Public Welfare Project (No.201105033-6)

Abstract: The commonly used Plane Sweep algorithm in the spatial relationship query is a serial algorithm, when dealing with huge amounts of spatial data, the efficiency is very low,and the existing parallel computing method is not applicable to normal computer. Aiming at this problem, this paper proposes a parallel algorithm of spatial relationship query between polygons based on heterogeneous multi-core architecture. The algorithm uses STR-tree index to filter out non-intersection polygons first, then decomposes the filtered polygons data into points set and edges set, and constructs a quadtree index for them; under the premise of data accuracy meets the requirement of floating point calculation, uses GPU's powerful batch computing power quickly processing the intersection between edges and calculates the topology relationship between rings, then uses the topology relationship between rings to calculate the DE-9IM model between polygons; compares the DE-9IM model with spatial relationship query condition and outputs the query results. At last, the efficiency and accuracy of the algorithm is verified by experiment.

Key words: heterogeneous multi-core, parallel computing, topological relations, querying spatial relationship

CLC Number: