ST_ChunkHeight

更新时间:
复制 MD 格式

Returns the tile height of a raster object, measured in pixels.

Syntax

integer ST_ChunkHeight(raster raster_obj)

Parameters

ParameterDescription
raster_objThe name of the raster object.

Examples

Query the tile height for each raster in a table:

select ST_ChunkHeight(rast)
from raster_table;

Expected output:

 st_chunkheight
----------
      256

See also

ST_ChunkWidth