ST_RastFromHexWKB — Return a raster value from a Hex representation of Well-Known Binary (WKB) raster.
raster ST_RastFromHexWKB(
text wkb)
;
Given a Well-Known Binary (WKB) raster in Hex representation, return a raster.
Availability: 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
ST_MetaData, ST_RastFromWKB, ST_AsBinary/ST_AsWKB, ST_AsHexWKB