名称

ST_RastFromHexWKB — 从十六进制表示的 Well-Known Binary (WKB) 栅格返回栅格值。

概要

raster ST_RastFromHexWKB(text wkb);

描述

给定一个十六进制表示的 Well-Known Binary (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