ST_GridFromBinary

更新时间:
复制 MD 格式

Converts a grid from its binary representation to a GeomGrid value.

Syntax

geomgrid ST_GridFromBinary(bytea binary)

Parameters

ParameterTypeDescription
binarybyteaThe binary representation of the grid to convert.

Examples

SELECT ST_AsText(
  ST_GridFromBinary('\x01010c0f74271236'));

Output:

    st_astext
------------------
 G001310322230230