Converts a grid from its binary representation to a GeomGrid value.
Syntax
geomgrid ST_GridFromBinary(bytea binary)Parameters
| Parameter | Type | Description |
|---|---|---|
| binary | bytea | The binary representation of the grid to convert. |
Examples
SELECT ST_AsText(
ST_GridFromBinary('\x01010c0f74271236'));Output:
st_astext
------------------
G001310322230230