All Products
Search
Document Center

PolarDB:ST_H3FromText

Last Updated:Oct 13, 2023

This topic describes the ST_H3FromText function. This function converts a grid object of the String type into an object of the H3Grid data type.

Syntax

h3grid ST_H3FromText(text    h3code);

Parameters

Parameter

Description

h3code

The H3-encoded grid object that you want to convert. The value is a string.

Examples

select st_h3fromtext('884a126689fffff');

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