H3 分辨率 <r>
必须介于 <minR>
和 <maxR>
之间(含两端)
参数
- h3Cell:预期与有效的 H3 单元格 ID 相对应的输入值。
- r:传递给 SQL 函数的实际分辨率值(INTEGER)。
-
minR:SQL 函数(通常)
0
上下文中可接受的最小分辨率(整数)。 -
maxR:SQL 函数(通常是)
15
上下文中可接受的最大分辨率(整数)。
说明
发出此错误的函数需要有效的 H3 解析值。 有效的 H3 分辨率值介于 0
和 15
. 某些 SQL 函数可能会根据函数的上下文进一步限制范围。
例子
-- Invoking h3_longlatash3 with a resolution that is out of the valid range.
> SELECT h3_longlatash3(40, -120, 16);
[H3_INVALID_RESOLUTION_VALUE] H3 resolution 16 must be between 0 and 15, inclusive
-- Invoking h3_toparent with a resolution that is larger than the input cell's resolution.
> SELECT h3_toparent(599686042433355775, h3_resolution(599686042433355775) + 1);
[H3_INVALID_RESOLUTION_VALUE] H3 resolution 6 must be between 0 and 5, inclusive
发出此错误类的函数
-
h3_coverash3
函数 -
h3_coverash3string
函数 -
h3_longlatash3
函数 -
h3_longlatash3string
函数 -
h3_maxchild
函数 -
h3_minchild
函数 -
h3_pointash3
函数 -
h3_pointash3string
函数 -
h3_polyfillash3
函数 -
h3_polyfillash3string
函数 -
h3_tessellateaswkb
函数 -
h3_tochildren
函数 -
h3_toparent
函数 -
h3_try_coverash3
函数 -
h3_try_coverash3string
函数 -
h3_try_tessellateaswkb
函数 -
h3_uncompact
函数