All Products
Search
Document Center

PolarDB:ST_ChunkHeight

Last Updated:Mar 28, 2026

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

Syntax

integer ST_ChunkHeight(raster raster_obj)

Parameters

ParameterDescription
raster_objThe raster object.

Description

ST_ChunkHeight returns the height of each tile in pixels.

Examples

SELECT ST_ChunkHeight(rast)
FROM raster_table;

Expected output:

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

What's next