All Products
Search
Document Center

PolarDB:ST_ChunkWidth

Last Updated:Mar 28, 2026

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

Syntax

integer ST_ChunkWidth(raster raster_obj)

Parameters

ParameterDescription
raster_objThe raster object to query.

Description

ST_ChunkWidth returns the width of a single tile in the specified raster object. The width is expressed in pixels.

Examples

SELECT ST_ChunkWidth(rast)
FROM raster_table;

Output:

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