All Products
Search
Document Center

PolarDB:ST_H3FromText

Last Updated:Mar 28, 2026

Converts an H3-encoded string into an H3Grid value.

Syntax

h3grid ST_H3FromText(text h3code);

Parameters

ParameterDescription
h3codeThe H3-encoded string (H3 index) to convert.

Examples

SELECT ST_H3FromText('884a126689fffff');

Output:

     st_h3fromtext
------------------------
 010100FFFF9F6826A18408