Name

ST_RastFromHexWKB — 从熟知的二进制 (WKB) 栅格的十六进制表示形式返回栅格值。

Synopsis

raster ST_RastFromHexWKB(text wkb);

描述

给定十六进制表示形式的熟知的二进制 (WKB) 栅格,返回一个栅格。

可用性:2.5.0

示例

SELECT (ST_Metadata(
    ST_RastFromHexWKB(
        '010000000000000000000000400000000000000840000000000000E03F000000000000E03F000000000000000000000000000000000A0000000A001400'
    )
)).* AS metadata;

 upperleftx | upperlefty | width | height | scalex | scaley | skewx | skewy | srid | numbands
------------+------------+-------+--------+--------+--------+-------+-------+------+----------
        0.5 |        0.5 |    10 |     20 |      2 |      3 |     0 |     0 |   10 |        0