Current Issue Cover
一种基于空间层交分解的Hilbert码生成算法

陆锋1, 周成虎1(中国科学院资源与环境信息系统国家重点实验室,北京 100101)

摘 要
基于Hilbert空间填充曲线的Hilbert空间排列码是一种优秀的线性映射方法,故在空间查询与索引中得到广泛应用,传统的Hilbert排列码算法是基于Morton码上的二进制位操作,复杂度为O(n^2),在Hilbert空间填充曲线的空间层次发分解特征的基础上,提出了一种新的Hilbert排列码生成算法,即通过栅格空间层交分解与构造区域状态转移向量,以递归的方式来生成Hilbert码,其复杂度为O(n),较之传统算法显著地提高了效率,在此基础上,结果点特征空间区域查询方法,又进一步阐述了以Hilbert空间排玛码作为地址码的二叉平衡排序树空间索引方法的应用特点,并结合实例进行了讨论。
关键词
An Algorithm for Hilbert Ordering Code Based on Spatial HierarchicalDecomposition

()

Abstract
Hilbert spatial ordering based on Hilbert Peano curves is an excellent linear mapping method, and gets wide applications in spatial querying and spatial indexing. The traditional algorithm for Hilbert ordering code is based on binary bit manipulation on Morton code. It has a complexity of O(n 2 ). In this paper, the author set forward a new generating algorithm for Hilbert ordering code, which is implemented by raster space recursive decomposition and regional phase shifting vector, and has a complexity as O(n) .Experiments have valideted the efficiency of the new algorithm. The algorithm has been applied in a feature based non planar data model for urban traffic networks to generate the address code so as to facilitate the point feature dynamic indexing based on balanced binary ordering tree and the linear feature indexing based on vertex retrospection. The address codes for querying area boundary cells can be used to separate the area into several sub areas to decrease excessive searching. Spatial ordering based on Hilbert code facilitates spatial clustering of the spatial objects and speeds up data extraction. Spatial indexing with Hilbert code is more efficient than sequential indexing when a great number of spatial objects are procesed. It is distinct for spatial extent and proximity querying.
Keywords

订阅号|日报