ST_GridRing

更新时间:2024-01-04 08:37:56

指定网格距离k,返回与中心点距离等于k的所有格网。

语法

setof h3grid ST_GridRing(h3grid start, integer k);

参数

参数名称

描述

参数名称

描述

origin

中心格网h3grid。

k

距离中心点网格距离。

示例

SELECT ST_GridRing(st_h3fromlatlng(25.1,123.1),5);

 st_griddisk
------------------------
 01010060170363C5BAF408
 01010066170363C5BAF408
 01010062170363C5BAF408
 01010063170363C5BAF408
 01010061170363C5BAF408
 ....
(31 rows)
  • 本页导读 (1)
  • 语法
  • 参数
  • 示例
AI助理

点击开启售前

在线咨询服务

你好,我是AI助理

可以解答问题、推荐解决方案等