Acta Geodaetica et Cartographica Sinica ›› 2016, Vol. 45 ›› Issue (S1): 90-98.doi: 10.11947/j.AGCS.2016.F010

Previous Articles     Next Articles

Compact Hilbert Curve Index Algorithm Based on Gray Code

CAO Xuefeng1, WAN Gang1, ZHANG Zongpei2   

  1. 1. Institute of Geospatial Information, Information Engineering University, Zhengzhou 450052, China;
    2. Troops 95989, Beijing 100076, China
  • Received:2016-08-20 Revised:2016-10-20 Online:2016-12-31 Published:2017-03-29
  • Supported by:
    The National Natural Science Foundation of China (Nos. 41371384;41491465)

Abstract: Hilbert curve has best clustering in various kinds of space filling curves, and has been used as an important tools in discrete global grid spatial index design field. But there are lots of redundancies in the standard Hilbert curve index when the data set has large differences between dimensions. In this paper, the construction features of Hilbert curve is analyzed based on Gray code, and then the compact Hilbert curve index algorithm is put forward, in which the redundancy problem has been avoided while Hilbert curve clustering preserved. Finally, experiment results shows that the compact Hilbert curve index outperforms the standard Hilbert index, their 1 computational complexity is nearly equivalent, but the real data set test shows the coding time and storage space decrease 40%, the speedup ratio of sorting speed is nearly 4.3.

Key words: hilbert curve, gray code, spatial index, discrete global grid

CLC Number: