线性化/去线性化,Z-Order,希尔伯特和莫顿曲线
维护者: rustyconover
安装和加载
INSTALL lindel FROM community;
LOAD lindel;
关于 lindel
有关更多使用信息,请参阅文档。
新增函数
函数名 | 函数类型 | 描述 | 注释 | 示例 |
---|---|---|---|---|
hilbert_encode | 标量 | 使用希尔伯特空间填充曲线编码值数组 | NULL | [select hilbert_encode([43, 3]::integer[2]);] |
hilbert_decode | 标量 | 解码希尔伯特编码的值集 | NULL | [select hilbert_decode(7::uint16, 2, false, true) as values;] |
morton_encode | 标量 | 使用莫顿编码编码值数组 | NULL | [select morton_encode([43, 3]::integer[2]);] |
morton_decode | 标量 | 使用莫顿编码解码值数组 | NULL | [select morton_decode(7::uint16, 2, false, true) as values;] |