All Products
Search
Document Center

PolarDB:ST_ChunkWidth

Last Updated:Mar 28, 2026

Returns the tile width of a raster object, in pixels.

Syntax

integer ST_ChunkWidth(raster raster_obj)

Parameters

ParameterDescription
raster_objThe raster object to query.

Description

Returns the tile width of the specified raster object in pixels. Use ST_ChunkWidth together with ST_ChunkHeight to get the full tile dimensions of a raster object.

Examples

select ST_ChunkWidth(rast)
from raster_table;

Output:

 st_chunkwidth
----------
      256

See also